Home
COMETH COMETH-LITE USER GUIDE
Contents
1. 35 1 4 GATEWAYS reg en Ms nissan se tie de 36 IX TCP PORTNUMBER ad seme ee boil eo 36 REEERENCES a ne 37 COMETH USER S MANUAL Release A 9 December 10 2007 L INTRODUCTION L1 Purpose of this manual This manual provides instructions to easily install and configure the COMETH product on your network Chapter II Package checklist allows you to check if your package was complete when delivered Chapter III Product specifications describes the fundamental possibilities of the product Chapter Connectors describes the Serial and Lan connectors of the COMETH Chapter V Cabling recommendations gives some background required to install the COMETH Chapter VI Getting started is a step by step description of a typical COMETH installation in a simple application context Chapter VII Troubleshooting gives hints on what to do when the installation fails Chapter VIII Advanced configuration describes all the configuration parameters you can use and how to use them Chapter IX Addressing in Network protocols gives some background in networking required to install the COMETH It is expected that the reader of this manual has some background knowledge of TCP IP and how to setup and use TCP IP on a Windows based PC As well anyone inst
2. 24 VII 5 41 21 01 0 6 tens etes sten setas sesso ene eas tas eese ease eaae 25 COMETH USER S MANUAL Release A 9 December 10 2007 VIL 1 CHECKING THE 25 2 CHECKING THE NETWORK TOPOLOGY 2 000000000060 26 VIL3 CHECKING THE 27 4 CHECKING THE 5 2000400 000 00 000 27 VIII ADVANCED CONFIGURATION 1 sten ens eas tasses sees e eaae 29 1 ACCESS TO ADMINISTRATION COMMANDS 29 2 SECURITY 29 VIIL3 HANDLING DISCONNECTIONS IN 29 COMMANDS LIST eet CREE eee 30 VIIL5 FACTORY SETTINGS COMMON TO ALL 0 000 8 34 IX ADDRESSING IN NETWORK 5 1 aetas seen seta ae 35 IX 1 TCP IP NETWORK 65 00 0 0 6 660606006000 35 IX 2 ETHERNET 585 00 2 0 0 000 000000 0900099090906 35 TX3
3. COMETH COMETH LITE USER GUIDE DTUSO033 COMETH USER GUIDE COPYRIGHT BY ACKSYS 2003 2007 This document contains information protected by Copyright The present document may not be wholly or partially reproduced transcribed stored in any computer or other system whatsoever or translated into any language or computer language whatsoever without prior written consent from ACKSYS Communications amp Systems ZA Val Joyeux 10 rue des Entrepreneurs 78450 VILLEPREUX FRANCE REGISTERED TRADEMARKS amp e ACKSYS is a registered trademark of ACKSYS e Windows is a registered trademark of MICROSOFT NOTICE ACKSYS gives no guarantee as to the content of the present document and takes no responsibility for the profitability or the suitability of the equipment for the requirements of the user ACKSYS will in no case be held responsible for any errors that may be contained in this document nor for any damage no matter how substantial occasioned by the provision operation or use of the equipment ACKSYS 9 reserves the right to revise this document periodically or change its contents without notice ACKSYS COMMUNICATIONS amp SYSTEMS ZA Val Joyeux 10 rue des Entrepreneurs 78450 VILLEPREUX FRANCE Telephone 33 0 1 30 56 46 46 Fax 33 0 1 30 56 12 95 Web www acksys fr Hotline support acksys fr Sales sales acksys fr COMETH USER S MANUAL i Release A 9 December 10 2007
4. Then if you need to cross a gateway PING the COMETH from a computer installed on the other side of the gateway DO NOT just move the above mentioned computer from one LAN to the other You must set a new appropriate IP address in the computer when you move it from one LAN to another If there is no answer the gateway IP address or the netmask is improperly set in the COMETH or in your computer Correct the problem with the administration system Be sure to save the changed configuration and reset the COMETH Also the gateway itself may be improperly set Check with your network administrator Did you set the gateway address if any in the COMETH Else the COMETH can receive the PING but does not know where to send the answer COMETH USER S MANUAL Release A 9 December 10 2007 VIL3 Checking the configuration When you can PING the COMETH you should be able to use remote administration Try to connect to the administration system C gt telnet 192 168 1 253 If the connection is refused another TELNET is already connected to the COMETH You can also use the asynchronous port administration Please refer to section VI 4 Administration by RS232 serial port to do this VII 4 Checking the software At this step the COMETH network parameters are correctly set Any other problem remaining must come from either the remote side configuration driver or software or from mismatched configuration between
5. The COMETH has one female DB9 connector with DCE cabling You can plug it directly without any cable into a standard DB9 male connector PC COM port for example VI 4 3 Run Hyperterminal When asked to choose a modem or port select a direct connection to COMx COMXx being the COM port on which you plugged the COMETH Select the following port parameters 2400 bauds bits second 8 bits parity none stop bit no flow control Hyperterminal now displays a blank window Hit the ENTER key to display the admin prompt VI 4 4 Proceed to paragraph VI 6 TCP IP configuration VI 5 Administration by LAN The default IP address of the COMETH is 192 168 1 253 You can install the COMETH for the first time by LAN only if your network can match this requirement Only one new COMETH can be plugged on the LAN at a given time until you have assigned a different IP address on each COMETH Otherwise conflicts will result VI 5 1 Computer configuration No switch is needed Configure a computer with 192 168 1 x IP address where x 253 and x 255 and x 0 and x any address already assigned Check that the computer is connected to the same LAN than the COMETH VI 5 2 Run Telnet C gt telnet 192 168 1 253 Telnet displays a banner and a prompt from the COMETH Type login root Password root COMETH USER S MANUAL Release A 9 December 10 2007 20 VL6 TCP IP configuration The IP address of the COMETH must be
6. root root unknown location allowed allowed device serial number written on the label off empty not sent empty MAC address sent as string 192 168 1 253 255 255 255 0 0 0 0 0 gateway router 23 576 576 10 off off off COMETH USER S MANUAL Release A 9 December 10 2007 35 IX ADDRESSING IN NETWORK PROTOCOLS IX 1 TCP IP network layers TCP IP is the name of the protocols used by Internet and many Intranets In a device participating in a TCP IP network there are four software layers the application layer the transport layer TCP or UDP the network layer IP the LAN layer Ethernet WIFI point to point modems etc The LAN layer address allows a device to send data to another device connected to the same LAN But there is not enough information in a LAN address to send to a device connected on another LAN through a router The Network IP address solves this problem by defining addresses which can be subject to routing When the source and destination devices are not on the same LAN the source device can send data to an intermediate gateway also called router The gateway has routing tables which allows it to forward data to the destination device maybe through other gateways The transport layer address called a is used inside a destination device to deliver data to the correct application process IX 2 Ethernet Address The Ethernet address is also refe
7. this one is then closed immediately The net reconnect and show net reconnect series of commands allow you to set up this mechanism Security note Although the forced reconnection method seems more attractive than keep alive it may lead to security weakness that should be carefully considered in sensitive environments since connection request packets may be forged by a malevolent user on an open network a denial of service to the legitimate user can be induced when this feature is used 4 Commands list General purpose commands login username save reset quit start the administrator identification sequence Ask password save the current configuration to the permanent configuration memory which is used after reboot and remains when the COMETH is powered off close the administration session and reboot the COMETH to ignore parameters changed but not saved or to reload saved parameters The following parameters do not need a reset to take effect location 142217 showperm netconfigperm serial termtype serial interface close administration session TELNET only COMETH USER S MANUAL Release A 9 December 10 2007 ei General parameters changes set login username change administrator name 8 bytes max Upper and lower cases set password password change administrator password 8 bytes max Upper and lower cases set location location change location description 30
8. 2 6 0 1 2 2 2 valid SERVERCOM 3 4 0 0 2 6 3 valid MULTIPOINT 1 0 0 0 2 6 4 valid MODBUS TCP 2 6 0 0 2 6 5 valid TCPCLIENT 252043 2 6 OK Now check the currently active firmware root show prog enable enable software 2 loading software 2 In the list you can see the number of the file holding the desired firmware the MULTIPOINT firmware is in file 3 Until now the active firmware was 2 which is SERVERCOM You must now activate the desired firmware root set prog enable 3 root save root reset Other information about firmware download installation and selection is given in download firmware user guide DTUS040 pdf VI 8 Install the COMETH in its final location Now you can unplug the COMETH from the administration PC If administration by serial mode has been selected push the mode switch on the other side thus allowing data to go from Ethernet to the asynchronous interface Check the cabling of your device against the cabling of the COMETH see section IV Connectors Plug the Ethernet jack from your HUB into the COMETH The COMETH does not normally require a crossing cable If the Ethernet cable is good and correctly inserted on both ends the LINK light should go on on the COMETH and also on the HUB 1f it has a LINK led COMETH USER S MANUAL Release A 9 December 10 2007 24 VL9 Other configuration Many other configuration options are available You can enforce some setup o
9. DSR Input to Cometh 5 GND Digital ground 6 DTR Output from Cometh 7 CTS Input to Cometh 8 RTS Output from Cometh 9 RI Input to Cometh On the COMETH T rev A or COMETH rev B with the remote power supply option pin 9 is the power supply input 4 5VDC to 5 5VDC and the software always reports RING as being in an active state IV 3 Power supply jack Female jack e GND Vdc COMETH USER S MANUAL Release A 9 December 10 2007 14 COMETH USER S MANUAL 127175023 Release A 9 December 10 2007 V CABLING RECOMMENDATIONS V 1 Ethernet cabling recommendations Plug the Ethernet jack from your HUB into the COMETH The COMETH does not normally require a crossing cable If the Ethernet cable is good and correctly inserted on both ends the LINK light should go on on the COMETH and also on the HUB if it has a LINK led 2 RS232 cabling recommendations The COMETH has one female DB9 connector with DCE cabling You can plug it directly without any cable into a standard DB9 male connector PC COM port for example COMETH USER S MANUAL Release A 9 December 10 2007 16 COMETH USER S MANUAL 127175023 Release A 9 December 10 2007 VI EE GETTING STARTED This chapter describes the required steps to get COMETH device on line and working VI 1 Determine the needs of your application e Serial data format and baudrate e Serial
10. Pi CONNECTING THROUGH GATEWAYS EXAMPLE 192 168 1 12 192 168 1 254 Device 2 Gateway 2 Must know about address 192 168 1 254 to send to Device 1 10 1 2 30 Device 1 COMETH Must know about address 10 1 2 1 to send to Device 2 Gatewayttl IX 5 TCP port number Every TCP connection is defined by a source and destination IP address and port number For example a TELNET application commonly uses destination port number 23 To support its two application processes the COMETH uses TCP port 23 to allow remote administration and one more TCP or UDP port depending on the firmware for data exchange with the asynchronous port COMETH USER S MANUAL Release A 9 December 10 2007 X REFERENCES COM port redirection http www ietf org rfc rfc2217 txt DHCP http www ietf org rfc rfc1541 txt http www ietf org rfc rfc2132 txt http www ietf org rfc rfc2134 txt http www ietf org rfc rfc21306 txt Keep Alives http www ietf org rfc rfc1 122 txt ACKSYS documentations For the latest versions please check the download section of http www acksys fr CD ROM documentations download firmware user guide DTUS040 pdf SERVERCOM UserGuide DTUS043 pdf MODBUS TCP UserGuide DTUS041 pdf MULTIPOINT UserGuide DTUS056 pdf TCPCLIENT UserGuide DTUS045 pdf COMETH USER S MANUAL Release A 9 December 10 2007 ACKSYS COMMUNICATIONS amp SYSTEMS ZA Val Joyeux
11. bytes max Upper and lower cases set showperm allow allow or deny the right to display configuration information set showperm deny without entering the administrator password set netconfigperm allow allow or deny the right to use the administration system from set netconfigperm deny the network firmwares parameters changes See download firmware user guide DTUS040 pdf set prog enable Seg Enable firmware located in segment Seg Network parameters changes set net ethernet XX XX XX XX XX XX change COMETH Ethernet address 6 hex digits separated by columns DO NOT CHANGE if you don t know exactly the consequences set net dhcp on These two commands turn on or off the DHCP client set net dhcp off When DHCP is on the manually specified IP address is not used set net dhcp clientid ident replace the standard client ID MAC address as a string by the custom string ident 15 bytes max upper and lower cases allowed set net dhcp clientid delete the custom client ID and use the standard client ID set net dhcp hname hostname provide the DHCP server with the supplementary Host Name option with value hostname 19 bytes max no spaces allowed upper and lower cases allowed set net ip aaa bbb ccc ddd change COMETH IP address in dotted decimal notation set net mask aaa bbb ccc ddd change the subnet mask set net gateway aaa bbb ccc ddd change the default gateway IP address set net metric mmm number of gateway hops mmm
12. control signals driving source e Electrical type of your serial interface e What kind of application will use the COMETH This will determine the COMETH firmware to use as follows Firmware selection criterions Firmware use DOWNLOAD upgrade the other firmwares MODBUS for MODBUS TCP or MODBUS tunnelling SERVERCOM for COM port redirection or raw data tunnelling TCPCLIENT allows a serial device to call in a network server or raw data tunnelling MULTIPOINT for multidrop applications and master slave replacement If you want to use the MODBUS protocol e inany case you can use the COMETH MODBUS firmware if there is only one serial master and one serial slave or several serial slaves all connected on the same RS485 cable you can also use a couple of SERVERCOM and TCPCLIENT e if the masters are on the network not on a serial link they use MODBUS TCP you must use the COMETH MODBUS firmware on the slave side only e if the slaves are scattered among several access points in the network you must use the COMETH MODBUS firmware on each slave side If you want to access a remote serial device in the same manner as a local port including control signals e usually COMETH SERVERCOM on the device side and a COM port redirector on the computer will do that If you want to exchange serial data no control signals between two or more devices through a LAN e use COMETH MULTIPOINT on all the serial att
13. product serial number COMETH USER S MANUAL Release A 9 December 10 2007 11 III 9 Mechanical characteristics For COMETH rev A Metal housing Weight 0 034 Kg 0 075 Ibs without power supply BOTTOM VIEW ON Adm lt SIDE VIEW REAR VIEW Dimensions in mm 49 5 ete 44 5 2 GND ef vdc 232 ee Power Jack LED SS Link Tx Rx iii dum Eth RS232 Diag TOP VIEW 225 ases i OPE zz COMETH USER S MANUAL Release A 9 December 10 2007 213 For COMETH rev B Metal housing Weight 0 045 Kg 0 095 Ibs without power supply BOTTOM VIEW ON Adm Vdc SIDE VIEW Gnd E hemet 23 20 11 60 LED L L Eth RS232 5 80 80 2 Diag TOP VIEW udi 24 5 A 5 Of i 3 COMETH USER S MANUAL 157175033 Release A 9 December 10 2007 IV CONNECTORS IV 1 Ethernet connector cabling RJ45 connector 8 pins PIN Signal name Direction 1 TxD Output 2 TxD Output 3 RxD Input 4 N C Not Connected 5 N C Not Connected 6 RxD Input 7 Not Connected 8 N C Not Connected IV 2 RS232 connector cabling DB9 female with pseudo DCE cabling 1 Oi ees s 0000 9 6 PIN Signal name Direction 1 DCD Input to Cometh 2 TxD Output from Cometh 3 RxD Input to Cometh 4
14. set net dhcp on OK root set net dhcp clientid cometh b12a27 OK root show net dhcp DHCP on root show net dhcp clientid cometh b12a27 root gt show net dhcp hname undefined host name Now you should save the configuration changes root roo Example gt save t gt reset 3 use the MAC address for client id and also a network administrator provided host name cometh12 mydomain com root gt set net dhcp on OK root gt set net dhcp clientid OK root set net dhcp hname cometh12 mydomain com OK root gt show net dhcp DHCP on root gt show net dhcp clientid undefined client id root gt show net dhcp hname cometh12 mydomain com Now you should save the configuration changes root roo gt save t gt reset COMETH USER S MANUAL Release A 9 December 10 2007 s VI 7 Activate the relevant firmware In the first installation step you chose the COMETH firmware that most suited your needs Now it is time to activate this firmware and set its own parameters Say that you determined that you need to activate the MULTIPOINT firmware Connect to the administration either through the network or the serial interface identify yourself then display the list of available firmwares root gt show prog list file status name version update 0 valid DOWNLOAD STD 2 6 0 1 2 2 1 valid DOWNLOAD STD
15. the corresponding show command below Its purpose is to copy exactly a COMETH s configuration in another COMETH or to restore a lost configuration BEWARE There are as many parameter sets as firmware segments in the COMETH FLASH EPROM The same firmware can be downloaded in several segments in the COMETH for example for testing purpose In this case there will be several parameter sets for this firmware show local offset display all the configuration parameters specific to one of the firmwares in the COMETH offset must be 0 The purpose of this command is to display the set local commands see above necessary to fully restore common parameters in a COMETH COMETH USER S MANUAL Release A 9 December 10 2007 Parameters display paa Displaying the configuration parameters is allowed if the showperm parameter is set to allow If it is set to deny the configuration parameters can only be displayed by the administrator after logging in Some parameters can be displayed for your information but cannot be changed show version show location show showperm show netconfigperm show savecount show net ethernet show net dhcp show net dhcp clientid show net dhcp hname show net ip show net mask show net gateway show net configport show net txsize show net rxsize show net metric show net keepalive show net segtmo show net reconnect show prog info Seg show prog data Seg show prog list sho
16. unique on the network You can statically specify the address you want by means of the administration commands or you can use an existing DHCP server on the network to give you an available address If you define both DHCP and static IP address the DHCP configuration will override the static IP VI 6 1 Static IP address configuration In the following lines replace XXX YYY ZZZ TTT by the IP address and netmask you chose for the COMETH root set net ip 222 root set net mask 222 Now you should save the configuration changes root save root reset Example this sample session will reinstall factory values root set net dhcp off OK root set net ip 192 168 1 253 OK root set net mask 255 255 255 0 OK root save OK root gt reset COMETH SERVERCOM version 2 12 0 0 Administration mode ready VI 6 2 Static router gateway configuration If the COMETH and the network application using it are not on the same Ethernet LAN 1 if they are separated by one or more gateways also caller routers you must set the nearest gateway address into the COMETH and you must set the maximum number of gateways to cross if the factory default of 10 is not enough The following line is required only if you will cross more than ten gateways root set net metric n 66 n is the number of gateways to cross If you use a DHCP server that provides gateway in
17. zie COMETH USER S MANUAL 127175023 Release A 9 December 10 2007 iii TABLE OF CONTENTS I INTRODUCTION eiscsssscdccccccccscctsscscecosscsacceasccsocdsescsscosscssocesssseecesscdsnoesesevecessc cavesscdescevese 5 1 1 PURPOSE OF THIS 066 00000000000 5 L2 EET 6 II PACKAGE CHECKLIST 7 PRODUCT SPECIFICATIONS e eeeeee ee steh seta setis e ess eas tes tease 9 CHARAGCTERISTIQS eerte ERE eee Te 9 IIT 2 POWER Le ti Eb es E 9 IIES E ANN INTERFACE ehe A MTS ete eee a trees doeet hen 9 42 lt SERIALINTERFACGE e eo dans elles eerte 9 MY EEDINDIGATORS 3 2 trece ee E se men 10 IIL6 SWIECHES 22 e ten md eet eter eiecerunt ed eo ca eee NE 10 7 ENVIRONMENTAL LIMITATIONS 000000 000000000000 10 8 PRODUCT INFORMATION 7 10 9 MECHANICAL CHARACTERISTICS 0 0 0 000000 0 0 6 000200 9 11 IV CONNECTORS 52005505 as Are ud repu 13 IV 1 ETH
18. 10 rue des Entrepreneurs 78450 VILLEPREUX FRANCE Telephone 33 0 1 30 56 46 46 Fax 33 0 1 30 56 12 95 Web www acksys fr Hotline support acksys fr Sales sales acksys fr
19. ERNET CONNECTOR 0 006 0 13 IV 2 RS232 CONNECTOR 0 9 13 IV 3 POWER SUPPLY JACK ue sine cedo etes dede deboli 13 V CABLING eene eene eas tasses seen s eas toss ene ease eaae 15 V 1 ETHERNET CABLING 6 0 0000000000 15 V 2 RS232 CABLING 6 0000000000 0000000 15 GETEINGSTARTED 550 ette nn bnt eder ete 17 VI 1 DETERMINE THE NEEDS OF YOUR APPLICATION eee seeeeee 17 VIL2 COLLECT NETWORK 8 5 02 20 0 010000000000 18 VL3 CONNECT POWER 2 0000000060 18 4 ADMINISTRATION BY RS232 SERIAL 02 2 020 0 8 100000000000 19 VELES ADMINISTRATION BY LAN sere ree ed lies 19 VL6 TCP IP CONFIGURATION cccccccccccssssescscccccccessessscecescsscsssessecsceccsssssueusuesceceeseeeues 20 VI 7 ACTIVATE THE RELEVANT FIRMWARE ccssceccccssceccccsseccecceseececcsseececceneeseeneneess 23 VI 8 INSTALL THE COMETH INITS FINAL 2 200000000000000000 23 VL9 OTHER 00 0 0 00000000000000000
20. FC 2136 DNS update with DHCP information is not supported on the COMETH side So you need a DHCP server which supports RFC 2136 for example the Windows 2000 DHCP server e the COMETH has no IP address as long as the diag LED blinks e only the IP address subnet mask gateway address and lease time are used in the configuration information returned by the DHCP server In order to give an IP address to a COMETH the DHCP server must be able to uniquely identify the requesting device i e the COMETH Hence the COMETH must provide a unique identification to the DHCP server Usually the MAC address is used for this purpose Some administrators or DHCP servers require other kinds of identification Hence you can either set up manually the Client ID DHCP option 61 else the MAC address will be used as a string identifier If you need you can also set up a Host Name DHCP option 12 The Client ID is always sent to the server The Host Name is sent only if set manually Example 1 this sample session will use only the MAC address root gt set net dhcp on OK root gt show net dhcp clientid undefined client id root gt show net dhcp hname undefined host name Now you should save the configuration changes root gt save root gt reset COMETH USER S MANUAL Release A 9 December 10 2007 229 Example 2 use a network administrator provided name cometh b12a27 for the COMETH device root
21. achements involved e if you have only two devices and not loosing data is more important than speed and network bandwidth you must use COMETH SERVERCOM on one side COMETH TCPCLIENT on the other side If you want to write a SOCKET application to access remote devices e use COMETH SERVERCOM in raw mode TCP to handle unrelated devices e use COMETH MULTIPOINT UDP to broadcast to several devices at the same time If you want a remote serial device to call into your application COMETH TCPCLIENT is what you need COMETH USER S MANUAL Release A 9 December 10 2007 18 VI 2 Collect network characteristics You will need at hand the following information about your LAN Will the COMETH use DHCP C If DHCP is used e Does the network administrator or the DHCP server require a specially crafted client identifier Client ID DHCP option 61 e Does the network administrator or the DHCP server require a Client Host Name hostname identifier DHCP option 12 If DHCP is not used e address for the COMETH see below Does your LAN need use of a netmask Netmask value e Will the data connection or the admin Gateway address connection cross a gateway COMETH IP address You must assign an IP address to the COMETH YOU CANNOT JUST PICK ONE AT RANDOM and wish it will work The chosen address must meet the following
22. alling a COMETH should know how his her network is organized COMETH USER S MANUAL Release A 9 December 10 2007 6 1 2 The software The COMETH FLASH EPROM can contain up to six different firmwares including client and server software tunnelling modbus support etc New firmwares can be developed by ACKSYS to meet specific needs To list all firmwares flashed in the COMETH FLASH EPROM a dedicated administration command show prog list can be run see chapter 4 See download firmware user guide DTUS040 pdf documentation to understand in details the software architecture All the embedded firmwares have an administration system relying on a Command Line Interpreter The administration system is accessible through the serial port as well as through the network It s also accessible with windows browser Administration commands common to all firmwares are documented in chapter VIII 4 Commands list The commands specific to other firmwares SERVERCOM MODBUS TCP MULTIPOINT TCPCLIENT are documented in a dedicated manual See the ACKSYS CDROM or acksys web site http www acksys fr Upon delivery the default firmware enabled is SERVERCOM which enables two main functionnalities TCP server To use COMETH in raw mode with a network socket application Telnet RFC2217 To use COMETH with a com application needs a COM port redirector like VIP COMETH USER S MANUAL Release A 9 Dece
23. e effect immediately as specified elsewhere Beware that the parameters you change do not affect the COMETH at the moment you set them For example if you change the DHCP Client Id this will take effect at the next lease expiration which could happen soon If you change the MAC address it could adversely affect ARP responses if such a request is received For these reasons a set common command should be followed by a save and a reset command set default restore factory defaults except the MAC address the save count the current firmware and the next firmware to run set common offset hex hex hex insert the specified values in the data area which holds all the configuration parameters common to all firmwares in the COMETH This command should be copied and pasted from the output of the corresponding show command below Its purpose is to copy exactly a COMETH s configuration in another COMETH or to restore a lost configuration show common offset display all the configuration parameters common to all firmwares in the COMETH offset must be 0 The purpose of this command is to display the set common commands see above necessary to fully restore common parameters in a COMETH set local offset hex hex hex insert the specified values in the data area which holds all the configuration parameters specific to one of the firmwares in the COMETH This command should be copied and pasted from the output of
24. eady to use usually in less than one second or in about 10 seconds if you issued a set prog enable command before e Shortly after reset if DHCP is enabled the LED flashes once per second until network parameters are acquired e The TCPCLIENT firmware flashes this LED five times per second whenever it is not connected to a server If the DIAG LED stays lighten at power up it means that the COMETH is out of order Try to power it down then up again after a few seconds If the DIAG LED flashes to indicate Administration mode push firmly the Adm switch in the opposite position OFF Tx RxRS232 e this LED flashes when sending or receiving data on the asynchronous serial interface If the TX RXRS232 LED stays off while your device is sending data it means that the RS232 cable is bad improperly connected or some kind of flow control forbids transmission If the Serial TX RX LED stays off while you are sending data to your device it means that some kind of flow control forbids transmission or the COMETH does not receive Ethernet data frames Link Eth e this led lights up when the COMETH is correctly attached to the LAN If the LINK LED stays off it means that your cable is bad incorrectly inserted in the HUB or in the COMETH or the HUB is crossing the cable or the cable is crossed COMETH USER S MANUAL Release A 9 December 10 2007 26 VII 2 Checking the network topology In the following exa
25. formation to the COMETH you won t need the following command Otherwise the following command is required if you need to cross one or more gateways root set net gateway XXX YYY ZZZ TTT XXX YYY ZZZ TTT is the address of the gateway closest to the COMETH here closest means that it is on the same Ethernet LAN Do not forget to save the configuration changes root save root reset COMETH USER S MANUAL Release A 9 December 10 2007 21 VI 6 3 Dynamic IP address and gateway configuration with DHCP Note DHCP is not available in early revisions of the firmwares On a COMETH delivered in 2002 check the existence of the show dhcp command to know if you need a firmware upgrade Diag LED blink in DHCP mode When the diagnostic LED red LED is blinking once per second the COMETH is requesting a network configuration to DHCP server Functionality of the DHCP client e supports all kinds of IP configuration Manual Automatic Dynamic see RFC 1541 e supports option 12 of RFC 2132 Host name e supports option 61 of RFC 2132 client ID The default client ID used is the MAC address of the COMETH or a ClientID configured by the set net dhcp clientid command The MAC address is used if ClientID is empty e supports DHCP agent or BOOTP agent specified in RFC 2134 e supports the infinite lease Limitation of DHCP client in COMETH the lease of DHCP server must be less than 24 9 days e R
26. is 1 to 255 set net keepalive n 1112 n defines the number of probes to send before closing the connection tI defines the time in seconds before sending the first probe since the connection is inactive the activation delay mentioned earlier t2 defines the time in seconds between each probes the interval delay mentioned earlier ranges from 1 to 255 t1 and 12 range from 1 to 65535 set net keepalive 0 0 0 disables use of the keep alive feature set net segtmo nsec nsec is the retransmission timeout in seconds Set to 0 to retransmit indefinitely set net reconnect on These two commands turn on or off the forced set net reconnect off reconnection feature COMETH USER S MANUAL Release A 9 December 10 2007 Bey Setting displaying a group of parameters The following commands allow to retrieve and set globally the COMETH configuration Security note sensitive data like login and password information are conveyed in clear text by the following commands You must take any step to protect these data from disclosure As a basic protective step the commands themselves can only be used by a logged in operator Usage note Some data conveyed by these commands should be kept unique to a COMETH This applies especially to the IP and MAC addresses in the common parameters You should either avoid to change this unique data or to restore them after using the set commands Usage note Some parameters tak
27. mber 10 2007 PACKAGE CHECKLIST The COMETH package contains the following components One COMETH device One DB9 male to DB25 female connector converter COMETH 232 quick start guide External AC DC Power adapter ACKSYS CD ROM The COMETH LITE package contains the following components One COMETH device without housing bare PCB One DB9 male to DB25 female connector converter COMETH 232 quick start guide External AC DC Power adapter ACKSYS CD ROM COMETH USER S MANUAL Release A 9 December 10 2007 COMETH USER S MANUAL 127175023 Release A 9 December 10 2007 PRODUCT SPECIFICATIONS III 1 Characteristics RS232 to Ethernet 10 BASE T adapter with high frequency filter and surge protection Metal housing including DB9 female connector on the RS232 side and RJ45 on the Ethernet side External AC DC power supply RS232 15 kV ESD protection Ethernet isolation 1 5 KV IIL2 Power External AC DC power adapter 200 mA 5VDC Maximum current 160 mA at 5V Power consumption 800 mW COMETH rev A DC POWER via two micro jack 1 3 3 5 mm connectors DC POWER through pin 9 of the RS232 connector 4 5 VDC to 5 5 VDC COMETH T only COMETH rev B DC POWER via one jack 2 5 5 mm connector DC POWER through pin 9 of the RS232 connector 4 5 VDC to 5 5 VDC Connector information see section CONNECTORS IIL3 LAN interface Ethernet 10 BASE T RJ45 Ethernet connector Etherne
28. mples the COMETH IP address is 192 168 1 253 the computer used for the tests has IP address 192 168 1 244 First you must ensure that the COMETH has a unique IP address on the local network Disconnect the COMETH from the LAN then try to PING the COMETH address from a computer connected to the local network This should result in an error or timeout C gt arp d 192 168 1 253 C gt ping 192 168 1 253 Pinging 192 168 1 244 with 32 bytes of data Request timeout Request timeout Request timeout Request timeout The Request timeout error messages are normal and expected in this case If this is not the case another host has the same IP address Correct the problem If the answer is some message like no route to host the computer you are using for the test has no access to the COMETH s LAN or the network part of the IP address of the COMETH is incorrect Now reconnect the COMETH to the LAN and try to PING it C gt arp d 192 168 1 253 C gt ping 192 168 1 253 Pinging 192 168 1 244 with 32 bytes of data Answer from 192 168 1 253 bytes 32 time lt 10ms L 64 Answer from 192 168 1 253 bytes 32 time lt 10ms L 64 Answer from 192 168 1 253 bytes 32 time lt 10ms L 64 Answer from 192 168 1 253 bytes 32 time lt 10ms L 64 If there is no answer the IP address of the COMETH is not this one Correct the problem with the administration system Be sure to save the changed configuration
29. n the client and the COMETH the keep alive feature will wait for a defined amount of time say the activation delay Then it will probe the client several times waiting a bit say the interval delay between each probe for an answer from the client If none of the probes is answered the COMETH closes the TCP connection In the process it may also drop control signals on the asynchronous serial port depending on the serial dtr and rts settings The set net keepalive and show net keepalive series of commands allow you to set up this mechanism When data sent from the COMETH is not acknowledged by the remote client the COMETH will retransmit By default it will retry indefinitely The optional data segment timout feature defines a maximum delay after which the TCP connection will close dropping the current data and possibly control signals on the asynchronous serial port on the assumption that the client will reestablish the connection when it detects that it was lost The set net keepalive command also sets the segtmo parameter for a corresponding amount of time The set net segtmo and show net segtmo commands allow you to set up this parameter independantly Forced reconnection The reconnect feature as an alternative to the keep alive mechanism allows the Cometh to accept unconditionally at any time a new connection request emanating from the same IP address as the currently opened connection
30. o log in before he is allowed even to display the configuration You can forbid administration from the network after which the COMETH configuration can only be achieved by administering through serial port VIII 3 Handling disconnections in TCP Some COMETH firmwares use the TCP protocol to communicate with their client application While this protocol provides reliable data transfers it requires the client to establish a virtual link with the COMETH and to relinquish this link in order to allow another client to call in the COMETH If the client software crashes it has no time to relinquish the link and the COMETH keeps thinking that the link is established with a client that has disappeared Now if the client application is restarted and tries to connect the COMETH will reject the call because it thinks it s already connected Two features of the COMETH allow the management of such cases Note These features were not available in early revisions of the firmwares On a COMETH delivered in 2002 check the existence of the show net reconnect command to know if you need a firmware upgrade Keep alive and segment timeout These features allow a COMETH device to detect a possible loss of connection with the remote client thus COMETH USER S MANUAL Release A 9 December 10 2007 30 relinquishing the obsolete link and allowing a new connection request to be accepted When no data exchange takes place betwee
31. r behavior of the asynchronous serial interface change more network parameters like the data TCP port set up security options and so on Please refer to the Advanced configuration section Check also the parameters settings section of the relevant firmware document i e SERVERCOM MODBUS MULTIPOINT To use the SERVERCOM mode see documentation SERVERCOM UserGuide DTUS043 pdf To use the MODBUS TCP mode see documentation MODBUS TCP UserGuide DTUS041 pdf To use the MULTIPOINT mode see documentation MULTIPOINT UserGuide DTUS056 pdf To use the TCPCLIENT mode see documentation TCPCLIENT UserGuide DTUS045 pdf You are now ready to use the COMETH COMETH USER S MANUAL Release A 9 December 10 2007 25 TROUBLESHOOTING Please check the following thoroughly before calling for support If you must call we will need complete information about your network topology IP addresses of intervening devices description of your device s serial connector model of the computer and operating system The checks should be done in the order given below VII 1 Checking the hardware Three LEDs allow hardware diagnostic Diag e In Administration mode this LED flashes twice per second unevenly bip bip bip bip e In Exploitation mode this LED flashes when an error is detected in characters received on the asynchronous interface e When resetting this LED stays lighten until the COMETH is r
32. rent class A networks exist and each consist of up to 16 777 216 devices Class B network IP address 128 0 x x to 191 255 x x The first two bytes define the network and the last two bytes define the host Class B networks are typically used for large company networks and each can consist of up to 65 534 devices Class C network IP address 192 0 0 x to 223 255 255 x The first three bytes define the network and the last byte defines the host Class C networks are the most common and are often used in smaller company and each network can consist of up to 254 devices More complex classes can be defined by manipulating the IP netmask associated with the IP address See the www ietf org documentation The bits set to one in the IP netmask define the bits of the associated IP address to be taken as the network part Network class Network bits Host bits Netmask A 8 24 255 0 0 0 B 16 16 255 255 0 0 C 24 8 255 255 255 0 Each COMETH has one user assigned IP address Its factory assigned default value is the Class C address 192 168 1 253 IX 4 Gateways Each network device communicating through gateways MUST know the IP address of the gateway nearest to it It will use this gateway to forward data to farther LANs If a device does not know its gateway it may receive data but may not return an answer For example this can forbid answering a PING even if the PING request makes its way to the device
33. requirements e Its network part must match the network part of other devices on the same LAN e Its host part must be different from any other devices on the same LAN beware of printers routers and gateways e Its host part must not be a reserved value like or 255 NETMASKS If no netmask applies it can be deduced from the IP address class Class A netmask 255 0 0 0 Class B netmask 255 255 0 0 Class C netmask 255 255 255 0 If in doubt please ask to the local Network Administrator VI 3 Connect power supply Connect the power supply to the COMETH Notice COMETH has no ON OFF switch It turns on automatically when power supply is connected COMETH USER S MANUAL Release A 9 December 10 2007 19 VI 4 Administration by RS232 serial port This is the recommended procedure to install a new COMETH In some cases you can install a new COMETH through the LAN refer to paragraph VI 5 Administration by LAN VI 4 1 Select Administrator mode Push the switch towards the Adm position The red DIAG light should blink twice per second If it is not the case try pushing the switch in the opposite direction VI 4 2 Connect to a serial port This step is required to set up the COMETH IP address Below we describe how to do this with a PC with Windows Other devices ANSI console or operating systems Linux with minicom or can be used but this is beyond the scope of this manual
34. rred to as the hardware address or MAC address The first three bytes are fixed to Hex 00 09 90 and identify an ACKSYS product The last three bytes are specific to each COMETH product This address is assigned at the factory and should not be changed An Ethernet LAN can be made of hubs switches bridges These must not be confused with IP gateways see below IX 3 IP address The IP address is a 4 bytes number unique to each device on the network which hosts can use to communicate IP addresses can be private or public Public ones are reserved to devices that require to send data over a public network such as internet They are usually purchased or leased from a local ISP The IP address is usually represented in the decimal dotted notation which consists of the decimal value of each of the four bytes separated by dots The IP address is divided into two parts network and host To support different needs three network classes have been defined In the following X stands for the host part of the IP address A host part with all bits set to 1 is the broadcast address meaning for for every device A host part with all bits fixed to 0 addresses the network as a whole for example in routing entries Class A network IP address 1 x x x to 127 x x x COMETH USER S MANUAL Release A 9 December 10 2007 36 The first byte defines the network the last three bytes define the host Only 127 diffe
35. t IL IEEE 802 3 Ethernet speed 10 Mbps IP Protocols TCP IP V4 Telnet ICMP RFC 2217 DHCP One TCP port port 23 reserved for remote TELNET administration one UDP port port 68 when DHCP is used other TCP and UDP ports available and configurable for data exchange 4 Serial interface Full RS232 EIA TIA 574 Serial interface DB9 female connector with DCE pinout Control signals TxD RxD RTS DTR CTS DSR DCD and RI signals Speed 10 to 230400 bps Parity none even odd space or mark Data bits 7 or 8 Stop bits 1 or 2 COMETH USER S MANUAL Release A 9 December 10 2007 10 5 Led indicators Three LED indicators Diagnostic general purpose mode error detection reboot indicator Asynchronous interface Rx Tx activity Ethernet LINK active indication 6 Switches One switch allows asynchronous serial interface mode selection Administration Data For COMETH rev B only A three contacts strap located in the device Strap between pins 1 and 2 remote power supply mode Strap between pins 2 and 3 external power supply mode 7 Environmental limitations Operating temperature 0 C to 65 C tested up to 140 C on sample pieces Storage temperature 40 C to 85 C Humidity 0 95 RH without condensation 8 Product information label Located on the underside of the COMETH it contains the following information e Product name e Ethernet MAC Address Also used as
36. the COMETH firmware in use and the remote side So please now refer to the relevant COMETH firmware user guide for further troubleshooting COMETH USER S MANUAL Release A 9 December 10 2007 28 COMETH USER S MANUAL 1510 5033 Release A 9 December 10 2007 290 VIII ADVANCED CONFIGURATION VIII 1 Access to administration commands You can access the administration system by two means the RS232 interface or TELNET through the LAN The RS232 administration is activated by pushing the ADM switch to the ON position This forbids parallel use of the COMETH for data transfer The TELNET administration is activated by TELNETing to the IP address of the COMETH on port 23 which is the default port for TELNET In this way data transfer can proceed in parallel This is useful for probing the configuration without changing it When TELNETing to one out of many COMETH you can wonder where is the device you are accessing There is a field called location that you can set up and display to reflect the physical location of the device VIII 2Security By default using the administration system through TELNET allows you to display the COMETH configuration without logging in but you cannot change it Changing the configuration is protected with a username login and password which you can change at will The default setting is e login root e password root Optionally you can require the administrator t
37. w prog enable firmware version physical location of the COMETH is anybody allowed to display configuration allowed denied is it allowed to administer from the network allowed denied number of times the save command has been used assigned ethernet address DHCP use on off value enforced on DHCP option 61 if any value assigned to DHCP option 12 if any assigned IP address local subnet mask default gateway IP address administration port telnet 23 max size of sent frames max size of received frames number of allowed gateway hops for outgoing traffic 0 255 keepalive parameters as n probes t1 t2 sec else off segment retransmission timeout in seconds forced reconnection feature use on off Display information about firmware located in segment Seg same in computer readable format Display information about all 6 firmwares Display the currently running firmware and the one that will run after the next reset COMETH USER S MANUAL Release A 9 December 10 2007 34 5 Factory settings common to all firmwares prog enable login password location showperm netconfigperm net ethernet net dhcp net dhcp hname net dhcp clientid net ip net mask net gateway net configport net txsize net rxsize net metric net keepalive net segtmo net reconnect SERVERCOM firmware located in segment 2 Functionnalities Raw TCP server TELNET amp TELNET 2217
Download Pdf Manuals
Related Search
Related Contents
Bryant 551J User's Manual XC1800-120 MY14高級機種說明書(8國語言).indd Installation Instructions! RAVE Sports® Mass Frantic El motor de aire caliente como máquina térmica KOHLER K-12183-BN Installation Guide Vol.7 (1998/07/06 発行) Bedienungsanleitung vol.51 - JET 一般財団法人 電気安全環境研究所 Benutzerhandbuch Version 5.0 Copyright © All rights reserved.
Failed to retrieve file