background image

24

W&T

Assigning the IP address

2.4

Assigning the IP using DHCP protocol

Many networks use DHCP (Dynamic Host Configuration
Protocol) or its predecessor described in the following section
for centralized and dynamic assignment of the network
parameters. DHCP protocol is activated by the factory default
settings, so that in network environments dynamic IP
assignment is sufficient for connecting the Com-Server to the
network. The following parameters can be assigned using
DHCP:

• IP address
• Subnet mask
• Gateway address
• DNS server
• Lease time

1

To prevent unintended address assignments or changes,

we recommend deactivating the DHCP, BOOTP and RARP

protocols if they are not expressly used in the respective
network environment. Com-Servers with incorrectly assigned IP
addresses can be easily found after the fact using the scan
function of the WuTility management tool and reconfigured.

2.4.1 Activating/Deactivating DHCP

The factory default setting is for DHCP protocol active. To
deactivate it or to enable it again later, use one of the following
options.

Management-Tool WuTility

Select the desired Com-Server in the device list and click on the
IP Address button. In the first dialog box enter the newly
assigned network parameters and then click on Continue. In the
following dialog BOX deactivate the options BOOTP and DHCP.

Summary of Contents for 58031

Page 1: ...Manual Com Server Highspeed Release 2 10 October 2006 Type 58631 58641 58633 58031 58034 58231 58431 58432 58331 58334 Com Server Firmware 1 52 or higher W T ...

Page 2: ...nform us of any error or misunderstanding you come about so we can identify and eliminate it as soon as possible Carry out your work on or with W T products only to the extent that they are described here and after you have completely read and understood the manual or guide We are not liable for unauthorized repairs or tampering When in doubt check first with us or with your dealer ...

Page 3: ...g 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing 10 100BaseT autosensing Serial interface 1 x Interface module RS232 RS422 RS485 1 x Interface module RS232 RS422 RS485 1 x Interface module RS232 RS422 RS485 3 x Interface module RS232 RS422 RS485 1 x Inter...

Page 4: ... 1 Com Server Highspeed Industry 32 3 2 Com Server Highspeed Isolated 58633 33 3 3 Com Server Highspeed Office 34 3 4 Com Server Highspeed 19 35 3 5 Com Server Highspeed OEM 58431 36 3 6 Com Server Highspeed compact 58231 37 4 Supply voltage 39 4 1 Com Server Highspeed Industry and Isolated 40 4 2 Com Server Highspeed Industry 58631 UL 41 4 3 Com Server Highspeed Industry PoE 42 4 4 Com Server Hig...

Page 5: ... 7 3 3 Menu SETUP System r System Password 84 7 3 4 Menu SETUP System r System Name 85 7 3 5 Menu SETUP System r Flash Update 85 7 3 6 Menu SETUP System r Factory Defaults 86 7 3 7 Menu SETUP System r Reset 86 7 4 Menu r TCP IP Mode r System Options 87 8 Configuration of the serial port 89 8 1 The serial parameters Menu UART Setup 90 8 1 1 Baud rate Data bits stop bits parity 90 8 1 2 The handshak...

Page 6: ... 11 1 4 Optional settings 123 11 1 5 Deactivating UDP mode 124 12 The Windows COM port redirector 125 12 1 Virtual COM ports 126 13 Box to Box mode 129 13 1 Box to Box mode 130 13 1 1 Configuring Box to Box mode 131 13 1 2 Optional settings 132 13 1 3 Deactivating Box to Box mode 132 14 Data transfer per FTP 135 14 1 The Com Server as FTP server 136 14 2 The Com Server as FTP client 138 14 2 1 Con...

Page 7: ... 178 20 3 Software reset of the Com Server 180 20 4 Uploading downloading configuration data 181 20 5 Inventory taking per UDP 8513 183 20 6 SNMP management 186 21 Firmware update of the Com Server 187 21 1 Where do I get the current firmware 188 21 2 Network firmware update under Windows 189 21 3 Network firmware update under UNIX 190 Appendix 193 TCP IP under Windows 9x 194 TCP IP under Windows ...

Page 8: ...W T ...

Page 9: ... Already experienced users of Com Servers will find on the two following pages a flow chart with the essential steps for start up as well as a complete overview of the configuration menu Detailed information can be found then in the following sections ...

Page 10: ...erver Windows PC with TCP IP WuTility installed yes Connect network cable Finish Network no Obtain IP address subnet mask gateway address Install WuTility with product CD Button IP address Enter IP address subnet mask gateway Start WuTility Select device in inventory list Com Server with PoE no yes ...

Page 11: ...onnect Char Dispatch String 1 Dispatch String 2 Client C Addr Response Mode Server Port Server IP URL Special Options Serial Coding Serial Protocol Dispatch String 1 Dispatch String 2 Client C Addr Disconnect Char Write C Addr Serial Protocol Serial Coding Protocol Char Server Port Server IP URL Special Options Disconnect Char Inactivity Timeout Serial 0d 0d00 Server Port 21 Server IP Special Opti...

Page 12: ...address 0 0 0 0 Gateway address 0 0 0 0 Subnet mask 255 0 0 0 DNS server 0 0 0 0 DHCP Active 1To prevent unintended address assignments or changes we recommend deactivating the DHCP BOOTP and RARP protocols if they are not expressly used in the respective network environment Serial settings Hardware connection RS232 Baud rate 9600 Data bits 8 Parity NO Stop bits 1 Handshake Hardware RTS CTS FIFO O...

Page 13: ... provide you with this If you have only a small network with no routing use the IP address of your PC and simply change the last digit The IP address must be unique within the network Assigning IP address subnet mask and gateway address using WuTility management tool Using the ARP command Assigning IP address subnet mask and gateway address through the serial port Using the RARP protocol Assigning...

Page 14: ...e even changes to parameters not matching the network are easily made Any system password which has been set must however in this case be known Downloading and installing WuTility The most current version can always be found at our Web site under the following address http www wut de From there use the menu tree on the left side to navigate Products Downloads r Com Servers r Software Tools After u...

Page 15: ...y as often as desired by clicking on the Scan button Within the inventory list you can identify the desired Com Ser ver based on its MAC address For initial installations its IP address is 0 0 0 0 Select the Com Server and click on the IP address button Enter the desired values for IP address subnet mask and gateway address in the corresponding fields and then click on the Next button ...

Page 16: ...ing the scan function of the WuTility management tool and reconfigured Clicking on the Next button assigns the network parameters to the Com Server All columns in the WuTility device list are filled with information This concludes the network side startup of the Com Server and for many applications such as use together with the COM Port Redirector no further settings are necessary Special modes or...

Page 17: ...ration 1Changing network parameters is protected by the system password To prevent improper access we recommend assigning a system password for any Com Servers in use Additional information can be found in the section Configuration Accesses for the Com Server ...

Page 18: ...ic entry into the ARP table of the computer using the following command line arp s IP address MAC address e g under Windows arp s 172 16 231 10 00 C0 3D 00 12 FF e g under SCO UNIX arp s 172 16 231 10 00 C0 3D 00 12 FF Next use the following command line under Start r Run to start a Telnet session on the configuration port of the Com Server with the desired IP address telnet 172 16 232 10 1111 Ret...

Page 19: ...es the IP address of the first network packet sent to it as its own and saves it in non volatile memory The Telnet connection will be established and the configuration menu is displayed in the Telnet window All further settings are made here see Basic configuration of the Com Server ...

Page 20: ...he Com Server to a computer For a standard PC or laptop you will need a crossed RS232 cable Null modem cable see RS232 interface The serial transmission parameters of the terminal program you use should be set to 9600 baud no parity 8 bits 1 stop bit no handshake Reset the Com Server by interrupting the power When the green status LED lights up enter the letter x at least three times on the termin...

Page 21: ...2 Deactivating DHCP BOOTP RARP The DHCP BOOTP RARP function of the Com Server can be turned off as part of assigning the IP address serially We recommend making use of this at all times except where use of DHCP BOOTP or RARP is expressly required To deactivate the DHCP BOOTP RARP client enter the option 0 zero directly appended no space to the IP address and confirm with Enter 0 DHCP BOOTP and RAR...

Page 22: ...an use either Telnet protocol or an Internet browser although only Telnet is an option in the Com Server as shipped from the factory You can activate Web Based Management as part of the serial IP assignment To do this enter w Portno directly after the IP address or address string Here Portno is the desired TCP port in decimal format Example 1 Deactivating DHCP BOOTP RARP and activating Web Based M...

Page 23: ...23 W T Assigning the IP address Subject to error and alteration 1For additional information on activating Web Based Management see section Configuration via Browser Web Based Management ...

Page 24: ...d address assignments or changes we recommend deactivating the DHCP BOOTP and RARP protocols if they are not expressly used in the respective network environment Com Servers with incorrectly assigned IP addresses can be easily found after the fact using the scan function of the WuTility management tool and reconfigured 2 4 1 Activating Deactivating DHCP The factory default setting is for DHCP prot...

Page 25: ...he menu branch SETUP System r Setup TCP IP r DHCP BOOTP Client the protocols can be alternately activated and both deactivated For detailed information refer to the section Menu SETUP System 2 4 2 System Name To support any automatic updating of the DNS system by the DHCP server the Com Server identifies itself within the DHCP protocol with its system name The factory default setting for this is C...

Page 26: ... the current IP address is no longer available after a reset After the restart therefore a corresponding update request is issued with the original DHCP server If the latter is not resolvable at this point in time the Com Server deletes the IP address and starts a new cyclical search for alternate DHCP servers If DHCP is activated the remaining lease time together with the current IP address is di...

Page 27: ...p EN 00c03d004a05 OK xxxxxx Ethernet Adresse 2 4 5 Dynamic IP addresses Fully dynamic address assignment whereby the Com Server gets a different IP address every time it is restarted or after the lease time has expired only makes sense in network environments with automatic cross connection between the DHCP and DNS services This means when a new IP address is assigned to the Com Server the DHCP se...

Page 28: ...ive network environment Com Servers with incorrectly assigned IP addresses can be easily found after the fact using the scan function of the WuTility management tool and reconfigured 2 5 1 Address reservation BOOTP protocol is based on fixed reservations of fixed IP addresses for particular Ethernet addresses This means a Com Server connected to the network only gets an IP address if the latter wa...

Page 29: ... Assigning the IP address Subject to error and alteration each reset To ensure accessibility of the Com Server even should the BOOTP server go down the previous IP address is retained should there be no reply ...

Page 30: ...c hosts 58xxx Model EN 00c03d004a05 OK xxxxxx Ethernet address The Com Server must be connected to the network in the same segment as the RARP server Example Your Com Server has the MAC address EN 00C03D0012FF sticker on the unit You want to give it IP address 172 16 231 10 and the alias name WT_1 Entry in the file etc hosts 172 16 231 10WT_1 Entry in the file etc ethers 00 C0 3D 00 12 FF WT_1 1To...

Page 31: ...31 W T Subject to error and alteration 3 Form factors Industry model Isolated model Office models 19 models OEM models Compact model ...

Page 32: ... 3 1 Com Server Highspeed Industry Front view 58631 58631 UL 58641 Serial Port Power Network Status Error Bottom side 58631 58631 UL 58641 12 24V AC DC for details see section Supply voltage Screw terminal supply voltage ...

Page 33: ...ctors Subject to error and alteration 3 2 Com Server Highspeed Isolated 58633 Frontview 58633 Power Network Status Error Serial Port A Serial Port B Serial Port C Bottom Side 58633 Supply voltage 12 24V Screwterminal ...

Page 34: ... Office 10 100 MBit 58031 W T w w w w u t d e Serial Port A Status Error Port Front view 58034 Power D C B A Status Error Port Serial Port D Serial Port C Serial Port B Serial Port A Com Server Highspeed Office 10 100 MBit 58034 W T w w w w u t d e Back view 58031 58034 Reset Network Supply voltage ...

Page 35: ... check ser data format Status LED Error LED off 1x 2x 3x OK check network check ser handshake on self test update off on blink flash standby error connection data Power Reset Port A Port B Port C Port D Serial Port A W T www wut de Com Server 5833x 10 100BaseT Serial Port B Serial Port C Serial Port D ...

Page 36: ...36 W T Form factors 3 5 Com Server Highspeed OEM 58431 95 8mm 71 1mm 17 2mm 56 23mm D 4mm 92 13mm 64 48mm 3 7mm 20 38mm D 3 5mm D 3 5mm D 3 5mm Optional serial module RS232 422 485 RS232 RS422 485 J1 J2 ...

Page 37: ... Highspeed compact 58231 Status Error Power Serial Port off 1x 2x 3x on check network check ser data format check ser handshake self test update OK on blink flash standby error connection data off W T www WuT de Status LED Error LED Com Server 58231 Frontview Backview ...

Page 38: ...38 W T Form factors ...

Page 39: ...39 W T Subject to error and alteration 4 Supply voltage Industry and isolated model PoE Power over Ethernet Office models 19 models OEM models Compact model ...

Page 40: ...and minimum values for the supply voltage AC 9Vrms 10 30Vrms 10 DC 12V 10 48V 10 If the supplied AC adapter for office applications is used the connector pins can be connected to the screw terminals The current draw of each model is indicated in the technical appendix Fuse The supply voltage for the 58631 Com Server is protected against overcurrent by an integrated fuse Since this component is a s...

Page 41: ... 12V 10 24V 10 If the AC adapter supplied is used the connector pins may be connected to the screw terminals When power is provided by a third party power supply it must meet the requirements for Limited Power Sources LPS in accordance with NEC Class 2 The current draw can be found in the technical appendix Fuse The supply voltage for the 58631 UL Com Server is protected against overcurrent by an ...

Page 42: ...r Class 1 device with a power consumption of 0 44 to 3 84W As an alternative to PoE power supply the 58641 Com Server can also be powered by an external power supply connected to the screw terminals on the underside of the housing DC voltage of any polarity as well as AC voltage may be used This polarity reversal protection results in the following maximum and minimum values for the power supply A...

Page 43: ...eed Office Models 58031 58034 The office models 58031 and 58034 include an integrated wide range power supply for an AC voltage of 100 250V 50 60Hz Mechanically the connection is made via a cold device cable The current draw of each model is indicated in the technical appendix ...

Page 44: ...edge of the board The feed voltage must be 5V 5 Pin jack 5 5mm Polarity inner GND outer 5V 58432 The supply voltage is brought in through one of the two post connectors that are used for the serial signals as well Supply voltage has to be 5V 5 X1 Pin 1 5V Pin 10 GND X4 Pin 1 GND Pin 12 5V 1 2 9 10 3 4 5 6 7 8 1 6 7 12 The current draw is indicated in the technical appendix ...

Page 45: ...r c b a 1 32 Component side of board Slots for serial ports B D C Row 1 Row 5 Jumper a Jumper b Jumper c Jumper area 5V 5V GND GND 12V Alternat supply voltage also possible through the 6 pin terminal strip RM 3 96 Example for VME Bus J2 Row 1 Row 5 Jumper a Jumper b Jumper c Use the following table to determine how jumpers a c in the corresponding row depending on which bus system is used ...

Page 46: ... GND GND GND GND B 5V 5V 5V 5V 5V C 12V 12V 12V 12V 12V Standard all three jum pers of row closed VME Bus J1 VME Bus J2 Multibus II ECB Bus BUS7ISA 1For standard operation of the Com Server only the 5V supply is needed The 12V voltage is simply brought through a fuse to Pin 11 on the module slots where it is used to supply future interface modules ...

Page 47: ...47 W T Subject to error and alteration 5 Interfaces and displays Ethernet interface Serial interfaces and options LED displays ...

Page 48: ...cc negative Vcc negative Power over Ethernet The model 58641 Com Server 58641 can obtain power as defined in IEEE802 3af Power over Ethernet Either the data pairs or the unused wire pairs in 10 100BaseT may be used see also the section Supply Voltage Auto Negotiation 10 100BaseT Full Half Duplex All Com Servers are factory set to operate in Auto Negotiation mode on the network side The data transm...

Page 49: ...s Link Status The current link status is indicated by the Error LED on the device front panel Flashing at a rate of 1 2 seconds indicates that there is no connection to the hub or that the connection is faulted 1Managable switches often have special protocols spanning tree port trunking as required for example for uplinks to other switches or broad band connection of servers These protocols are no...

Page 50: ...intended for integration into existing systems are equipped with a serial TTL interface UART interface 5 2 1 Opening the Com Server To open the Com Server plug the DB9 connector into the serial port After tightening the two mounting screws pull on the DB9 plug to remove the circuit board from the housing The office versions can be opened by removing the four upper screws on the enclosure sides In ...

Page 51: ... x SW8 ON OFF OFF OFF SW4 OFF OFF OFF OFF 1 Factory default 5 2 3 RS232 mode factory default The pin configuration of the RS232 port is identical to that of a PC which allows you to use standard cables Be sure that the Com Server port and that on the serial terminal device are configured for the identical transmission parameters and handshake procedure DIP switch setting SW5 OFF Mode RS232 SW1 OFF...

Page 52: ...xisting TCP connection to a client or server ignored Handshake output 12V ready to receive data 12V not ready to receive data Send data only at 3 12V 1 port models Not connected 4 port models Ignored 1 Applies only to the hardware handshake setting Wiring examples Com Server PC 25 pin W T Art No 1179x 1 2 3 4 5 6 7 8 20 2 3 6 7 8 5 4 DB25 female DB9 female Com Server PC 9 pin W T Art No 1199x 1 2 ...

Page 53: ...ately the galvanic isolation can be achieved by means of an external isolator e g W T RS422 485 Isolator Model 66201 DIP switch setting SW5 ON ON ON Mode RS422 RS485 4 wire bus master RS485 4 wire automatic control RS485 2 wire automatic control SW1 OFF OFF ON SW2 OFF ON ON SW3 OFF OFF OFF SW6 x x x SW7 x x x SW8 OFF OFF OFF SW4 OFF OFF OFF Pin assignment and function RS422 485 DB9 Pin 1 2 3 4 5 6...

Page 54: ...e in each direction The RS485 driver chip is automatically activated each time data is sent out and then disabled when data is finished sending The receive channel is deactivated when the driver is on and on when the driver is disabled Handshake for RS485 modes RS485 bus systems do not use flow control in the traditional sense for data integrity but rather a logical protocol The handshake procedur...

Page 55: ...CTS A CTS B RTS A RTS B 1 6 2 7 3 8 4 9 RS422 device RS485 connection 4 wire bus master Com Server RS422 485 Data Out A Data Out B Data In A Data In B Handshake Out A Handshake Out B Handshake In A Handshake In B 1 6 2 7 3 8 4 9 RxD A RxD B TxD A TxD B RS485 device RxD A RxD B TxD A TxD B RS485 device RS485 connection 2 wire Com Server RS422 485 Data Out A Data Out B Data In A Data In B Handshake ...

Page 56: ...model 58432 credit card format differ from those described here For this model please consult the belonging special section Pin assignment and function TTL interface 58431 Pin 1 2 3 4 5 6 7 8 9 10 11 12 Signal 5V NC RxD TxD Reset 1 CTS DTR DSR RTS NC NC GND Function Vcc Data in Data out Reset in output Input Output Input Output Signal ground 1 The open collector feature of the reset pin allows fun...

Page 57: ...57 W T Interfaces and displays Subject to error and alteration purposes Applying a GND level for at least 100ms using a button for example forces a restart of the Com Server ...

Page 58: ...nt required by the respective 20mA loop while in the pas sive mode the loop current must be supplied by the connected device Pin assignment and function 20mA DB9 Pin 1 2 3 4 5 6 7 8 9 Signal Data Out 20mA Data Out Data Out Data Out GND n c Data In 20mA Data In Data In Data In GND Function Current Out 20mA Output Output Current Out Ground Current In 20mA Input Input Current In Ground The operating ...

Page 59: ...r 20mA Data Out 20mA Data Out Data In Data Out GND Data In 20mA Data In Data In Data In GND 1 2 3 4 6 7 8 9 Com Server 20mA Data Out 20mA Data Out Data In Data Out GND Data In 20mA Data In Data In Data In GND 1 2 3 4 6 7 8 9 RxD RxD TxD TxD Active 20mA device RxD RxD TxD TxD Avtive passive 20mA device Com Server 20mA Data Out 20mA Data Out Data In Data Out GND Data In 20mA Data In Data In Data In ...

Page 60: ...on ON OFF 1 2 9 10 3 4 5 6 7 8 1 6 7 12 Pin assignment X1 Pin 1 2 3 4 5 6 7 8 9 10 Signal 5V 24V RxD TxD RES 1 CTS DTR DSR A RTS B GND 24V GND 5V Function RS232 TTL Supply Input Output In Output Input Output Input Output Supply Supply Function RS485 Supply RxD TxD In Output Input Output Bus A Bus B Supply Supply 1 The open collector feature of the reset pin allows function as a LOW active in and o...

Page 61: ... ship is automatically enabled each time data is sent and disabled high impedance state again when data output is finished The RS485 receiving channel is deactivated when the driver is on but is switched on when the driver is in the high impedance state RS485 mode requires that the bus system be terminated with a termination network which ensures a defined idle state in the high impedance phases o...

Page 62: ...erial interfaces 1 2 3 4 5 6 7 8 9 10 5V 24V RxD TxD RES CTS DTR DSR A RTS B GND 24V GND 5V X1 RM2 54mm Com Server UART Protective circuit Vcc internal RS485 Transceiver LB5 LB6 LB7 LB8 LB9 330 Ohm 120 Ohm 330 Ohm J4 J3 Vcc 5V 4 7 kOhm Vcc 5V Prelim inary ...

Page 63: ...and when the error occured can also be read out using the Telnet configuration tool 1 xflashing Check network connection The Com Server cannot receive a link pulse from a hub Check the cable or the hub port 2 x flashing Check serial data format The serial port received at least one character with a parity or framing error parity error framing error or the data register of the serial receiver ship ...

Page 64: ...are update and the full operating sofstware could not be transferred The Com Server is no longer capable of being operated in this condition Repeat the software update over the network see Firmware update of the Com Server and address the Com Server using its assigned IP address If this does not eliminate the error or should the error occur irrespective of any prior software update please return t...

Page 65: ...ting the hardware installation and assigning the IP address the remaining Com Server configuration takes place over the network Here either a Telnet client or after it has been activated an Internet browser can be used Telnet configuration under Windows Configuration with the Internet browser ...

Page 66: ...k access and an installed TCP IP protocol A detailed description of both configuration access types their conditions as well as the respective navigation within the menu tree can be found in the following section 1HTTP protocol and its standard port 80 are frequent targets of Web attacks In order not to impair data throughput of the applications and of the Com Server Web Based Management is theref...

Page 67: ...pecial Options Serial Coding Serial Protocol Dispatch String 1 Dispatch String 2 Client C Addr Disconnect Char Write C Addr Serial Protocol Serial Coding Protocol Char Server Port Server IP URL Special Options Disconnect Char Inactivity Timeout Serial 0d 0d00 Server Port 21 Server IP Special Options Auto FTP FTP Client Login Inactivity Timeout Connect Timeout Protocol Char Server Port Server IP UR...

Page 68: ...elnet client using the corresponding parameters Telnet IP address 1111 adress IP address of the Com Server 1111 Configuration port of the Com Server Under Windows 9x NT you only need to use Start r Run telnet Then in the submenu Network system of the Connect menu enter as the host name the IP address of the Com Server and as the connection port number 1111 If the connection could be opened and no ...

Page 69: ...e Com Server The menu items SETUP Port x are dependent of the number of serial ports on the respective Com Server For example all single port versions will only provide the SETUP Port 0 menu The description of these branches can be found in the section Configuration of the Serial Ports 6 2 1 Navigation within the Telnet menu An overview of the entire Com Server configuration menu is shown on the p...

Page 70: ...nu is opened It only becomes effective in the Com Server itself however if you have saved it using SAVE Setup As long as you do not open this menu item you can move around in the entire menu and change values without actually changing anything i If you exit the configuration menu by closing the Telnet connection without first doing a SAVE Set up the original configuration will be retained ...

Page 71: ...window of the dialog enter the desired values for IP address subnet mask and gateway and then click on the Continue button In the following window activate the WBM option and enter the desired TCP port number As a rule HTTP standard port 80 should be used If use of port 80 is not possible or desired then the deviating port number must be explicitly specified in the address line of the browser when...

Page 72: ...ion possibilities for the Com Server and navigation within the WBM can be found in the sections Serial Assignment of the IP Address Subnet Mask and Gateway and Navigation within the WBM Example 1 Here the IP address 172 17 231 99 is assigned to the Com Server and w80 is used to activate the WBM on the HTTP standard port xxx Com Server IP no ENTER Com Server 172 17 231 99 w80 Com Server 172 17 231 ...

Page 73: ...ere open the SAVE Setup item After you have quit the Telnet session you can now access the Com Server using an Internet browser 6 3 3 Starting and navigating the WBM To access the Web pages after activating the WBM start your Internet browser and enter the IP address of the Com Server and the configured port number in the address line http IP address Portnumber If the HTTP standard port 80 was con...

Page 74: ...the browser can lead to problems in accepting the set parameters You can make as many settings as desired during a configuration session Pressing the Send button in the respective pages pastes them to a clipboard Once all the settings have been made always exit the configuration session using Link Logout and the Save button there Only then are the settings you made copied into the non volatile mem...

Page 75: ...rver to save all the changes you made in its non volatile memory and quits the configuration session n Clicking on the Abort button causes the Com Server to reject all the settings you made and quits the configuration session n Clicking on the Restore Defaults button resets the Com Ser ver to its original factory setting All settings including the network parameters IP address subnet mask and gate...

Page 76: ...e or by interrupting the supply voltage When using the WuTility tool for the firmware update this mode is automatically started In this case a manual start is not necessary n Pressing the Hardware Reset button restarts the Com Ser ver comparable with interrupting the supply voltage Data from any other opened connections to the Com Server are lost in this event 1The functions located on the logout ...

Page 77: ...guration possibilities related to the Com Server operating system and which are not directly related to the serial ports The arrangement and function of the individual parameters within the menu structure are for the most part identical with Telnet and the Internet browser Menu INFO System Menu SETUP System Saving your settings ...

Page 78: ...Ser ver saves all the settings you made in its non volatile memory Once the data have been saved they are activated each time the Com Server is turned on or reset Entering anything other than y or simply pressing the ENTER key returns you to the main menu without saving the values 1Exceptions are the network parameters IP address subnet mask and gateway since these are also relevant for the runnin...

Page 79: ...n Cable type Shows the current Ethernet connection of the Com Server 10BaseT or 100BaseT n MAC address Shows the Ethernet address of the Com Server This number is factory set and registered It cannot be changed n SOFTW Date Rev Shows the creation date and version number of the operating software in flash n HARDW Rev Shows the version status of the Com Server hardware n Run Time Shows the time in h...

Page 80: ...er the subnet mask of the subnet in which the Com Server is located e g 255 255 255 0 Please note The IP address determines the network class From this is derived a default subnet mask e g 255 255 0 0 for a Class B network n Gateways Default 0 0 0 0 In this menu branch the IP address of the standard gateway or router can be configured If you have not configured fixed routes the standard gateway is...

Page 81: ...is determined by the Time To Live parameter contained in the response from the DNS server After the name has been successfully resolved this time is displayed in the menu item SETUP Port 0 r Port State r Connection State n MTU Maximum Transfer Unit default 560 This value determines the maximum size of a TCP IP packet It refers to the number of bytes excluding header that can be sent in a packet Th...

Page 82: ...ort under which the Web Based Management WBM of the Com Server is accessible from an Internet browser The factory setting is 0000 which means WBM is deactivated If for example you set a value of 80 standard HTTP port you can open the Web configuration from an Internet browser without explicitly specifying the port number It is sufficient to enter the IP address or the name of the Com Server stored...

Page 83: ...ong latency times between the Com Server and its respective communications partner would you need to increase this value 7 3 2 Menu SETUP System r Telnet Password Here you may specify an 8 character hexadecimal password valid charcters 0 9 and a f for protecting the configuration menu from unauthorized access The factory set password is 00000000 With the password you have unrestricted access to th...

Page 84: ...rd is prompted as soon as the connection is opened For all other associated TCP ports the password must be null terminated password 0x00 and sent to the Com Server no later than 2s after the TCP connection has been established Queries from SNMP managers are only responded to by the Com Server if the community corresponds to the system password For additional information on using system passwords i...

Page 85: ...stem name is also used for identification by the DHCP server 7 3 5 Menu SETUP System r Flash Update Before you activate the update mode make sure that you have quit any active network connections Then confirm with y The update mode is indicated by lighting of the Status LED on the Com Server Activate this mode when you want to perform an update of the Com Server operating software over the network...

Page 86: ... 1Resetting the non volatile memory causes loss of all the settings which deviate from the default values including the IP address 7 3 7 Menu SETUP System r Reset Select this menu item to perform a software reset on the Com Server First your Telnet connection is properly closed 1All data from any still open network connections are lost ...

Page 87: ...mber of network packets If the serial transmission takes place in predictable block sizes this value can be adjusted to optimize the network load There is also the advantage that the serial blocks are transmitted within a network packets so that they arrive at the receiver bundled Example You are using serial data blocks of 25 bytes each and transmission parameters of 9600 baud 8 data bits no pari...

Page 88: ... generate the echo Telnet Echo disabled The Com Server tells the client application when opening the connection that it will not generate an echo which results there in activation of the local echo The local echo may have to be manually activated on the Telnet client n Flush Buffer Default active If this switch is active the serial buffer is cleared each time a new connection is opened any residua...

Page 89: ...the serial port Configuring the serial transmission parameters In addition to the usual settings for baud rate data bits parity and stop bits the various handshake procedures and available special functions of the individual control signals are explained here ...

Page 90: ...t page Please note that saving the parameters deletes all data currently located in the ComServer port buffers 8 1 1 Baud rate Data bits stop bits parity The desired transmission parameters can be selected by ente ring the corresponding designation in the respective branch of the menu tree Invoking Save Setup in the master menu saves the changes you made in the non volatile memory of the Com Serve...

Page 91: ...odes SETUP Port x r UART Setup r Handshake This menu provides three standard modes for flow control of the serial port As opposed to these predefined handshake profiles you can use the Special submenu to specify the function of each control signal individually This allows you for example to use hardware controlled TCP connection control Details on the control line functions are contained in the de...

Page 92: ...re output to the connected terminal device regardless of the status of the inputs CTS and DSR Any impending overflow of the serial input buffer is not signalled by the Com Server The setting NO Handshake makes sense for any data transmission that uses a serial protocol for data integrity or flow control Function of the contorl signal RTS NO Default HIGH DTR NO Default HIGH CTS NO DSR NO n Special ...

Page 93: ...erver see Enhanced services of the Com Server to temporarily influence the level 4 NO Default LOW The outputs are not used by the Com Server and carry a constant LOW level 3 12V A network application can use the control port of the Com Server see Enhanced services of the Com Ser ver to temporarily influence the level n PIN CTS und PIN DSR The inputs CTS and DSR can be assigned the following functi...

Page 94: ...ed on the Com Server generates an XOFF when it is no longer able to receive serial data n XON XOFF Filter If XON XOFF is turned off for flow control this option can be used to separately determine for both data directions whether the Com Server filters these control characters out of the actual data 1 Send Filter Data direction r serial If this option is turned on and XON or XOFF characters occur ...

Page 95: ...ed to the network together with the actual user data This mode requires of the respective recipient in the network that it be able to separate actual data from control data The currently selected parameters are shown in the top line of the UART Setp menu As soon as a parameter is changed until the parameters are saved this display does not show the configuration with which the Com Server port is c...

Page 96: ...4 and 58633 also make it possible to set various trigger thresholds Especially when transmitting large quantities of data at high baud rates above 57 6 Kbaud it is recommended that you turn on the FIFOs in order to reduce the system load If for example when working with serial protocols you require as short a delay in data transmission as possible the FIFOs should be turned off ...

Page 97: ...97 W T Subject to error and alteration 9 The protocol stack of the Com Server Services of the Com Server Addressing in the TCP IP network The serial ports as seen from by network ...

Page 98: ...Mode FTP Server Mode TCP Client Mode UDP Client Mode TELNET Client Mode FTP Client Mode Box to Box Mode IP Bus Mode SLIP Router Serial Socket Interface r TCP Client r UDP Client r Telnet Client r FTP Client r Box to Box r IP Bus Mode r SLIP Router r Ser Socket Interface In addition to simple transmission of the data a dedicated TCP port provides functions for monitoring and configuring the serial ...

Page 99: ...o access the Com Server The individual services are factory addressed using the following port numbers RS232 RS422 485 PC User programs TCP IP Stack Com Server TCP IP Stack IP addr 172 0 0 1 ETHERNET FTP Server Client Standard tools Datagrams UDP server UDP client SOCKET API IP addr 172 0 0 9 Streams TCP server TCP client Special functions server Controlport Reset port Reset Com Server EEPROM Down...

Page 100: ...ividually in the following sections The server mode does not have to be configured separately it is activated when a client of a TCP IP station directs a connection request to the server in the Com Server The client processes in the Com Server need to be set up in the configuration menu of the Com Server port 9 3 1 Data transfer per TCP IP and UDP IP sockets Using the socket API under Windows WinS...

Page 101: ...lient server process with TCP sockets streams or UDP sockets datagrams The following comparison shows the essential features of both protocols at a glance TCP Yes Yes Yes One socket per connection to a serial port is needed Feature Data integrity using checksum Connection control using TCP IP stack Opening and closing the connection Guarantee correct packet sequence using TCP IP stack Limit number...

Page 102: ...102 W T The protocol stack of the Com Server ...

Page 103: ...integrated into your own programs Comparable to traditional telephony TCP connections always consist of an active calling side Client and a passive call answering side Server The Com Server can work both as a TCP server as well as a TCP client The following section explains the settings needed for both modes The Com Server as TCP Server Configuration of the Com Servers as TCP client Application ex...

Page 104: ...eads in all the data from the serial port in order to convey it to your client process 1When there is no connection the entry FREE must be visible in the Com Server port menu SETUP Port 0 r Port State r Connection State If a connection is active the entry In Use Port number IP address appears there 10 1 1 Configuration of the local port number To open a connection to the Com Server a client needs ...

Page 105: ...s Baud rate data bits parity and handshake procedure must conform to the connected serial device For details see section Configuration of the Serial Port Serial receive buffer The Com Server has a serial receiving buffer with 4kB capacity The Flush Buffer option specifies whether received serial data are to be sent to the client or deleted default setting after opening a TCP connection Details can...

Page 106: ...checks during the set time interval to see whether the connected network application can be reached If there is no reply for example due to a break in the network infrastructure the Com Server resets the connection internally and thus enables a new connection to be opened Details can be found in section Menu SETUP System r Setup TCP IP ...

Page 107: ...ening the connection could be serially received characters or status change of a handshake procedure The connection is closed on a time basis or when a particular serial character is received If there is no connection to the TCP server currently active the portitself can also be a TCP server and accept connections from clients on its default TCP port or on the port configured in the menu branch Se...

Page 108: ...lid DNS server The name used is not allowed to contain space characters 0x20 nor can the first character be a decimal 0x2E A server IP or URL is deleted by ente ring 0 0 0 0 For additional information refer to the section Menu Setup SYSTEM r Setup TCP IP r DNS Server Opening the TCP connection After saving the connection data the Com Server waits to receive any serial character This is the trigger...

Page 109: ... Server port closes the connection to the TCP server InactivityTimeout 0 deactivates the connection closing after a timeout 1 Tick 1 second Format decimal n Disconnect Char Default 0 If the Com Server receives the character defined here at the serial port the connection to the TCP server is closed The character itself is not sent to the TCP server Default value is 0 deactivated Format decimal n Co...

Page 110: ...a transfer per TCP IP sockets reset To prevent unintended loss of data make this value sufficiently large Connection Timeout 0 deactivates resetting of the connection after a timeout 1 Tick 1 second Format decimal ...

Page 111: ...end as an ASCII string in front on the user data on the serial port The string for addressing is not included in the send There are two possibilities for string format 1 The parameters Server Port and Server IP URL are zero C IP address or URL port number CR Examples C172 16 231 101 4800 CR Cwww comserver com 9100 CR 2 The parameter Server Port contains the Default Port e g 4800 Server IP URL cont...

Page 112: ... or serial addressing n Dispatch Str 1 Dispatch Str 2 Default 0000H This mode allows compact sending of serial data to the network the serial data stream is not broken down randomly rather serial packets can be transferred over the network in their original context as a packet In Dispatch Str 1 and or Dispatch Str 2 enter in hexadecimal format two characters each to be used for finding the serial ...

Page 113: ...is no response from the TCP server D disconnected The connection attempt was rejected by the TCP server or a previously existing connection was normally closed by the TCP server or Com Server Ixxx xxx xxx xxx invoked by A client application on the indicated station successfully opened a TCP connection to the Com Ser ver e g I172 20 20 1 Once you have entered all the parameters in the Com Server po...

Page 114: ...d for TCP client mode and may then alternately connect to each other when there are data on the serial port After the data has been send the connection is closed either by the Inactivity Timeout or the Disconnect Character When the clients have changing IP addresses for example in the case of connections via DSL routers with NAT alternating operation of the Com Servers in TCP client mode can also ...

Page 115: ...Configuration menu r TCP IP Mode r TCP Client Com Server A Server Port 8000 Server IP IP address Com Server B Client C Addr deactive Com Server B Server Port 0000 Server IP 0 0 0 0 Client C Addr deactive Example 2 A control program polls a measuring device the measuring devicve can actively send data to the control pro gram A B serial connection Intranet Internet Configuration menu r TCP IP Mode r...

Page 116: ...program Intranet Internet A C B Configuration menu r TCP IP Mod r TCP Client Com Server A Server Port 8000 Server IP IP address Com Server B Client C Addr active Com Server B C Server Port 0000 Server IP 0 0 0 0 Client C Addr deactive The control program addresses the measuring devices through the serial port in the following format C IP address port_number CR Example C172 10 230 10 8000 ...

Page 117: ... TCP communication with the serially connected devices can also take place via UDP This method offers several advantages over TCP when the data are secured already within a serial protocol in creating your own software The Com Server as UDP client The Com Server as TCP client ...

Page 118: ...ing of a connection and there are no timeout situations Here if a pa cket is lost data transmission continues unhindered as long as no higher protocol is there to specify repeats Because of the connection less nature of UDP the Com Server port always whether as client or server be configured for data exchange using UDP datagrams There are two ways to specify the network destination for received se...

Page 119: ...s with only one serial port Port B 8100 Port C 8200 Port D 8300 If the Com Server is configured essentially as a UDP client by an entry in the Submenu UDP Client r Server Port and Ser ver IP URL the data range of all UDP datagrams addressed to the local port number are output on the serial port 1This configuration method is intended only for direct socket access per TCP or UDP Higher order service...

Page 120: ...r Dispatch String If there is no defined end character a time based structuring using the option Network Delay in the menu branch Setup Setup Port x r Setup TCP IP r System Options can be done Details can be found in section The Menu Setup TCP IP r System Options n Server Port Port number that the application TCP server process addresses on the computer Format decimal n Server IP IP address or URL...

Page 121: ...ther it is send as an ASCII string in front on the user data on the serial port The string for addressing is not included in the send There are two possibilities for string format 1 The parameters Server Port and Server IP URL are zero C IP address or URL port number CR Examples C172 16 231 101 4800 CR Cwww comserver com 9100 CR 2 The parameter Server Port contains the Default Port e g 4800 Server...

Page 122: ...address The character itself is not sent The preset value is 0 After you have entered all the parameters in the Com Server port menu pressing the ENTER key repeatedly to return to the main menu and save the entries using SAVE Setup The Saving message indicates that the UPD client mode is activated Now the entry UDP client appears in the SETUP Port x r Port State r Connection State menu The current...

Page 123: ...each to be used for finding the serial data stream Only when one of the two strings has been found are the data packed into network packets by the serial port If only one character is to be searched for Dispatch Str 2 must be set to 0000 If you for example configure Dispatch Str 1 to 3100 and Dispatch Str 2 to 0000 only the ASCII character 1 will be searched for Format 16 bit integer hexadecimal H...

Page 124: ...ys contains 22 characters C IP address Port_number e g C172 016 231 101 04800 11 1 5 Deactivating UDP mode Set the following parameters in the menu branch SETUP Port x r TCP IP Mode r UDP Client to a value of 0 and save this change r Server Port r Special Options r Client C Addr Alternately you may use the function SETUP Port x r Port State r Clear Port Mode The Connection State in the Submenu SET...

Page 125: ... the respective system These behave in a serial application exactly like normal local ports but are actually located on Com Servers located in the network In this way serially communicating programs can profit from the advantages of network transmission without changing a single line of program code Download and installation of the COM redirector Configuration of the COM redirector ...

Page 126: ...zipping the archive the COM Port Redirector is installed under Windows NT 2000 2003 XP by running the file setup exe When installation is complete the applet COM Port Redirector is located in the Control Panel and can be used to set up and configure connections to the Com Servers To set up a new virtual COM port click on the Com Server button A dialog box appears which you fill in and confirm with...

Page 127: ... to the Com Server over the network Depending on the serial interface used on the Com Server the COM Port Redirector works via the following TCP ports n Port A Data port 8000 control port 9094 n Port B Data port 8100 control port 9194 n Port C Data port 8200 control port 9294 n Port D Data port 8300 control port 9394 The port numbers of the data ports as well as of the controlports are to be confi...

Page 128: ...128 W T The Windows COM redirector ...

Page 129: ...ode In Box to Box mode any two Com Server serial ports can be logically linked to each other over the network The two connected serial terminal devices are in constant online contact in this mode Typical applications Configuration of Box to Box connections ...

Page 130: ...resses In applications with changing IP addresses as found for example with many standard DSL connections alternating TCP client mode may be used since this allows specifying the destination in the form of a URL The prerequisite is that the alternating IP address be updated using an appropriate service e g DynDNS within the DNS system For details on this mode refer to the section The Com Server as...

Page 131: ...he following port numbers are pre configured at the factory Port A 8000 all models with only one serial port Port B 8100 Port C 8200 Port D 8300 The serial port of a Com Server can easily be connected with one of the up to four serial ports of another Com Ser ver n Slave IP Address set only for master port IP address of the Com Server in which the Slave port is located Once you have entered all th...

Page 132: ...is to be searched for Dispatch Str 2 must be set to 0000 If you for example configure Dispatch Str 1 to 3100 and Dispatch Str 2 to 0000 only the ASCII character 1 will be searched for Format 16 bit integer hexadecimal Host Order leading Low Byte 13 1 3 Deactivating Box to Box mode Just as in the case of configuration Box to Box mode only needs to be deactivated at the Master port in order to prope...

Page 133: ...2 0000 0D0A 8000 IP address 172 16 231 8 Port number of Port A 8000 000 000 000 000 SETUP Port 0 TCP IP Mode Box to Box Slave Port Slave IP Address Special Options Dispatch Str 1 Dispatch Str 2 0D0A 3132 IP address 172 16 231 5 Port number of Port A 8000 The Slave address is only configured on the Master Com Ser ver The Dispatch Strings may be set on both ports however In addition the serial trans...

Page 134: ...134 W T Box to Box mode ...

Page 135: ...In the other direction serial data arriving at the Com Server from the FTP client can be written to a file If the Com Server is configured as an FTP client automatic connection to an FTP server is opened triggered by serial data reception In this mode serial data can be automatically written to files and files fetched for serial output by the FTP server The Com Server as FTP server Configuration o...

Page 136: ...r opening the connection in the respective FTP client Using the example for the standard destination oriented FTP client included with Windows the invocation is as follows ftp IP address or ftp Host name After entering the ftp command you can acknowledge the prompt for a login name with ENTER The following commands are available n PUT local file remote file Sends the file local file to the RS232 E...

Page 137: ... of no data traffic For the exact syntax of your function invocations please consult the user s manual for your FTP software n ASCII Send in ASCII mode n IMAGE Send in binary mode n QUIT Ends the FTP session 1The entry FREE must be located in the SETUP Port 0 Þ Port State r Connection State menu before a connection can be opened ...

Page 138: ...hether the FTP protocol is handled automatically or with the help of the serial protocol string the address data for the respective FTP server must be configured in the submenu Setup Port x r TCP Mode r TCP Client n Server Port Port number that the FTP server addresses Standard FTP Port 21 Format decimal n Server IP URL IP address or URL of the TCP IP computer on which the FTP Server is active For...

Page 139: ...nu press the ENTER key several times to return to the main menu and save the entries with SAVE Setup The message Saving appears then the FDP client mode is activated The entry FTP Client now appears in the SETUP Port x r Port State r Connection State menu The current status of the connection can be read in this menu at any time ...

Page 140: ... FTP Set this switch to active to activate the automatic FTP client n FTP Client Login Enter the FTP commands one after the other n Login Login name for the FTP server n Password Login password for the FTP server n TYPE A TYPE I Transmission mode ASCII binary n STOR APPE RETR LIST dir file File command see command list at end of sect LIST Directory RETR File APPE File STOR File Close connection Th...

Page 141: ... FTP connection After saving the connection data the Com Server waits to receive any serial character This is the trigger for opening the connection After successful login on the FTP server using the configured password the stored command is executed In the case of STOR or APPE the connection triggering character is sent and written to the file Closing the FTP connection The following methods for ...

Page 142: ...This value is a connection timeout that is only effective together with an activated Inactivity Timeout After the Inactivity Timeout expires the Com Server tries to send any still existing unsent user data for the duration of the Connection Timeout If it receives no reply from the TCP server within this time you may assume the connection is hanging the data are then rejected and the connection res...

Page 143: ...Com Server This command may only be used if there is no active connection to the FTP server The sequence of the FTP commands is given to the Com Server port on the serial interface The Com Server gets the command sequence opens the connection to the FTP server and gives an OK to start data transmission In the menu SETUP Port x r TCP IP Mode r FTP Client r Special Options configure the following pa...

Page 144: ...menu at any time Opening the FTP connection After saving the configuration data the Com Server waits to receive a valid serial login string in the following format In serial generation of the login string the individual commands are separated from each other by a linefeed 0x0a The character configured under Protocol Char must be sent as a terminator When entering via keyboard the character can be ...

Page 145: ...rt Mode The Connection State in the Submenu SETUP Port x r Port State must then be named FREE 14 2 5 Application examples Example 1 Opening and closing the connection 1 Send the command string to the serial port If the complete string was received the Com Server begins to open the connection and process the commands 2 If the functions can be executed one after the other you get the string OK Proto...

Page 146: ... insert binary data to the end of the file usr egon config The value 003 Ctrl C is entered as Protocol Char The protocol would look as follows Com Server Serial device egon lf happy lf TYPE I lf APPE usr egon config lf Ctrl C OK Ctrl C binary Data 221 Goodbye Ctrl C Example 4 User egon having the password happy would like to view the file usr privat and transfer the data in ASCII The file does not...

Page 147: ...is a terminal emulation protocol Data transmission is character oriented Telnet allows bi directional character exchange between the TCP IP computer and the serial terminal device connected to the Com Server Com Server as Telnet server Configuring the Com Server as FTP client ...

Page 148: ...d in or output a character at a time from the keyboard All data received from the serial port are output on the screen and if desired recorded in a protocol file All keyboard entries are output as data a character at a time on the serial port The echo behavior of the Com Server can be configured in the menu branch SETUP Port x r TCP IP Mode r System Options By default the Com Server signals the re...

Page 149: ...s Standard Telnet Port 23 Format decimal n Server IP URL IP address or URL of the TCP IP computer on which the Telnet Server is active Format Dot notation or URL 1A URL can only be assigned in conjunction with a va lid DNS server The name used is not allowed to contain space characters 0x20 nor can the first character be a decimal 0x2E A server IP or URL is deleted by ente ring 0 0 0 0 For additio...

Page 150: ...timer is reset if there is an active network connection when data are being exchanged If no data are set within the specified time the Com Server port closes the connection to the TCP server InactivityTimeout 0 deactivates the connection closing after a timeout 1 Tick 1 second Format decimal n Disconnect Char Default 0 When the Com Server port receives the character configured here at its serial p...

Page 151: ...in menu and save the entries with SAVE Setup The message Saving appears then the FDP client mode is activated The entry FTP Client now appears in the SETUP Port x r Port State r Connection State menu The current status of the connection can be read in this menu at any time 15 2 2 Deactivating Telnet client mode Set the following parameters in the menu branch SETUP Port x r TCP IP Mode r Telnet Cli...

Page 152: ...152 W T Data transfer per Telnet ...

Page 153: ...ally linked together over the network in the form of a Master Slave bus The connected serial terminal devices are in constant online contact in this mode Any additional data traffic or other network protocols have no effect on the connection Configuration of a bus master Configuration of a bus slave ...

Page 154: ... device Slave Slave Com Server B 172 16 231 36 Com Server C 172 16 231 89 Com Server D 172 16 231 14 IP address Com Server A 172 16 231 1 Menü SETUP Port 0 r TCP IP Mode r IP Bus Mode r Master Subnet IP 172 16 231 0 r Slave Master IP 172 16 231 1 r Slave Master IP 172 16 231 1 r Slave Master IP 172 16 231 1 1The serial devices must send their data using their own proofing protocol Since the Com Se...

Page 155: ...nt to enter a value other than zero e g 1 0 0 0 and confirm with ENTER The Com Server processes the subnet IP address itself from its own IP number and the subnet mask AND operation and enters it 16 2 2 Activating the slave Configure the following parameters in the Submenu SETUP Port x r TCP IP Mode r IP Bus Mode n Slave Master IP Set on all Com Server ports that are connected to Slaves the full I...

Page 156: ...Mode Set the respective IP address in the SETUP Port x r TCP IP Mode r IP Bus Mode menu to zero 0 0 0 0 or use the menu SETUP Port x r Port State r Clear Port Mode The Connection State in the Submenu SETUP Port x r Port State must then be named FREE ...

Page 157: ...LIP router mode enables serial devices with their own TCP IP stack to be incorporated into an Ethernet When the Com Servers are used in pairs remote Ethernet segments can also be integrated into the main network in this mode using a serial standard cable Configuration of SLIP ...

Page 158: ... Router configure the following parameters n Net Address Enter here the network address of the serially connected subnet you want to route to via SLIP n SLIP Net Routing Default active If this parameter has a value of 1 the Com Server functions as described like a router for the subnet specified under Net Address If the parameter is 0 the Com Server is transpa rent i e all packets directed to the ...

Page 159: ...t IP datagram 192 1 1 12 172 16 231 1 Destination IP Source IP ping 192 1 1 2 This IP address is not routed 1Access to the network port of a Com Server functioning as a SLIP router can take place only from a computer located in the same subnet In the above example this would mean that access via Telnet browser or ping to the Com Server in Ethernet 1 must be made from a computer also located in Eth...

Page 160: ...ial transmission parameters for both Com Servers must be identical Only hardware handshake may be used for flow control The use of software handshake is not possible due to the Xon and Xoff characters which the Com Servers process 1The maximum serial transmission speed is 230 400 baud Transmission of the entire Ethernet side bandwidth is not possible The following sketch shows a sample configurati...

Page 161: ...ifies the packet type followed by the LEN field which specifies the length of the configuration data in bytes Next follows a list of parameters having any length whose content and length is indicated by a defined number PARAM_NO TYPE BYTE LEN BYTE PARAMETER TYPEDEF PARAM_NO BYTE PARAMETER TYPEDEF PARAM_NO BYTE The parameter list The following Com Server parameters can be written and or read PARAM_...

Page 162: ...SLIP computer to the Com Server The Com Server sends a response type TYPE 3 with the contents of the requested parameters The packet contains the fields TYPE and LEN and a list of the desired parameter numbers PARAM_NO A packet for reading the MTU and the MAC address would look as follows 0 TYPE 2 1 LEN 2 2 PARAM_NO 4 4 3 PARAM_NO 16 TYPE 3 Response to a request for reading parameters The Com Serv...

Page 163: ...on between Com Servers and the device connnected to their serial port Analogous to the TCP IP socket interface in Windows or UNIX systems it provides the end user with an external TCP IP stack on the serial port while supporting up to eight logical client and or server sockets Function scope of the Serial Socket Interfaces ...

Page 164: ...tting IP broadcasts o The Com Server independently informs the serial terminal device as part of the protocol of changes in the system or connection status o Packet oriented transmission of serial data in both directions i e sending of packets with packet start characters packet headers data packet end characters o Transmission of the network destination address IP address UDP port to the Com Serv...

Page 165: ...165 W T Subject to error and alteration 19 Status and error messages Status messages of the menu Port State Resetting a fixed mode Clear Port Mode ...

Page 166: ...nd has a connection to the process having the port no 2000 on the TCP IP station having IP address 172 16 231 1 The port is configured as a TCP and has connection to the server process having port no 2000 on IP station having IP address 172 16 231 1 Configured TCP IP mode Connection state client mode Unlock The port is configured for the indicated mode but has no active connection Locked The port ...

Page 167: ...corresponding input assumes the LOW 12V state and is reset as soon as a HIGH level 12V is present If this does not occur within the con figured time this error message is output The reason may be for example an unconnected deselected defective or improperly configured serial ter minal device The factory setting for all inputs is for no timer No halt on XOFF RTS DTR The connected serial device does...

Page 168: ... fit in the time frame that results from the configured transmission parameters baud rate start bit data bits parity bit stop bits Please check here also that the Com Server and serial terminal device configurations are the same n Clear Port Mode Use this command to simply and easily revert the port to standard TCP IP mode The previously configured TCP IP mode TCP UDP Telnet FTP Client Box to Box ...

Page 169: ...sibilities for the Com Server Implementati on of more complex scenarios often requires however that the software be individually adapted For users who make use of socket programming the Com Server offers additional functions beyond pure data transfer The control port and its data structure Status requests and configuration of the serial port Resetting the Com Server Uploading downloading of the co...

Page 170: ...on Control port numbers The TCP connection to the control port is done using the port number stored in the menu branch Setup Port 0 r TCP IP Mode r Control port The following port numbers are pre configured at the factory Port A 9094 Port B 9194 Port C 9294 Port D 9394 1The control connection can only be opened if the Com Server port functions as a TCP server or TCP client The data andcontrol port...

Page 171: ...ing a defined length and structure are exchanged through this connection To request an info structure completely filled data record from the Com Server port you only need to send any desired character to the control port To despatch a command the Com Server expects the complete structure 30 bytes in a TCP packet If no allocatable data e g just half of a structure pass through the contro port the r...

Page 172: ...ure has a length of one WORD 16 bit integer and contains all the error states of the serial port typedef struct _com_error union word error_flags struct _err_flags word f_data 1 not used reserved word f_net 2 not used reserved word f_com 1 Set when COM port error detected word f_break 1 Reflect the break flag word f_cts_time 1 Time out while waiting on CTS word f_dsr_time 1 Time out while waiting ...

Page 173: ...ceived word x_send 1 XOFF was send word break_mode 1 1 set_break was set HighByte 0 clear_break was set word dummy 1 not used word send_xoff 1 Send XOFF asynchron word flush_rd 1 Flush serial input buffer word flush_wr 1 Flush serial output buffer word set_rts_dtr 1 set RTS to rts_hold and DTR to dtr_hold word set_break 1 Independent setting break mode word clear_break 1 Independent clearing break...

Page 174: ...break mode and send a break signal to the serially connected device Activated break mode is signaled by break_mode 1 When creating the break signal a distinction between the various Com Server models needs to be made as follows n 58631 58431 With these models break mode is first set using set_break Then with each following serial character to the data connection the Com Server sends a baud rate de...

Page 175: ...Receive FIFO trigger 0 8 8 1 16 16 2 32 56 3 56 60 models 58631 and 58431 have a fix FIFO trigger so they ignore these bits char bits 000x xxxx data bits stop bits parity 10 7 data bits 11 8 data bits 0 1 1 1 2 stop bits 1 parity enable 0 odd 1 even parity char bits word RLS_time_out Timer before f_rlsd_time will be set word CTS_time_out Timer before f_cts_time will be set word DSR_time_out Timer ...

Page 176: ...ake while sending word f_inx 1 Enable softw handshake while receiving word f_outx_cts 1 Enable hardware handshake on CTS word f_outx_dsr 1 Enable hardware handshake on DSR word f_inx_dtr 1 Enable hardware handshake on DTR word f_inx_rts 1 Enable hardware handshake on RTS word f_parity 1 Enable parity check error report word f_pechar 1 Enable replacement of received char word f_inxfilter 1 Enable x...

Page 177: ...l to signal to signal an active connection between the serial port and a client in the network If the Com Server itself is configured as a TCP client a constant enable level is output regardless of whether there is an active connection or not Alternately a 1 in the flags f_inx_rts and f_inx_dtr can assign the function of serial flow control to the respective RS232 output If flow control is enabled...

Page 178: ...IP station does not report To reset this port for a new connection a connect must be made to Port 9084 of the Com Server The Com Server will accept the connection and immediately initiate a close close the connection At the same time it sends a RESET signal to TCP IP station172 16 231 100 and deletes its parameters The next connect to Port 8000 is now replied to by the Com Server Use of the system...

Page 179: ...connection as soon as it has been established and performs a port reset 1When invoking this service the contents of the serial in and output buffer are lost The port can be opened by any desired station and should only be used in extreme cases No data are permitted to be transported through this connection The port is opened by a host and then immediately closed by the Com Server ...

Page 180: ... Server via the Control Port within 2s after a connection has been successfully opened If the Com Server does not receive a correct or even any password within this time it sends the message PASSWD followed by a null byte 0x00 to the client and closes the TCP connection If no system password is configured then as the example shows the Com Server immediately closes the TCP connection as soon as it ...

Page 181: ...d password 0x00 and sent to the Com Server via the Control Port within 2s after a connection has been successfully opened If the Com Server does not receive a correct or even any password within this time it sends the message PASSWD followed by a null byte 0x00 to the client and closes the TCP connection If no system password is configured the Com Server expects or sends the configuration data dir...

Page 182: ...net to fully configure a Com Server with the desired parameters and use Port 8003 to read the non volatile memory out The file thus created can now be uploaded to the remaining Com Servers 1The procedure described here is a substitute for the relatively time consuming configuration using a Telnet session All the settings are saved in the non volatile memory and are still available after a reset or...

Page 183: ...sed to it makes no difference in generating the info structure The only factor is that UDP Port No 8513 is used 1For reasons of downward compatibility the Com Servers continue to support the previous UDP infoport 8512 In new applications however you should use only Port 8513 as described here 20 5 1 The infopacket Each infopacket consists of 3 6 data structures BOX_VERSION contains information on ...

Page 184: ...umber of Com Server ports BOX_DESCRIPT port_anz 10 byte typedef struct _PORT_DESCRIPT 10 byte union unsigned int wState struct _new_type unsigned char port_type 0x01 serial port serial CPU port 0x02 serial port UART port 0x03 reserved 0x04 Digital E A 0x05 Analog E A under construction 0x06 W T Dual Port RAM unsigned char state 0 free 1 connect 2 waits unsigned int mode 0x0001 TCP client 0x0002 TE...

Page 185: ...pack 1All variables of types Integer and Long are mapped in host order i e the low value bytes come first The IP address 172 17 2 3 appears for example in byte order 3 2 17 172 UDP packets are connectionless and unsecure datagrams Especially when using broadcasts the Com Server s own request as well as reply packet can get lost To reliably ascertain all the Com Servers installed in a subnet you sh...

Page 186: ...te Where do I obtain the MIB file The latest version of the private MIB as well as other tools application descriptions are always available at http www wut de The simplest way to navigate from there is by using the product overview on the left side of the page Follow the Accessories Downloads Com Server path to get to the menu branch containing a direct download link for the MIB 1If a system pass...

Page 187: ...r Since the operating software is under constant develpoment this device also allows you to perform a firmware update The available upload variations are described here Where do I get the current firmware Network firmware update unter Windows Network firmware update under UNIX ...

Page 188: ...utton This takes you directly to the page with the most up to date firmware for your Com Server model If you do not know the model number you can find it on the sticker located on the narrow side of the enclosure likewise the Ethernet address Type no 58xxx description EN 00c03d004a05 OK xxxxxx Description e g TB number for special versions 1In particular if the sticker indicates an TB number as th...

Page 189: ...transferring the firmware to the Com Server The file with the new firmware for transferring to the Com Server It is not necessary to do any special preparation in the Com Server for a firmware update You only need to close all data control and configuration connections The update tool is for the most part self explanatory Should you have any questions however please refer to the associated documen...

Page 190: ...work the Status LED will be on Then the Com Server goes into programming mode and the Error LED comes on This process may take several seconds Wait until the Error LED goes off and the Status LED comes on again Repeat this process for all six files 3 The Com Server recognizes when all files have been sent and independently does a restart If the green Status LED comes on again after all the files h...

Page 191: ... put command to send the remaining files and close the TFTP connection tftp quit 1Never interrupt the update process by pulling the power plug or pressing the reset button The Com Ser ver will be non operational after an incomplete update Never mix files having different version numbers in the file name This will cause the unit to malfunction Send all the files one after the other The Com Server r...

Page 192: ...192 W T Firmware update of the Com Server ...

Page 193: ...T Subject to error and alteration Appendix TCP IP activation under Windows Overview of the port numbers Example Serial assignment of the IP address under Windows Web applications HTTP SMTP POP3 Technical Data ...

Page 194: ...lect TCP IP and click on Properties On the IP Address tab enter the IP address for this computer as well as the subnet mask of the network in which it is located If you also want to have connections to other networks use the Gateway tab to enter the IP address or the gateway through which you want to route your connections If you have only a local network and are not using gateways or ruters a few...

Page 195: ...ing the IP address Check with your network administrator or answer with NO Now insert your Windows NT CD to install the required drivers After this you will be back on the Protocols tab In the list of network components you will now find the entry TCP IP Prptocol Now click on Close The links are updated and the properties window for TCP IP appears Enter here an IP address which is valied for this ...

Page 196: ...TP server port C FTP server port D Socket server port A Socket server port B Socket server port C Socket server port D TELNET configuration port Control port Port A Control port Port B Control port Port C Control port Port D Reset port status port A Reset port status port B Reset port status port C Reset port status port D Reset Com Server Initialize Firmware update Read the configuration data Wri...

Page 197: ...s an overview of the safety measures which have been implemented and can be used on the Com Servers It is presumed here that the original W T firmware without any customer modifications is being used Additional details can be found in the respective sections of this manual The authorization concept of the Com Server Control and configuration access to the Highspeed Com Ser vers is protected by the...

Page 198: ...d in that the system password must be used as a community string Inventarisierungstool see section on Inventorying via UDP Like all intelligent components from W T the Com Ser vers can be accessed through the WuTility tool Informa tion is read from UDP ports 8512 and 8513 The ports cannot be turned off No writing can be done over this path Firmware Update see section on Firmware Update of the Com ...

Page 199: ...ting of fixed modes of a port and for fully resetting the Com Server All the ports are not configurable and are protected by the system password Controlport see section on The Control Port The TCP control ports factory defaults 9094 9194 9294 and 9394 allow the COM port redirector as well as a customer s own applications to configure the serial transmission parameters and control lines of the indi...

Page 200: ...terminal as described here Easyterm The most current version of the tool can be downloaded from our Web site at http www wut de The simplest way to navigate from there is by using the product overview on the left side of the page Follow the Accessories Downloads Com Server path to get to the menu branch containing a direct download link for the tool After starting the program you must simply selec...

Page 201: ...ver Each separated by a comma this method can also be used to assign subnet mask and gateway address Example 1 Assigning only the IP address 172 15 222 5 ENTER Example 2 Assigning IP address Subnet Mask Gateway 172 15 222 5 255 255 0 0 172 15 222 1 ENTER Example 3 Assigning IP address Subnet Mask Gateway and deactivating BOOTP at the same time 172 15 222 5 255 255 0 0 172 15 222 100 1 ENTER Exampl...

Page 202: ...ms r Accessories r Hyper terminal 1 In the first window you assign a name for the connection you wish to build this allows you to directly start Hyper terminal with the correct transmission parameters the next time you want to assign an IP address 2 In the lower selection box of the following window please select only the COM port to which the Com Server is connected ...

Page 203: ...own the x key lower case no Caps Lock After about 2 3 seconds the prompt IP no ENTER will appear in Hyperterminal 5 Now enter the IP address you want to assign in the usual dot notation e g 172 17 10 10 There will be no immediate echo of characters so the individual inputs will not be seen on the monitor Only after you have pressed Return to confirm is the completely entered IP address returned by...

Page 204: ...ernet IP and TCP are fully handled by the Com Server Higher order protocols contained here are send transparent to the serially connected device for further processing Example HTTP When a Web browser requests a particular site the sequence as far as the network is concerned is as follows Resolve the specified URL into the IP address using DNS Build and establish a TCP connection on Port 80 HTTP Bo...

Page 205: ... TCP Client mode Menu TCP Client For additional information and examples for integrating your own serial devices into the Web using the Com Server see our Web site at http www wut de 1If the Web Based Management is activated in the Com Server the TCP port number configured for this cannot be used at the same time for connecting a serial device ...

Page 206: ...ing the IP address even if the currently set address does not fit in the local network o Copying of entire configuration blocks from one Com Ser ver to any other o Creating and archiving configurations o Firmware updates Where do I obtain this tool The latest version is always published on our Web pages at the following address http www wut de The simplest way to navigate from there is by using th...

Page 207: ...nd reconnect the supply voltage An internal self test will be performed during which messages will be issued on serial port A The Fail message in the lines Port A and TP Test can be ignored The self test will be finished in approx 20s at which point the factory defaults are active Turn off the Com Server open both jumpers and close up the housing again 1Resetting the non volatile memory results in...

Page 208: ...r 18V 300mA included in scope of delivery 12V 24V 10 DC adapter 12V 2A included in scope of delivery typ 180mA 12VDC 40 70 C 0 60 C 0 50 C 0 95 not condensing 10 100BaseT RJ45 for STP cables min 500Vrms 105 x 75 x 22mm ca 150g 1 x RS232 422 485 configurable DB9 Male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD parity Hardware Handshake or Xon Xoff protocol Littlefuse Nano SMD Fuse m ...

Page 209: ...idity Network Galvanic isolation Dimensions Weight Serial ports Baud rates Data formats Flow control 12V 48V 10 9Vrms 30Vrms 10 typ 130mA 24V 40 70 C 0 60 C 0 50 C 0 95 not condensing 10 100BaseT RJ45 for STP cables Network min 500Vrms Serial ports min 1kV 105 x 75 x 45mm ca 190g 3 x RS232 422 485 configurable DB9 Male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD parity Hardware Hand...

Page 210: ...ic isolation Dimensions Weight Serial ports Baud rates Data formats Flow control 37 57V from PSE 12V 48V 10 9Vrms 30Vrms 10 typ 130mA 24V PoE Class 1 0 44 3 84W 40 70 C 0 60 C 0 50 C 0 95 not condensing 10 100BaseT RJ45 for STP cables Network min 500Vrms Serial ports min 1kV 105 x 75 x 22mm ca 150g 1 x RS232 422 485 configurable DB9 Male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD p...

Page 211: ...ork 212x168x40mm approx 1000g 1 x RS232 422 485 configurable 4 x RS232 422 485 configurable all DB9 Male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD parity Hardware Handshake or Xon Xoff protocol Supply voltage Current draw Permissible ambient temperature storage operating Permissible relative humidity Network Galvanic isolation Dimensions Weight Serial ports 58031 58034 Baud rates ...

Page 212: ...2 485 configurable with DB9 male 4 x RS232 422 485 configurable with DB9 male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD parity Hardware Handshake or Xon Xoff protocol Supply voltage Current draw 58331 58334 Permissible ambient temperature Lagerung Betrieb Permissible ambient humidity Network Galvanic isolation Dimensions Front panel 58331 Front panel 58334 Board 58331 58334 Weight...

Page 213: ...Vrms 95 8 x 71 1mm ca 200g 1 x TTL 2mm 12 pin adapter optional 10pol RM 2 54mm 50 to 230 400 kBit s 7 8 Data bit 1 2 stop bit NO EVEN ODD parity Hardware Handshake or Xon Xoff protocol Supply voltage Current draw Permissible ambient temperature storage operating Permissible relative humudity Network Galvanic isolation Dimensions Weight Serial ports Baud rates Data formats Flow control ...

Page 214: ...ic isolation Dimensions Weight Serial ports Baud rates Data formats Flow control DC 5V 5 typ 270mA max 345mA 5V 40 70 C 0 50 C 0 95 not condensing 10 100BaseT RJ45 for STP cables min 500Vrms to network 115 x 90 x 34mm approx 300g 1 x RS232 422 485 configurable DB9 Male 50 to 230 400 kBit s 7 8 data bit 1 2 stop bit NO EVEN ODD parity Hardware Handshake or Xon Xoff protocol ...

Page 215: ...215 W T Appendix Subject to error and alteration Declaration of conformity ...

Page 216: ...NS Server 81 DNS status 166 DNS Server 81 DSR 91 93 DTR 91 93 177 E Easyterm 200 Error State 167 Error LED 63 F Factory Default 12 Factory Defaults 86 factory defaults 207 FIFO 96 Firmware update 85 firmware update 189 fixed routes 80 flashing patterns 63 Flow Control 93 Flush Buffer 88 Framing Error 168 framing error 63 FTP Client Login 140 Full Duplex 48 G Gateway 80 201 GET 136 H Half Duplex 48...

Page 217: ...ng 80 RS232 50 RTS 91 93 177 Run Time 79 S Send Filter 94 Serial assignment of the IP 200 Serial Socket Interface 164 Show Connection 93 Slave IP address 131 Slave Port 131 SLIP Net Routing 158 SNMP 84 186 SOFTW Date Rev 79 Software Handshake 92 Status LED 63 stop bits 90 175 STOR 140 Subnet Mask 80 201 subnet mask 20 supply voltage 40 System Name 25 85 System Options 87 System Password 84 T TCP C...

Reviews: