Home

User Manual GC-Net232-DCE-220 - Advantage

image

Contents

1. Packing Interval Packing Interval defines how long the unit should wait before sending accumulated characters This wait period is between successive network segments containing data For alternate packing the default interval is 12 ms Trailing Characters In some applications CRC Checksum or other trailing characters follow the end of sequence character this option helps to adapt frame transmission to the frame boundary Send Characters If 2 Byte Send Character Sequence is enabled the unit interprets the sendchars as a 2 byte sequence if not set they are interpreted independently If Send Immediately After Send Characters is not set any characters already in the serial buffer are included in the transmission after a transmit condition is found If set the unit sends immediately after recognizing the transmit condition sendchar or timeout Note A transmission might occur if status information needs to be exchanged or an acknowledgment needs to be sent 3 13 14 DisConnTime Inactivity Timeout Use this parameter to set an inactivity timeout The connection is dropped if there is no activity on the serial line before the set time expires Enter time in the following format mm ss where m is the number of minutes and s is the number of seconds To disable the inactivity timeout enter 00 00 Range is 0 disabled to 5999 seconds 99 minutes 59 seconds Default setting is 0 3 30 NET232 NETUSB User Guid
2. sees 3 28 Table 15 Flush Mode Options 00 0 ce eesecesecesecsseceececenseeeseeeeeeeceeeeaeeeaeeeaaecaaecaeseaeenaeenaeee 3 29 Table 16 Pack Control Options eese nennen rennen 3 30 Table 17 Problems and Error Messages eseeeeeeeeeeenen ener nre 5 1 Table 18 Monitor Mode Commands eene ener 6 2 Table 19 Command Response Codes eene rennen 6 2 viii NET232 NETUSB User Guide Overview 1 Overview Many electronic devices with an RS232 serial interface are connected to their control system through an RS232 serial cable In the drawing below a serial device is connected to a computer using an RS232 cable RS232 Serial cables have length limitations so that the serial device must be close to the control point generally within 100 feet 8 Serial Device Computer To overcome the serial cable limits you can use a NET232 to make a serial to Ethernet link Now you can connect the control point to the serial device over the Internet The software on the control system does not have to be changed The port used by the control system is redirected to a virtual Ethernet port Ethernet NET232 Serial to Ethernet E E Adapter ot Serial Device Computer In some cases the control system cannot use redirector software or the system engineer simply wants to replace the short RS232 serial cable with
3. Function From the drop down menu select the purpose of the specified pin See Configurable Pin Functions for a description of each available function Direction Select whether the pin is an Input or an Output Automatically set for RTS and CTS Active Level Select the signal active level Low or High Automatically set for RTS and CTS Configurable Pin Functions General Purpose I O Monitors input using the 77F0 port or controls output by the 77FO port Modem Ctrl In DTR Allows for control of the connection and disconnection of channel 1 Modem Ctrl Out DCD Not Used Status LED 1 Not Used Status LED 3 Not Used Flow Control In RTS Allows for flow control on the connection with hardware handshaking You can set CP 2 for RTS Flow Control Out CTS Allows for flow control on the connection with hardware handshaking You can set CPO for CTS 3 When you are finished click the OK button 4 On the main menu click Apply Settings NET232 NETUSB User Guide 3 13 Configure 3 9 Apply Settings 1 To save and apply the configuration changes to the device server click the Apply Settings button Note Clicking OK on each page does not change the configuration on the device OK tells the XPort what changes to use Apply Settings makes the changes permanent and reboots the XPort 2 Click Yes to set factory settings or click No to cancel 3 10 Apply Factory Defaults Click the Apply Factory
4. Blinking Green Full Duplex Activity 2 10 Product CD The product CD sent with the NET232 USB contains Device Installer software USB Device Drivers Application Notes firmware user guides and technical documents The CD contains Virtual COM Port Drivers for the NETUSB device NET232 NETUSB User Guide 2 7 Overview 2 11 Technical Specifications Table 4 Technical Specs Category Description CPU DSTni EX 186 CPU Firmware Upgradeable via TFTP and serial port 200msec power up down reset pulse Reset triggered at 3 08V Reset Circuit Serial Interface USB Serial Line Formats RS232 Baudrate software selectable 300 to 230400bps in standard mode 460800 and 921600 in high performance mode USB Type A Male connector USB Specification 2 0 Compliant Full Speed 12Mbps Baud rates 300bps to 921 6Kbps 512 Byte Receive Buffer 512 Byte Transmit Buffer Virtual COM Port Device Drivers for Win 98 2000 XP Win CE Linux 2 40 7 or 8 data bits 1 2 Stop bits Parity odd even none Modem Control CTS RTS Flow Control XON XOFF software CTS RTS hardware None Network Interface RJ45 Ethernet 10Base T or 100Base TX Auto sensing Compatibility Ethernet Version 2 0 IEEE 802 3 Protocols Supported ARP UDP IP TCP IP Telnet ICMP SNMP DHCP BOOTP TFTP Auto IP SMTP and HTTP LEDs 10Base T amp 100Base TX Activity Full half duplex Management Internal web server SN
5. Without Echo In Modem Mode echo refers to the echo of all of the characters entered in command mode it does not mean to echo data that is transferred Quiet Mode without echo refers to the modem not sending an answer to the commands received or displaying what was typed Data Echo amp Full Verbose The unit echoes modem commands and responds to a Modem Response command with a message string shown in the table below Numeric Response The unit echoes modem commands and responds to a command with a numeric response Modem Responses Full Verbose The unit does not echo modem commands and responds Only to a command with a message string shown in the table below Numeric Response The unit does not echo modem commands and responds to a command with a numeric response Message Meaning OK Command was executed without error CONNECT A network connection has been established DISCONNECT A network connection has been closed RING A remote device having IP address n n n n is connecting to this n n n n device Message Meaning OK Command was executed without error CONNECT A network connection has been established NO CARRIER A network connection has been closed RING A remote device having IP address n n n n is connecting to this n n n n device 0 OK 1 Connected 2 Ring 3 No Carrier 4 Error Received commands must begin with the two character sequence AT and must be terminated with a carriage return character A
6. 0 0 12 then the DHCP name will be LTX12 This method will only work with 2 digit numbers 0 99 3 13 Channel 1 Configuration Serial Port Parameters This section describes how to setup the serial port The following parameters are displayed when you select Channel 1 Option 1 Baudrate 9600 I F Mode 4C Flow 00 Port No 10001 ConnectMode CO Send in Modem Mode Y Auto increment source port N Show IP addr after RING enabled Remote IP Address 000 000 000 000 Remote Port 00000 DisConnMode 00 FlushMode 00 DisConnTime 00 00 SendChar 1 00 SendChar 2 00 3 13 1 Baudrate The unit and attached serial device such as a modem must agree on a speed or baud rate to use for the serial connection Valid baud rates are 300 600 1200 2400 4800 9600 default 19200 38400 57600 115200 and 230400 bits per second XPort 03 and greater units also support high performance baud rates of 460800 and 921600 bps See Expert Settings on page 3 33 3 13 2 I F Interface Mode The Interface I F Mode is a bit coded byte that you enter in hexadecimal notation Table 7 Interface Mode Options I F Mode Option 7 6 5 4 RS 2832C NO 3 RS 422 485 RS 485 2 wire oa 7 Bit 1 8Bt T No Parity fo Jo oara Odd Parity 0 1Stpbt O0 1 j 1 2 stop bits are implemented by software This might have influence o
7. 3 16 5 Disable Port 77FE Hex esses ener ener 3 35 3 16 6 Disable Web Server onien EE enne ener enne 3 36 3 16 7 Disable Web Setup sese 3 36 3 16 5 Disable ECHO Ports reet tese ea nennen 3 36 3 16 9 Enable Encryption sieneen riirn eiieeii i 3 36 3 16 10 Enable Enhanced Password cccccccssssseceeseececesssececesseeaeceeseaaeens 3 37 3 16 11 Disable Port 77FO Hex essere enne 3 37 6 NET232 NETUSB User Guide SAT DePaul m 3 37 3 18 Bxit Contisuration MOde etii detener tino tie bae Lei eterna 3 37 4 Updating Firmware e 4 1 4 1 Obtains Firmware ia uerit A nanan edie Edo PRG 4 1 4 1 1 Reloading Firmware ssesssesssessseessessseessessseessesssessseessresstesseeesreeseesee 4 1 4 1 2 Via Device Installer eee ret retine rene e ehh tree ete deine aas 4 1 EM Troublesh gting RRTEERETETRTIOERELISUTLLEITI ILIA UTILI ITI 5 1 5 1 Technical Support oit et or eb i epe nee ie ee EROS 5 3 Mh Dri uh rico cR 6 1 Gl Monitor Mode eoe aee ie lt a RR ae E EEE SEEE o OEE ee EEES 6 1 6 1 1 Entering Monitor Mode Usingthe Serial Port ess 6 1 6 1 2 Entering Monitor Mode Using the Network Port ese 6 1 6 1 3 Monitor Mode Commandis essere 6 1 List of Figures Figure 1 NETUSB Drivers
8. Comm Port Redirector 30704 Reserved 77F0h 30718 Reserved 77FEh Warning We recommend that you not use the reserved port numbers for this setting as incorrect operation may result The port number functions as the TCP UDP source port number for outgoing packets Packets sent to the unit with this port number are received to this channel The port number selected is the Incoming TCP UDP port and Outgoing TCP UDP source port Port 0 is used when you want the outgoing source port to change with each connection If the port number is set to 0 the initial value of 50000 will be used to actively establish a connection Each subsequent connection will increment the number by 1 When the port number reaches 59999 it will wrap back to 50000 The automatic port increment feature must only be used when this device is the one initiating a connection using TCP The port must be set to a non zero value when this is a passive device or when UDP is being used instead of TCP NET232 NETUSB User Guide 3 21 Configure 3 13 5 Connect Mode Connect Mode defines how the unit makes a connection and how it reacts to incoming connections over the network Enter Connect Mode options in hexadecimal notation Note If you do not want to convert the binary numbers to hexadecimals yourself look up the values in the Tech Notes guide Table 11 Connect Mode Options Connect Mode Option 7 6 5 4 3 2 1 0 Incoming Connection Never accept incoming Ac
9. Defaults button to set the device server back to the default settings 3 14 NET232 NETUSB User Guide Configure 3 11 Configuration Using Telnet or Serial Port You must configure the unit so that it can communicate on a network with your serial device The unit s configuration is stored in nonvolatile memory and is retained without power You can change the configuration at any time The unit performs a reset after the configuration has been changed and stored 3 11 1 Using the Serial Port If you want to initially configure the unit through a serial connection follow these steps 1 Connect a console terminal or PC running a terminal emulation program to your unit s serial port The default serial port settings are 9600 baud 8 bits no parity 1 stop bit no flow control 2 To enter Setup Mode reset the unit by cycling the unit s power power off and back on The self test will begin You have 5 seconds to enter three lowercase x characters xxx Note The easiest way to enter Setup Mode is to hold down the x key at the terminal or emulation while resetting the unit 3 At this point the screen display is the same as when you use a Telnet connection To continue with a serial port login skip ahead to 3 77 3 Telnet and Serial Port Messages on page 3 15 3 11 2 Using a Telnet Connection To configure the unit over the network establish a Telnet connection to port 9999 Note If you use the Telnet Configuration tab on Device
10. Gateway IP Address The gateway address or router allows communication to other LAN segments The gateway address should be the IP address of the router connected to the same LAN segment as the unit The gateway address must be within the local network The default is N No meaning the gateway address has not been set To set the gateway address type Y and enter the address 3 12 3 Netmask Number of Bits for Host Part A netmask defines the number of bits taken from the IP address that are assigned for the host section Note Class A 24 bits Class B 16 bits Class C 8 bits The unit prompts for the number of host bits to be entered then calculates the netmask which is displayed in standard decimal dot notation when the saved parameters display for example 255 255 255 0 Table 5 Standard IP Network Netmasks Network Class Host Bits Netmask 24 255 0 0 0 B 16 255 255 0 0 C 8 255 255 255 0 3 18 NET232 NETUSB User Guide Configure Table 6 Netmask Examples Netmask Host Bits 255 255 255 252 255 255 255 248 255 255 255 240 255 255 255 224 255 255 255 192 255 255 255 128 255 255 255 0 255 255 254 0 255 255 252 0 255 255 248 0 255 128 0 0 255 0 0 0 24 3 12 4 Change Telnet configuration password Setting the Telnet configuration password prevents unauthorized access of the setup menu via a Telnet connection to port 9999 or through Web pages The password is limited to 4
11. Installation eese nennen 3 2 Figure 2 Setup Mode Window eese eene ener enne enne 3 17 Figure 3 Hostlist Option esses eene enne nennen nennen nnne enne enne nne 3 24 NET232 NETUSB User Guide Contents Contents List of Tables Table 1 RS232 Sipmals C 2 5 Table 2 USB SORAEIE Em 2 6 Table 3 NET232 LED Functions ce ceseeseceseceseeeseeesnceeaceeaeeeaaecsaecnaecaecsaeeeseeeseeeseeenneeees 2 7 Table 4 Technical Specs c sccscccscsssesscesasessosnssedeaeseecestenercusesusestaseussceassenecensousscaneauonssssunseses 2 8 Table 5 Standard IP Network Netmasks eeseesseeseeseeeeeeeee eee ener rennen 3 18 Table 6 Netitask Examples enr ettet etc eene cepa vette ee ERR peri ire eee 3 19 Table 7 Interface Mode Options eese tese seite ete c teraboa eoru te Deka a a 3 20 Table 8 Common Interface Mode Settings 00 0 cee ceecesceseeeeeeeeeeeaeeeaeeseesaeenaeseaeenaeenseens 3 21 Table 9 Flow Control Options sese nennen enemies 3 21 Table 10 Reserved Ports eese eene nnne nennen enr HAEE 3 21 Table 11 Connect Mode Options ee eescesecssecsseceseeeseeeseeseeeeseeeeaeeeseeeaaeesaecaeseaeenaesaeee 3 22 Table 12 Manual Connection Address Example eene 3 24 Table 13 Modem Mode Commands eese eee rennen nennen 3 27 Table 14 Disconnect Mode Options
12. Note Some firmware versions may not support Monitor Mode 6 1 1 Entering Monitor Mode Using the Serial Port Note NET232 Only To enter Monitor Mode locally 1 Follow the same principles used in setting the serial configuration parameters 2 Instead of typing three x keys however Type zzz or xxl to enter Monitor Mode with network connections Type yyy or yy1 to enter Monitor Mode without network connections A 0 prompt indicates that you have successfully entered Monitor Mode 6 1 2 Entering Monitor Mode Using the Network Port To enter Monitor Mode using a Telnet connection Establish a Telnet session to the configuration port 9999 The following message appears MAC address 00204A0113A3 Software version 01 059 021219 XPT Press Enter to go into Setup Mode 2 Type M upper case A 0 prompt indicates that you have successfully entered Monitor Mode 6 1 3 Monitor Mode Commands The following commands are available in Monitor Mode Some commands have an IP address as an optional opt parameter Xxx xxx xxx xxx If the IP address is given the command is applied to another Device Server with that IP address If no IP address is given the command is executed locally Note All commands must be given in capital letters NET232 NETUSB User Guide 6 1 6 2 Monitor Mode Table 18 Monitor Mode Commands Command Command Name Function VS X X X X GC x x x x Version Get Configurati
13. SMD CAN BE USED FOR DIGI KEY WM18652 ND MOUNTING MATES WITH RECEPT 2MM 10 POS VERT DIGI KEY WM18676 ND 2 8 Power Supply The NET232 can use any DC power source from 9VDC to 24VDC A typical power cube sent with the unit can supply 9VDC at 500 mA However there are other units that can be used as long as they are in the range of 9 24VDC and supply the proper wattage At 9VDC the NET232 will draw approximately 110mA 99W so a 2 Watt power source 9V at 200mA should be adequate Note Advantage Devices can supply a special cable adapter to connect the NET232 to a USB jack for 5VDC power The NET232 power adapter is a 2 1 mm positive center power jack The jack is equivalent to a CUI Inc PJ 002A power jack You can also order the NET232 with a Phoenix right angle power connector The unit is supplied with a mating Phoenix terminal block plug 1 6 NET232 NETUSB User Guide Overview 2 9 Ethernet Interface 2 9 1 LEDs The device contains the following LEDs e 10BaseT 100BaseTX Bi color Left LED e Full Half Duplex Bi color Right LED LEFT RIGHT LED LED contact ED contaci HERE T SHIELDTAB gt MTL SHIELD TAB Table 3 NET232 LED Functions Left LED Right LED Meaning Solid Amber 10BASE T Solid Green 100BASE Tx Blinking Amber Half Duplex Activity
14. Suite See http www lantronix comvdevice networking utilities tools 3 36 NET232 NETUSB User Guide Configure 3 16 10 Enable Enhanced Password This setting defaults to the N option which allows you to set a 4 character password that protects the Configuration Menu via Telnet and Web pages The Y Yes option allows you to set an extended security password of 16 characters for protecting Telnet and web page access 3 16 11 Disable Port 77F0 Hex Port 77FO is a setting that allows a custom application to query or set the three NET232 configurable pins when they are functioning as general purpose I O GPIO You may want to disable this capability for security purposes The default setting is the N No option which enables GPIO control The Y Yes option disables the GPIO control interface Note The function of the configurable pins on the NET232 should be changed with caution Some of the configurable pins are not connected or used for other functions 3 17 Defaults Select 7 to reset the unit s Channel 1 configuration E mail settings and Expert settings to the default settings The server configurations IP address information remain unchanged The configurable pins settings also remain unchanged 3 18 Exit Configuration Mode Select 8 to exit the configuration mode without saving any changes or rebooting e Select 9 to save all changes and reboot the device All values are stored in nonvolatile memory NET232 NE
15. an infinitely long serial link In this case two NET232 s are linked together to form a serial tunnel over an Ethernet link Ethernet NET232 Serial to Ethernet Adapters Serial Device Computer The NET232 connects serial devices to Ethernet networks using the IP protocol family Configuration of the NET232 can be done from the serial port connection a web page or a Telnet connection NET232 NETUSB User Guide 1 9 Overview 1 1 Additional Documentation The following guides are available on the product CD File Name NET232 USB User This manual in PDF format NET232 UM 800232 b pdf Guide Device Installer Information about installing and using Dev Inst UG 800233 d pdf User Guide Device Installer Utility Quick Start Guide Quick steps to get the unit up and QuickStart 800234 b pdf running Comm Port Provides information on using the Redirector UG 800235 a pdf Redirector Guide Windows based utility to create a virtual com port Web Enable User Explains the steps to get your device Web Enabling UG 800236 a pdf Guide Web enabled GPIO Interface Introduction to the GPIO interface and GPIO 800237 a pdf Guide a demo program UDP Configuration How to use UDP to configure the unit UDPconfig 800238 a pdf Guide How to acquire and use setup records to configure a unit Tech Notes Additional information to aid in using Tech Notes 800239 a pdf the NET232 USB Application Note Serial T
16. e 12 13 Connect the USB cable between the host computer and the NETUSB device Windows will open a Found New Hardware Wizard window Press Next to continue Select Search for a suitable driver for my device recommended and press Next Check Specify a location and press Next Press Browse to locate the slabbus inf driver installation file The default location is the C SiLabs MCU CP2101 WIN directory Once this file is selected press OK Verify that the correct path and filename are shown and press Next Press Finish to finish installing the CP2101 USB Composite Device Windows will open a second Found New Hardware Wizard window Press Next to continue Select Search for a suitable driver for my device recommended and press Next Check Specify a location and press Next Press Browse to locate the slabw2k inf driver installation file The default location is the C SiLabs MCU CP2101 WIN directory Once this file is selected press OK Verify that the correct path and filename are shown and press Next Press Finish to finish installing the CP2101 USB to UART Bridge Controller 3 3 3 Virtual COM Port Driver Installation Windows XP Follow these steps to install the Windows XP VCOM driver 1 Fr o a d O o N a Connect the USB cable between the host computer and the NETUSB target device Windows will open a Found New Hardware Wizard window Select Install from a list or specific l
17. factory enabled It must be enabled with the Configurable Pins option Note There is no State LED on the NET232 Table 14 Disconnect Mode Options Telnet mode and terminal type setup Channel port password Hard disconnect Disable hard disconnect State LED off with connection 4 1 The NET232 will send the Terminal Type upon an outgoing connection 2 A password is required for a connection to the serial port from the network 3 The TCP connection will close even if the remote site does not acknowledge the disconnection 4 When there is a network connection to or from the serial port the state LED will turn off instead of blink 5 When Ctrl D or Hex 04 is detected the connection is dropped Both Telnet mode and Disconnect with EOT must be enabled for Disconnect with EOT to function properly Ctrl D will only be detected going from the serial port to the network 6 When DTR transitions from a high state to a low state then the network connection to or from the serial port will drop 3 28 NET232 NETUSB User Guide Configure 3 13 12 Flush Mode Buffer Flushing Using this parameter you can control line handling and network buffers with connection startup and disconnect You can also select between two different packing algorithms Table 15 Flush Mode Options Function 7 1 6 5 1 4 3 2 1 O Input Buffer Serial to Network Clear with a connection that is initiated from 4 the devic
18. is not configured all zeros If a partial IP address is presented in a command string it will be interpreted to be the least significant bytes of the IP address and will use the internally stored remote IP address to provide the most significant bytes of the IP address For example if the remote IP address already configured in the unit is 129 1 2 3 then an example command string would be C3 7 This would connect to 129 1 2 3 and port 7 You may also use a different ending for the connection string For example C50 1 23 would connect you to 129 1 50 1 and port 23 NET232 NETUSB User Guide 3 23 Configure Table 12 Manual Connection Address Example Command String Result if remote IP is 129 1 2 3 and remote port is 1234 C121 2 4 5 1 Complete override connection is started with host 121 2 4 5 port 1 C5 Connect to 129 1 2 5 port 1234 C28 10 12 Connect to 129 1 28 10 port 12 C0 0 0 0 0 Enter Monitor Mode Autostart Automatic Connection If Autostart is enabled the unit automatically connects to the remote IP address and remote port specified when the firmware starts Hostlist If you enable this option the unit scrolls through the hostlist until it connects to a device listed in the hostlist table Once it connects the unit stops trying to connect to any others If this connection fails the unit continues to scroll through the table until it is able to connect to another IP in the hostlist Hostlist
19. supports a minimum of 1 and a maximum of 12 entries Each entry contains the IP address and the port number The host list will be disabled for Manual Mode and for Modem Mode The unit will not accept a data connection from a remote device when the host list option is enabled Baudrate 9600 I F Mode 4C Flow 00 Port No 10001 ConnectMode 21 Send in Modem Mode Y Auto increment source port N Hostlist 01 IP 010 010 010 001 Port 00023 02 IP 010 010 010 002 Port 00023 03 IP 010 010 010 003 Port 00023 Change Hostlist N Hostlist Retrycounter 3 Hostlist Retrytimeout 250 DisConnMode 00 FlushMode 00 DisConnTime 00 00 SendChar 1 00 SendChar 2 00 Figure 3 Hostlist Option 3 24 NET232 NETUSB User Guide Configure To use the Hostlist option follow these steps Enter a Connect Mode of 0x20 2X The menu shows you a list of current entries already defined in the product 2 To delete modify or add an entry select Yes If you enter an IP address of 0 0 0 0 that entry and all others after it are deleted 3 After completing the hostlist repeat the previous step if necessary to edit the hostlist again For Retrycounter enter the number of times the unit should try to make a good network connection to a hostlist entry that it has successfully ARPed The range is 1 15 with the default set to 3 5 For Retrytimeout enter the number of seconds the unit
20. the IP of the server PING X X X X X X X X is the IP of the server If you get a response then there is a duplicate IP address on the network the LEDs on the server should flash a sequence that tells you this If you do not get a response use the serial port to verify that Telnet is not disabled When connecting to the Web Manager within the server the message No Connection With The server displays Your computer is not able to connect to port 30718 77FEh on the server Make sure that port 30718 77FEh is not blocked with any router that you are using on the network Also make sure that port 77F Eh is not disabled within the Security settings of the server 5 2 NET232 NETUSB User Guide Troubleshooting 5 1 Technical Support If you are experiencing an error that is not described in this chapter or if you are unable to fix the error you may Contact Advantage Devices at 630 245 1445 Our phone lines are open from 8 00AM 4 30 PM Central Time Monday through Friday excluding holidays Firmware downloads FAQs and XPort manuals are available at www lantronix com support NET232 NETUSB User Guide 5 3 Monitor Mode 6 Monitor Mode 6 1 Monitor Mode Monitor Mode is a command line interface used for diagnostic purposes see Table 18 Monitor Mode Commands on page 6 2 There are two ways to enter Monitor Mode locally through the serial port or remotely through the network
21. 00 default 19200 38400 57600 115200 230400 460800 or 921600 Data Bits Indicates the number of bits in a transmitted data package The default is 8 Parity Checks for the parity bit The default is None Stop Bits The stop bit follows the data and parity bits in serial communication It indicates the end of transmission The default is 1 Pack Control Enable Packing The standard algorithm is optimized for applications in which the unit is used in a local environment allowing for very small delays for single characters while keeping the packet count low Enable this option if you have problems sending small packets of data Idle Gap Time Select the maximum time for inactivity The default time is 12 milliseconds NET232 NETUSB User Guide 3 9 Configure 3 When you are finished click the OK button 4 On the main menu click Apply Settings 3 6 4 Connection Settings TCP To configure a channel s TCP settings 1 On the main menu click Connection The Connection Settings window for the channel displays fig Connection Settings Network EA Channel 1 pum epis Connect Protocol Channel 1 Protocol TCP gt Serial Settings Connect Mode Passive Connection Active Connection Accept Yes wy i f Nne incoming Yes X Active Connect None s Password PA F Configurable Pins Required C Yes No Start Character 0D in Hex oe sai Password Modem Mode None Apply Defaults Mode
22. 232 NETUSB User Guide Configure 3 6 Configuration Using Web Manager Please see the Device Installer user manual for details on using the Web Manager This section presents some basic setup parameters necessary to get the unit operational You must configure the unit so that it can communicate on a network with your serial device For example you must set the way the unit will respond to serial and network traffic how it will handle serial packets and when to start or close a connection The unit s configuration is stored in nonvolatile memory and is retained without power You can change the configuration at any time The unit performs a reset after you change and store the configuration In this chapter we describe how to configure the XPort in the NET232 using Web Manager a browser based configuration tool For information on using Setup Mode our command line configuration interface see Configuration Using Telnet or Serial Port on page 3 15 Note The examples in this section show a typical device Your device may have different configuration options 3 6 1 Starting Web Manager Note Make note of the hardware MAC address on the product label You will need it to locate the XPort using Devicelnstaller Follow the instructions on the product CD to install and run DevicelInstaller 1 Click Start Programs Lantronix DevicelInstaller DeviceInstaller If the PC has more than one network adapter a message displays requesting th
23. Advantage Devices NET232 NETUSB Serial to Ethernet Adapter Revision C July 25 2008 Document Part Number GC 800 232 Advantage Lab GmbH www advantage devices com Otto R hm Strasse 69 info advantage lab com 64293 Darmstadt Germany vi Copyright and Trademark Copyright 2013 Advantage Devices GmbH All rights reserved No part of this manual may be reproduced or transmitted in any form for any purpose other than the purchaser s personal use without the express written permission of Advantage Devices GmbH Advantage Devices GmbH has made every effort to provide complete details about the product in this manual but makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantability or fitness for a particular purpose In no event shall Advantage Devices GmbH be liable for any incidental special indirect or consequential damages whatsoever included but not limited to lost profits arising out of errors or omissions in this manual or the information contained herein Advantage Devices GmbH products are not designed intended authorized or warranted for use as components in systems intended for surgical implant into the body or in other applications intended to support or sustain life or in any other application in which the failure of a Advantage Devices GmbH product could create a situation where personal injury death or severe property or environmental damage may o
24. B port the NETUSB will appear as a COM port in the Device Manager The NETUSB will always use the lowest available COM port for operation For instance if COM ports 1 thru 3 are in use by other peripherals and applications the NETUSB will use COM 4 The NETUSB functions identically to a COM port from the reference point of both the host application and the serial device and it can support serial device control requests defined in the Microsoft Win32 Communications API Software setup requires installing the NETUSB Drivers The utility will copy the driver files to a specified directory or the default directory C SiLabs MCU CP2101 Each set of drivers will be extracted to an appropriately named directory for example WIN 3 2 NET232 NETUSB User Guide Configure The Virtual COM Port VCP device drivers allow the NETUSB device to appear to the PC s application software as an additional COM port in addition to any existing hardware COM ports Application software running on the PC accesses the NETUSB device as it would access a standard hardware COM port However actual data transfer between the PC and the NETUSB device is performed over the USB Therefore existing COM port applications may be used to transfer data via the USB to the NETUSB based device without modifying the application 3 3 2 Virtual COM Port Driver Installation Windows 2000 Follow these steps to install the Windows 2000 VCOM driver 1 Qe ge pue oS M9 x90 cox
25. Inactivity Timeout eere 3 30 3 13 15 Send Characters eee orte ed ere ee etie 3 31 3 13 16 Telnet Terminal Type esee 3 31 3 13 17 Channel Port Password seeeeeeneeeeenene 3 31 3 14 E mail Sett n s dee eroe tete ce esent 3 31 3 14 1 Ezmail S tup tite a e Etre it EAEE 3 32 3 14 2 Trigger Setup 4 2 Het Het Pte ete dero oc 3 32 3 15 Expert Set n gs itte eG tede t e eee n taste pcr etre del et e ge geo 3 33 3 15 1 TCP Keepalive time in seconds eene 3 33 3 15 2 ARP Cache timeout in seconds 3 33 3 15 3 Enable High Performance eeeeeeeeeerenrenen ene 3 33 3 15 4 Disable Monitor Mode at Bootup eeeeeeereneene 3 33 3 15 5 RS 485 TX Enable Active Level eese 3 33 3 15 6 HTTP Port Number ciet inen dere edere tese ete tec ode te 3 34 3 15 7 SMTP Port Number erret reete esto ei ee eade dt 3 34 3 15 5 MTU SZ ste e ere rr rete e e a ahs M Oe RENI US 3 34 3 15 9 Enable Alternate MAC sess eene enne 3 34 3 15 10 Ethernet Connection Type eese ene 3 34 3 16 Security SettDgs i one Eee eee eI prd Pede oe teo e PP eee RE 3 35 3 16 1 Disable SNMP rite tiere a th ho cr E Ge ERE ERR Ras 3 35 3 16 2 SNMP Community Name esses ene en eene 3 35 3 16 3 Disable Telnet Setup teer etre 3 35 3 16 4 Disable TFTP Firmware Upgrade eee 3 35
26. Installer OR a serial port login to establish the connection skip steps 1and 2 1 From the Windows Start menu click Run and type the following command where x x x x is the IP address and 9999 is the unit s fixed network configuration port number telnet x x x x 9999 Note Be sure to include a space between the IP address and 9999 2 Click OK 3 11 3 Telnet and Serial Port Messages At this point the telnet and serial port messages are the same 3 The window displays MAC address 00204AA9E784 Software version V6 5 0 7 070919 XPTEXE Yours may be different Press Enter to go into Setup Mode 4 Toenter the Setup Mode you must press Enter within 5 seconds The configuration settings will appear 5 Select an option on the menu by entering the number of the option in the Your choice field and pressing Enter 6 Toenter a value for a parameter type the value and press Enter or to confirm a current value just press Enter 7 When you are finished save the new configurations option 9 The unit will reboot NET232 NETUSB User Guide 3 15 Configure basic parameters Hardware Ethernet TPI IP addr 0 0 0 0 DHCP BOOTP AutoIP DHCP device name not set Security SNMP is enabled SNMP Community Name public Telnet Setup is enabled TFPT Download is enabled Port 77FEh is enabled Web Server is enabled Web Setup is enabled ECHO is disabled Encryption is disabled Enhanced Password is d
27. MP read only Serial login Telnet login Security Password protection Locking features optional Rijndael 128 bit encryption Internal Web Server Material Case Flame Retardant Temperature Operating range 40 C to 85 C 40 F to 185 F High performance mode has an upper temperature limit of 75 C Relative Humidity Warrant Included Software Operating 5 to 95 non condensing 1 year limited warrant Windows 98 NT 2000 XP based Device Installer configuration software Windows based Comm Port Redirector and USB device drivers EMI Compliance Radiated amp conducted emissions complies with Class B limits of EN 55022 1998 Direct amp Indirect ESD complies with EN55024 1998 RF Electromagnetic Field Immunity complies with EN55024 1998 Electrical Fast Transient Burst Immunity complies with EN55024 1998 Power Frequency Magnetic Field Immunity complies with EN55024 1998 RF Common Mode Conducted Susceptibility complies with EN55024 1998 NET232 NETUSB User Guide Configure 3 Getting Started This chapter covers the required steps to get the NET232 USB Serial to Ethernet adapter on line and working The NET232 USB contains a complete device server that controls the network communications Note See the Quick Start Guide for a quick setup procedure 3 1 Quick Rundown For the unit to operate correctly on a network it must have a unique IP address on the network There are three basic metho
28. TUSB User Guide 3 37 Firmware 4 Updating Firmware 4 1 Obtaining Firmware You can obtain the most up to date firmware and release notes for the unit from Advantage Devices Note Do not upgrade firmware unless directed by Technical Support 4 1 1 Reloading Firmware Reloading the firmware of a device will destroy all settings and configurations Firmware files are not freely distributed since changing the firmware of a device will change is operational features This should only be done under the direction of technical support 4 1 2 Via Device Installer After copying the firmware to your computer use Device Installer to install it 1 Store the firmware in a subfolder on your computer 2 Start Device Installer and search the network for the device you want to upgrade 3 Select the desired unit and click the Upgrade icon s or select Upgrade from the Device menu The Device Upgrade Wizard appears Follow the instructions on the wizard screens The unit performs a power reset after the firmware has been loaded and stored NET232 NETUSB User Guide 4 1 Troubleshooting 5 Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact tech support It helps to connect a terminal to the serial port while diagnosing an error to view summary messages that may be displayed When troubleshooting always ensure that the physical connections power cable network cable and serial cable a
29. able 1 RS232 Signals NET232 Signal Direction DTE DB 9 Male DCE DB 9 Pin Female Pin Data Out TXD Out 3 2 Data In RXD In 2 3 Ground 5 5 RTS In 8 7 CTS Out 7 8 The NET232 DCE kit includes a 9 pin Male Male Gender Changer if you need a male connector The NET232 DTE kit includes a 9 pin Female Female Null Modem Adapter Note RTS and CTS control lines are not enabled at the factory See Configurable Pin Settings on page 3 13 and Flow on page 3 21 NET232 NETUSB User Guide 2 5 Overview 2 6 USB Interface The table below lists the USB signals for the NETUSB The USB cable is a Type A Male connector Note The NETUSB MUST be connected to a HOST device Table 2 USB Signals Pin Description 1 RED VBUS 2 WHITE D 3 GREEN D 4 BLACK GND Ground 2 OEM Module The NET232 circuit board can be supplied as an OEM module The module has two headers that are used to secure the module to a motherboard One hole on the edge of the board can be used for mounting to a standoff Note OEM Modules must be ordered in quantities of 25 or more J4 O 2 GND 1 CTSOUT 3 4 GND RTSIN 5 6 GND TXDOUT 7 O 8 VIN RXDIN 9 10 VIN em PE RTS IN im VIN e TXD OUT m o men DO NOT USE THESE HOLES FOR MOUNTING THEY HAVE POWER ON THEM CTS OUT NO SIGNALS ON THESE PINS MOUNTING HEADER ONLY THIS HOLE HEADER 10 POS 2MM VERT
30. able this capability for security purposes The default setting is the N No option which enables remote configuration You can configure the unit by using Device Installer web pages Telnet or serial configuration The Y Yes option disables remote configuration and web sites NET232 NETUSB User Guide 3 35 Configure Note The Y Yes option disables many of the GUI tools for configuring the unit including the embedded Web Manager tool 3 16 6 Disable Web Server This setting defaults to the N option The Y Yes option disables web server 3 16 7 Disable Web Setup The Y Yes option disables configuration using the Web Manager This setting defaults to the N option 3 16 8 Disable ECHO Ports Controls whether the serial port will echo characters it receives 3 16 9 Enable Encryption Rijndael is the block cipher algorithm chosen by the National Institute of Science and Technology NIST as the Advanced Encryption Standard AES to be used by the US government The NET232 supports 128 192 and 256 bit encryption key lengths Note Configuring encryption should be done through a local connection to the serial port of the NET232 or via a secured network connection Initial configuration information including the encryption key is sent in clear text over the network To configure AES encryption on the NET232 1 When prompted to enable encryption select Y 2 When prompted enter the encryption key length The NET232 s
31. ame used by the NET232 USB to send e mail messages Domain The Domain name of your e mail server Recipient 1 Full e mail address of the recipient Recipient 2 Full e mail address of the second recipient 3 14 2 Trigger Setup A trigger event can occur by receiving two bytes of a specified sequence on the serial port If the serial sequence is set to 00 00 then it is disabled At the Serial Sequence prompt enter the ASCII Hex value Example A two byte sequence of 12 would be 0x31 0x32 Set all the configurable pins to X Don t Care so they are disabled If both the serial sequence and the configurable pins are disabled the trigger is disabled Message Enter the subject line of the e mail Priority L is for normal priority H is for High Priority Min notification interval The minimum time allowed between individual triggers If a trigger event occurs faster than the minimum interval the trigger will be ignored Re notification interval If a single trigger event stays asserted then an e mail message will be sent at this time interval Each trigger is independent from the others Each condition within an individual trigger must be met before the e mail will be sent 3 32 NET232 NETUSB User Guide Configure 3 15 Expert Settings Note You can change these settings via Telnet or serial connections only not on the Web Manager These parameters should only be changed if you are an expert and definitely know the consequences th
32. ameters If you have problems please review the steps in the Quick Start Guide review the information in the User Manual or give our Technical Support team a call 2 2 Tips from Tech Support We would like to believe you can connect the NET232 to any RS232 device We have a track record of being able to connect to almost any RS232 device however there are some that just can t or won t work So here are some things to think about before you start trying to connect a NET232 to your device If you are not sure give us a call What are the RS232 signals on the target device Typically you will have TXD for transmit RXD for receive and GND for ground If you have a schematic or a user manual find the specifications for the serial port and note the signals being used You will need to know if the target device has a male or female connector and which pins are used for each signal name Does the target device use Hardware Flow Control Hardware flow control requires the use of two signal pins RTS and CTS One unit sends a Request to Send and the other sends a Clear to Send These are old modem control signals that are now used to control the flow of data between two devices that may not be able to maintain a fast data transfer Most modern devices can easily transfer high speed data but some still require the use of flow control You will have to enable these signals on the NET232 since they are turned off at the factory Does the target d
33. and can radiate radio frequency energy and if not installed and used in accordance with this guide may cause harmful interference to radio communications Changes or modifications to this device not explicitly approved by Advantage Devices will void the user s authority to operate this device The information in this guide may change without notice The manufacturer assumes no responsibility for any errors that may appear in this guide Date Author Comments 11 23 04 GR Preliminary Release 03 07 06 GR Update for XPort 03 firmware 6 1 0 0 07 25 08 GR Update for changes to firmware and OEM pins NET232 NETUSB User Guide Declaration of Conformity The XPort Device contained in the NET232 NETUSB conforms to the following standards according to ISO IEC Guide 22 and EN 45014 Manufacturer s Name amp Address NET232 NETUSB Advantage Devices 1841 Centre Point Circle Naperville IL 60563 USA XPort Lantronix 15353 Barranca Parkway Irvine CA 92618 USA Declares that the following product Product Name Model XPort Device Server Conforms to the following standards or other normative documents Electromagnetic Emissions EN55022 1998 IEC CSPIR22 1993 Radiated RF emissions 30MHz 1000MHz Conducted RF Emissions Telecom Lines 150KHz 30MHz FCC Part 15 Subpart B Class B IEC 1000 3 2 A14 2000 IEC 1000 3 3 1994 Electromagnetic Immunity EN55024 1998 Information Technology Equipment Immunity Characterist
34. cation interval 1 s Re notification interval 0 s Change Setup 0 Server 1 Channel 1 3 E mail 5 Expert 6 Security 7 Defaults 8 Exit without save 9 Save and exit Figure 2 Setup Mode Window NET232 NETUSB User Guide Your choice Configure 3 17 Configure 3 12 Server Configuration Network Configuration These are the unit s basic network parameters The following parameters are displayed when you select Server Option 0 IP Address 000 000 000 000 Set Gateway IP Address N Netmask Number of Bits for Host Part 0 default 0 Change telnet config password N Change DHCP device name not set N 3 12 1 IP Address DHCP is not used to assign IP addresses enter the IP address manually The IP address must be set to a unique value in the network Enter each octet and press Enter between each section The current value displays in parentheses If DHCP is used the third octet of the IP address sets the BootP DHCP AutoIP options The following table shows the bits you can manually configure to force the XPortto disable AutoIP DHCP or BootP To disable an option set the appropriate bit Options Bit AutolP 0 DHCP 1 BotP 2 For example if the third octet is 0 0 5 0 the AutoIP and BootP options are disabled only DHCP is enabled The value 5 results from adding the binary equivalents of 0 and 2 This is the most common setting when using DHCP 3 12 2 Set
35. ccur Advantage Devices GmbH reserves the right to discontinue or make changes to its products at any time without notice Advantage Devices and the Advantage Devices logo and combinations thereof are registered trademarks of Advantage Devices GmbH DSTni is a trademark of Lantronix Inc All other product names company names logos or other designations mentioned herein are trademarks of their respective owners XPort is a trademark of Lantronix Ethernet is a trademark of XEROX Corporation UNIX is a registered trademark of The Open Group Windows 95 Windows 98 Windows 2000 Windows NT and Windows XP are trademarks of Microsoft Corp Netscape is a trademark of Netscape Communications Corporation Advantage Devices Otto R6hm Strasse 69 64293 Darmstadt Germany Phone 49 6151 6294871 Technical Support Phone 49 6151 6294871 Fax 49 6151 817329 On line www Advantage Devices com NET232 NETUSB User Guide Disclaimer and Revisions Operation of this equipment in a residential area is likely to cause interference in which case the user at his or her own expense will be required to take whatever measures may be required to correct the interference Attention This product has been designed to comply with the limits for a Class B digital device pursuant to Part 15 of FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses
36. ce you will need some way for your software application to think it is still using a COM port instead of an Ethernet application This is done with a software package called COM Port Redirector It redirects a virtual com port to an Ethernet port Your application will change from a physical port like COM2 to a virtual comm port like COM20 Your application does not know the difference Instead of sending your program data to a physical port your program data now goes to a virtual port The virtual port is an Ethernet port assigned by Comm Port Redirector software You tell Comm Redirector the IP address and the port number of the NET232 and it takes care of routing the data from your application to the Ethernet port 2 3 Protocol Support The NET232 USB uses the Internet Protocol IP for network communications and the Transmission Control Protocol TCP to assure that no data is lost or duplicated and that everything sent to the connection arrives correctly at the target Other supported protocols include e ARP UDP TCP ICMP Telnet TFTP AutoIP DHCP HTTP and SNMP for network communications and management e TCP UDP and Telnet for connections to the serial port TFTP for firmware and web page updates e IP for addressing routing and data block handling over the network User Datagram Protocol UDP for typical datagram applications in which devices interact with other devices without maintaining a point to point connectio
37. cept with DTR Active Always Accept Response Nothing quiet Character response C connect D disconnect N unreachable Active Startup No active startup With any character With DTR Active With a specific start character Manual connection Autostart Hostlist Datagram Type Directed UDP Modem Mode Data Echo and Modem Response Numeric Data Echo and Modem Response Verbose d 1 i 1 4 Modem Response Only Numeric 0 0 1 1 1 1 Modem Response Only Verbose 0 0 1 1 1 0 3 22 NET232 NETUSB User Guide I MI ECTION Never Accept Incoming Accept with DTR Active Always Accept RESPONSE Character Response ACTIVESTARTUP No Active Startup With Any Character With DTR Active With a Specific Start Char Manual Connection Configure Rejects all external connection attempts Accept external connection requests only when the DTR input is asserted Cannot be used with Modem Mode Accept any incoming connection when a connection is not already established This is the default setting A single character is transmitted to the serial port when there is a change in connection state C connected D disconnected N host unreachable This option is overridden when the Active Start Modem Mode or Active Start Host List is in effect Default setting is Nothing quiet No attempt to initiate a connection under any circumstance This is the default s
38. characters An enhanced password setting of 16 characters is available under Security Settings for Telnet access only Note No password is required to access the Setup Mode window via a serial connection 3 12 5 DHCP Naming If a DHCP server has automatically assigned the IP address and network settings you can discover the unit by using the Device Installer network search feature There are 3 methods for assigning DHCP names to these products 1 Default DHCP name If you do not change the DHCP name and you are using an IP of 0 0 0 0 then the DHCP name will default to CXXXXXX XXXXXX is the last 6 digits of the MAC address shown on the label on the bottom side of the unit For example if the MAC address is 00 20 4A 12 34 56 then the default DHCP name is C123456 2 Custom DHCP name You can create your own DHCP name on these products If you are using an IP address of 0 0 0 0 then the last option in Server configuration will be Change DHCP device name The Change DHCP device name option will allow you to change the DHCP name to an alpha numeric name Change DHCP device name not set N Y Enter new DHCP device name LTX NET232 NETUSB User Guide 3 19 Configure 3 Numeric DHCP name You are able to change the DHCP name by specifying the last octet of the IP address When you use this method the DHCP name will be LTX YY where YY is what you chose for the last octet of the IP address If the IP address you specify is 0
39. ds for logging into the device server and assigning the IP address e DHCP By default Dynamic Host Configuration Protocol DHCP is enabled on the device server DHCP allows a DHCP server to automatically assign an IP address to the device server If you use DHCP the device server is assigned a new IP address each time it boots Device Installer You can manually assign the IP address using a graphical user interface GUI on a PC attached to a network Serial Port Login With this method you connect a terminal or a PC running a terminal emulation program to the unit s serial port All of the methods for assigning an IP address will be discussed in Methods of Assigning the IP Address on page 3 5 It is important to consider the following points before logging into and configuring the device server e The device server s IP address must be configured before a network connection is available e Only one person at a time may be logged into the network port This eliminates the possibility of several people simultaneously attempting to configure the device server e Network port logins can be disabled The system manager will not be able to access the unit This port can also be password protected For the unit to operate correctly with your device you must configure the serial port properties The methods for configuring the NET232 to work with your equipment will be discussed in Configuration Using Web Manager on page 3 7 and in Configuration Us
40. e Configure 3 13 15 Send Characters You can enter up to two characters in hexadecimal representation in the parameters sendchar If a character received on the serial line matches one of these characters it is sent immediately along with any awaiting characters to the TCP connection This minimizes the response time for specific protocol characters on the serial line for example ETX EOT etc Setting the first sendchar to 00 disables the recognition of the characters Alternatively the two characters can be interpreted as a sequence see Pack Control on page 3 30 3 13 16 Telnet Terminal Type This parameter appears only if the terminal type option is enabled in Disconnect Mode see DisConnMode on page 3 28 above If this option is enabled you can use the terminal name for the Telnet terminal type Enter only one name If the terminal type option is enabled the unit also reacts to the EOR end of record and binary options which can be used for applications like terminal emulation to IBM hosts 3 13 17 Channel Port Password This parameter appears only if the channel port password option is enabled in Disconnect Mode see DisConnMode on page 3 28 If the option is enabled you can set a password on the serial port 3 14 E mail Settings The configurable pin option for triggering e mail is NOT used on this product The configurable pins are used for other purposes The only method available for e mail triggering is t
41. e Press Enter to go enough You only have 5 press Enter as soon as you see into Setup Mode displays seconds to press Enter before the message Press Enter to go However nothing happens the connection is closed into Setup Mode when you press Enter or your connection is closed When you Telnet to port 1 to You may have entered the Confirm that the Ethernet address assign an IP address to the Ethernet address incorrectly with that you entered with the ARP device server the Telnet the ARP command command is correct The Ethernet window does not respond for a address may only include long time numbers 0 9 and letters A F In Windows and usually in Unix the segments of the Ethernet address are separated by dashes In some forms of Unix the Ethernet address is segmented with colons The IP address you are trying to Confirm that your PC has an IP assign is not on your logical address and that it is in the same subnet logical subnet that you are trying to assign to the server The server may not be plugged Make sure that the Link LED is lit into the network properly If the Link LED is not lit then the server is not properly plugged into the network NET232 NETUSB User Guide 5 1 Troubleshooting Problem Message When you try to assign an IP with Device Installer you get the following message No response from device Verify the IP Hardware address and Network Class Please try again Reas
42. e changes might have TCP Keepalive time in s 1s 65s Os disable 45 ARP Cache timeout in s 1s 600s 600 CPU Performance 0 Regular 1 Low 2 High 0 Disable Monitor Mode bootup N RS485 tx enable active level 0 1ow 1 high 0 HTTP Port Number 80 SMTP Port Number 25 7 TU Size 512 1400 1400 Enable alternate MAC N Ethernet connection type 0 3 15 1 TCP Keepalive time in seconds This option allows you to change how many seconds the unit will wait during a silent connection before attempting to see if the currently connected network device is still on the network If the unit then gets no response it will drop that connection 3 15 2 ARP Cache timeout in seconds Whenever the unit communicates with another device on the network it will add an entry into its ARP table The ARP Cache timeout option allows you to define how many seconds 1 600 the unit will wait before timing out this table 3 15 3 Enable High Performance This option applies to XPort 03 and greater units only It allows you to increase the CPU performance and utilize the higher baud rates on the serial interface i e 460Kbps and 920Kbps Increasing CPU performance requires more power and lowers the unit s operating temperature The standard CPU performance mode supports up to 230400 baud Note If baud rates of 460Kbps or 920Kbps is set and the high performance mode disabled the operation of
43. e selection of a network adapter Select an adapter and click OK Click the Search icon The list of installed device servers displays Double click one of the items in the list The window will expand to display three tabs Click the Web Configuration tab If a password window appears press Enter A PROUD DD To view the XPort s Web Manager in the current Devicelnstaller window click the Go button To open the Web Managerin a web browser click the External Browser button The Web Manager displays Note Alternatively to open Web Manager open your web browser and enter the IP address of the XPort With firmware 1 8 or earlier your browser must be JAVA enabled to use Web Manager With firmware 6 1 0 0 and later your web browser does not need to be JAVA enabled NET232 NETUSB User Guide 3 7 Configure 3 6 2 Network Configuration The unit s network values display when you select Network from the main menu The following sections describe the configurable parameters on the Network Settings page ot Network Settings Server Serial Tunnel Network Mode Wired Only Hostlist IP Configuration Channel 1 Se Obtain IP address automatically Auto Configuration Methods BOOTP Enable Disable DHCP Enable C Disable Trig AutolP Enable C Disable Configurable Pins Apply Settings DHCP Host Name Apply Defaults C Use the following IP configuration IP Address Subnet Mask Default Gateway Et
44. e to the network Clear with a connection initiated from the 1 network to the device Clear when the network connection to or from the device is disconnected Output Buffer Network to Serial Clear with a connection that is initiated from 4 the device to the network Clear with a connection initiated from the 4 network to the device Clear when the network connection to or from 1 the device is disconnected Alternate Packing Algorithm Pack Control Enable ATETEA NET232 NETUSB User Guide 3 29 Configure 3 13 13 Pack Control Two firmware selectable packing algorithms define how and when packets are sent to the network The standard algorithm is optimized for applications in which the unit is used in a local environment allowing for very small delays for single characters while keeping the packet count low The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network WAN Adjusting parameters in this mode can economize the network data stream Pack control settings are enabled in Flush Mode Set this value to 00 if specific functions are not needed Table 16 Pack Control Options Option 7 6 5 4 3 2 1 9m Packing Interval Interval 12ms Interval 52ms Interval 250ms Interval 5sec Trailing Characters None One Two Send Characters 2 Byte Send Character Sequence Send Immediately After Send chars
45. eeeseeeeeeeeseeeaeeeseeeaaeenaees 3 15 NET232 NETUSB User Guide 5 Contents 3 11 3 Telnet and Serial Port Messages esee 3 15 3 12 Server Configuration Network Configuration esee 3 18 3 12 T IP Addtess uui o ert re IRR RE E aee ep ends 3 18 3 12 2 Set Gateway IP Addresse ninisi eiiie 3 18 3 12 3 Netmask Number of Bits for Host Part ccccccessssceceeseneeeeseeeeees 3 18 3 12 4 Change Telnet configuration password esee 3 19 SU PAS PJe G NET DDR MR 3 19 3 13 Channel 1 Configuration Serial Port Parameters eese 3 20 3 13 T Ba dtate 2 nl eR etm teen e er tes 3 20 3 13 2 I E Interface Mode eue eec eee e re ce ette dn 3 20 SASS PlOW A 3 21 3 1324 Port Numbet 2er ict baleen cad eee eet e Shae 3 21 3 13 5ConnectMOGde iic oet dpi est ett ete teo ettet E esee babent ee 3 22 3 13 6 Sendthe Escape Sequence in Modem Mode sss 327 3 13 7 Show IP addr after RING sess 3 27 3 13 8 Auto Increment Source Port essen 3 27 3 13 0 Remote IP Address 5 ette ec utt ee decere eta t ee eoe den 3 28 3 13 10 Remote POrt 5 iden ed dicis tree a ete tede ree e PE ete 3 28 3 13 11 DisConnMode tc eth t teer ette Eres 3 28 3 13 12 Flush Mode Buffer Flushing eene 3 29 3 13 13 Pack Control deett tees Ee teet co rare rag na 3 30 3 13 14 DisConnTime
46. es warrants the media containing software and technical information to be free from defects and warrants that the software will operate substantially for a period of 60 DAYS after the date of shipment In no event will Advantage Devices be responsible to the user in contract in tort including negligence strict liability or otherwise for any special indirect incidental or consequential damage or loss of equipment plant or power system cost of capital loss of profits or revenues cost of replacement power additional expenses in the use of existing software hardware equipment or facilities or claims against the user by its employees or customers resulting from the use of the information recommendations descriptions and safety notations supplied by Advantage Devices Advantage Devices liability is limited at its election to 1 refund of buyer s purchase price for such affected products without interest 2 repair or replacement of such products provided that the buyer follows the above procedures There are no understandings agreements representations or warranties expressed or implied including warranties of merchantability or fitness for a particular purpose other than those specifically set out above or by any existing contract between the parties The contents of this document shall not become part of or modify any prior or existing agreement commitment or relationshi 4 NET232 NETUSB User Guide Contents Table of Content
47. etting Attempts to connect when any character is received from the serial port Attempts to connect when the DTR input changes from not asserted to asserted Attempts to connect when it receives a specific start character from the serial port The default start character is carriage return Attempts to connect when directed by a command string received from the serial port The first character of the command string must be a C ASCII 0x43 and the last character must be either a carriage return ASCII 0x0D or a line feed 0x0A No blanks or space characters in the command string Between the first and last command string characters must be a full or partial destination IP address and may be a destination port number The IP address must be presented in standard dot decimal notation and may be a partial address representing the least significant 1 2 or 3 bytes of the remote IP address The period is required between each pair of IP address numbers If present the port number must follow the IP address must be presented as a decimal number in the range 1 65535 and must be preceded by a forward slash ASCII Ox2F The slash separates the IP address and the port number If the port number is omitted from a command string the internally stored remote port number is used to start a connection For Active Start options requiring internally stored destination IP address and port number the unit will not attempt a connection if this information
48. evice require the use of a DTR signal Some devices need to see the DTR signal to indicate they are connected DTR is not enabled on the NET232 but there are ways to provide the signal so you can make it work Devices that use DTR may also have a DSR signal that can be tied to the DTR line to simulate a DTR active signal NET232 NETUSB User Guide 2 3 Overview Do any of the pins on the target device provide power Some target devices have a pin dedicated to power in or power out Power pins are sometimes used to power other RS232 devices attached to the target device RS232 specifications do not allow power on any pins but that does not stop a designer from applying power to an unused pin You should know about any power pins before connecting the NET232 to a target device What is the Baud Rate Data Bits Parity and number of Stop Bits required by the target device You must know the communication parameters to setup the NET232 properly In a typical device you might see the baud rate set to 9600 the data bits set to 8 the parity set to none and the stop bits set to 1 This is the default setting for the NET232 serial port If your target device has something different you will have to change the serial port configuration Do you want your software application to run like it does when your PC is connected to the target device with an RS232 cable Since the NET232 will be using an Ethernet connection to connect your PC to a target devi
49. he channel s serial settings 1 On the main menu click Serial Settings under Channel 1 to display the Serial Settings window fe Serial Settings Network Server Channel 1 ECC IT Disable Serial Port Hostlist Channel 1 Port Settings eer Protocol RS232 Flow Control None z connection Email Baud Rate 9600 Data Bits 8 Parity None Stop Bits 1 Triage Tric Pack Control Configurable Pins Enable Packing Apply Settings Idle Gap Time 12 msec Apply Defaults Match 2 Byte Sequence C Yes No Send Frame Immediate C Yes No 00 ox 00 Match Bytes Send Trailing Bytes None C One C Two ex Flush Mode Flush Input Buffer Flush Output Buffer With Active Connect C Yes No With Active Connect C Yes No With Passive Connect C Yes No With Passive Connect C Yes No At Time of Disconnect C yes No At Time of Disconnect C yes No ok 2 In the available fields enter the following information Port Settings Protocol Must be RS232 for the NET232 Flow Control Flow control manages data flow between devices in a network to ensure it is processed efficiently Too much data arriving before a device is prepared to manage it causes lost or retransmitted data None is the default Baud Rate The unit and attached serial device such as a modem must agree on a speed or baud rate to use for the serial connection Valid baud rates are 300 600 1200 2400 4800 96
50. hernet Configuration M Auto Negotiate Speed 100 Mbps C 10 Mbps Duplex Full Half ok Note If you used the Assign IP button on the Device Installer toolbar the assigned IP address should appear in the Network Settings web page Manually assign an IP address to the unit and enter related network settings To assign an IP address manually 1 Select Use the following IP configuration 2 Enter the following as necessary IP Address Assign IP address in decimal dot notation The IP address must be set to a unique value in the network Example 172 20 206 150 Subnet Mask A subnet mask defines the number of bits taken from the IP address that are assigned for the host part Example 255 255 255 0 Default Gateway The gateway address or router allows communication to other LAN segments The gateway address should be the IP address of the router connected to the same LAN segment as the unit The gateway address must be within the local network Auto Negotiate Setto Auto Negotiate With this option the Ehernet port auto negotiates the speed and duplex with the hardware endpoint to which it is connected This is the default 4 When you are finished click the OK button 5 On the main menu click Apply Settings 3 8 NET232 NETUSB User Guide Configure 3 6 3 Channel 1 Configuration The Channel configuration defines how the serial port responds to network and serial communication To configure t
51. ics Direct ESD Contact Discharge Indirect ESD Radiated RF Electromagnetic Field Test Electrical Fast Transient Burst Immunity RF Common Mode Conducted Susceptibility Power Frequency Magnetic Field Test Manufacturer s Contact NET232 NETUSB Advantage Devices Otto R hm Strasse 69 64293 Darmstadt Germany Phone 49 6151 6294871 On line www Advantage Devices com XPort Lantronix Director of Quality Assurance 15353 Barranca Parkway Irvine CA 92618 USA Tel 949 453 3990 Fax 949 453 3995 NET232 NETUSB User Guide Warranty Advantage Devices warrants each product to be free from defects in material and workmanship for a period of ONE YEAR after the date of shipment During this period if a customer is unable to resolve a product problem with Advantage Devices Technical Support a Return Material Authorization RMA will be issued Following receipt of a RMA number the customer shall return the product to Advantage Devices freight prepaid Upon verification of warranty Advantage Devices will at its option repair or replace the product and return it to the customer freight prepaid If the product is not under warranty the customer may have Advantage Devices repair the unit on a fee basis or return it No services are handled at the customer s site under this warranty This warranty is voided if the customer uses the product in an unauthorized or improper way or in an environment for which it was not designed Advantage Devic
52. ing Telnet or Serial Port on page 3 15 3 2 Physically Connecting the Unit 1l NET232 DTE Use a null modem adapter to connect the serial cable to a COM port on your PC OR NET232 DCE Connect the serial cable to a COM port on your PC OR NETUSB Connect the USB cable to USB port on your PC Connect an Ethernet cable to the NET232 USB s Ethernet port 3 Supply power to your unit using the power supply that was included in the packaging NETUSB units receive power from the USB port Note If you are using a NET232 unit with a Phoenix Connector the input power is 9 to 24VDC NET232 NETUSB User Guide 3 1 Configure 3 3 Install USB Device Drivers Note Install the NETUSB drivers ONLY if you are using a NETUSB The files are not needed for NET232 Skip to Methods of Assigning the IP Address on page 3 5 4 Insert the product CD into your CD ROM drive The CD will automatically start and display the main window If the CD does not launch automatically a Click the Start button on the Task Bar and select Run b Enter your CD drive letter colon backslash Launch exe e g D Launch exe NET232 NET232jr i gridconnect M7 TTL ETH User Manuals and Applica Browse the CD Figure 1 NETUSB Drivers Installation 5 Click the Software button then the NETUSB Drivers button The installation wizard window displays 6 Respond to the installation wizard prompts 3 3 1 NETUSB Software Interface Once connected to a US
53. irtual COM Port Driver Installation Windows 2000 sss 3 3 3 3 3 Virtual COM Port Driver Installation Windows XP ees 3 3 3 3 4 Virtual COM Port Driver Installation Windows 98 SE sse 3 4 3 4 Methods of Assigning the IP Address eene 3 5 3 4 1 HardwateAddress iie etienne ote peine tetto te ea ene then unian s 3 5 3 4 2 IPAddress ineine eret candi Irene Pe et Ere EN En ar Ho 3 5 343 DHCDB sitet hee E Can OUR Ies 3 5 SAA Vnum E 3 6 3 Device Installer eee en REI bete HIM II Eee ER ERKEKLE 3 6 3 6 Configuration Using Web Manager esee emen 3 7 3 6 1 Starting Web Manager essere eene emen 3 7 3 6 2 Network Configuration seen 3 8 3 6 3 Channel 1 Configuration esee emen 3 9 3 6 4 Connection Settings TCP oes ceeceseceseceseeeeeeseeeeeneeeneeeseesaaeenaees 3 10 3 17 DEEP HERE 3 11 3 7 1 Trigger Configuration sees enne 3 12 3 8 Configurable Pin Settings csscsecsseesseresenssensscetcsstecsasesssesssessnseseetsoetsenens 3 13 3 9 Apply Settings etna Een ie ee CoD e HR tives aE Ce Pega PLEBE Due ec 3 14 3 10 Apply Factory Defaults eese nennen nennen nennen 3 14 3 11 Configuration Using Telnet or Serial Port eee 3 15 3 11 1 Using the Serial Port eese 3 15 3 11 2 Usinga Telnet Connection eee ceeceseces
54. isabled Port 77F0h is enabled Channel 1 no gateway set Only appears with Encrypted units Baudrate 9600 I F Mode 4C Flow 00 Port 10001 Connect Mode CO Send in Modem Mod nabled Show IP addr after RING enabled Auto increment source port disabled Remote IP Adr none Port 00000 Disconn Mode 00 Flush Mode 00 Expert TCP Keepalive 45s ARP cache timeout 600s CPU performance Regular onitor Mode 8 bootup enabled RS485 tx enable active low HTTP Port Number SMTP Port Number TU Size 1400 Alternate MAC disabled Ethernet connection type 80 25 KKKKKKKKKKKK KK KKK 0 0 0 0 ail server Unit Domain Recipient 1 Recipient 2 Trigger 1 Serial trigger input disabled Channel 1 Match 00 00 Trigger inputl x Trigger input2 x Trigger input3 x Message Priority Min notification interval 1 s Re notification interval 0 s 3 16 auto negotiate E mail Ckckckck ckck ckck ck ck kc ck k kk NET232 NETUSB User Guide Trigger 2 Serial trigger input disabled E a n Channel 1 Match 00 00 rigger inputl x rigger input2 x rigger input3 x Message Priority L Min notification interval 1 Re notification interval 0 S S Trigger 3 Serial trigger input disabled z Channel 1 Match 00 00 rigger inputl x rigger input2 x rigger input3 x Message Priority Min notifi
55. m Escape Sequence f Pass Through Yes C No Show IP Address After RING yes C No Endpoint Configuration Local Port 10001 Auto increment for active connect Remote Port o Remote Host 0 0 0 0 2 In the available fields enter or modify the following information Connect Protocol Protocol From the drop down menu select TCP Connect Mode Active Connection Active Connect With Any Character Attempts to connect when any character is received from the serial port Auto Start Automatically connects to the remote IP address and port after booting up Endpoint Configuration Local Port Enter the local port number The default setting is 10001 This works for most applications Remote Port Enter the remote port number If you are connecting two NET232 devices in Tunnel Mode enter the remote port of the other device here The other device can also use port 10001 Remote Host Enter the IP address of the remote device If you are connecting two NET232 devices in Tunnel Mode enter the remote IP address of the other device here 3 When you are finished click the OK button 4 On the main menu click Apply Settings 3 10 NET232 NETUSB User Guide Configure 3 7 Email Settings The unit sends an email to multiple recipients when a specific trigger event occurs You can use a two byte serial string to initiate a trigger Note Using configurable pins for Email is not supported
56. mode and drop the network connection The serial interface will revert to accepting command strings If the above sequence is not followed the unit will remain in data transfer mode Table 13 Modem Mode Commands Modem Mode Function Command ATDTx x x x pppp or Makes a connection to an IP address x x x x and a remote port number ATDTx x x x pppp pppp Makes a connection to an IP address x x x x and the remote port number rae x defined within the unit Forces the unit into Monitor Mode if a remote IP address and port number are ATDO 0 0 0 l ne defined within the unit Forces the unit into Monitor Mode if a remote IP address and port number are ATD oe not defined within the unit Makes a connection to an IP address x x x x and the remote port number ATDx x x x rs defined within the unit ATH Hangs up the connection Entered as ATH Enables or disables connections from the network going to the serial port ATSO n n 0 disables the ability to make a connection from the network to the serial port n 1 9 enables the ability to make a connection from the network to the serial port n gt 1 9 is invalid Enables or disables character echo and responses ATEn n 0 disables character echo and responses n 1 enables character echo and responses Enables 1 character response or full verbose ATVn n 0 enables 1 character response n 1 enables full verbose Note These AT commands are only recog
57. n e SMTP for e mail transmission 1 4 NET232 NETUSB User Guide Overview 2 4 Addresses and Port Number Hardware Address The Ethernet address is also referred to as the hardware address or the MAC address The first three bytes of the Ethernet Address are fixed and read 00 20 4A identifying the manufacturer of the product The fourth fifth and sixth bytes are unique numbers assigned to each unit 00 20 4A 14 01 18 or 00 20 4A 14 01 18 Note The MAC address is printed on the ID label IP Address Every device connected to an IP network must have a unique IP address This address is used to reference the specific unit The NET232 is automatically assigned an IP address on DHCP enabled networks as it is DHCP enabled by default However you must assign it a permanent IP address during the configuration process Port Numbers Every TCP connection and every UDP datagram is defined by a destination IP address and a port number The units serial channel port can be associated with a specific TCP UDP port number The default port setting is 10001 Port number 9999 is reserved for access to the unit s Setup configuration Mode window For more information on reserved port numbers see Table 10 Reserved Ports on page 3 21 2 5 Serial RS232 Interface The table below lists the RS232 signals for the NET232 The RS232 interface is a 9 pin D style connector Male connectors are wired as DTE and female connectors are wired as DCE T
58. n performance Note RS 422 485 I F Modes are supported on XPort 03 with firmware 6 1 0 0 and above 3 20 NET232 NETUSB User Guide Configure The following table demonstrates how to build some common Interface Mode settings Table 8 Common Interface Mode Settings Common I F Mode Setting Binary Hex RS 232C 8 bit No Parity 1 stop bit 0100 1100 RS 232C 7 bit Even Parity 1 stop bit 0111 1000 78 3 13 3 Flow Flow control sets the local handshaking method for stopping serial input output Table 9 Flow Control Options Flow Control Option Hex No flow control 00 XON XOFF flow control 01 Hardware handshake with RTS CTS lines see note 02 XON XOFF pass characters to host 05 Note RTS and CTS control lines are not enabled at the factory See Configurable Pin Settings on page 3 13 Note On the NET232 CPO should only be set to Clear To Send CTS or the default setting CP1 is not used CP2 should only be set to Ready To Send RTS Data Terminal Ready DTR or the default setting 3 13 4 Port Number The setting represents the source port number in TCP connections It is the number used to identify the channel for remotely initiating connections Default setting for Port 1 is 10001 Range 1 65535 except for the following reserved port numbers Table 10 Reserved Ports Port Numbers Reserved for 1 1024 Reserved well known ports 9999 Telnet setup 14000 14009 Reserved for
59. nized as single commands like ATEO or ATV1 compound commands such as ATEOV1 are not recognized All other AT commands with Modem Mode set to full verbose acknowledge with an OK but no action is taken 3 13 6 Send the Escape Sequence in Modem Mode Disable or enable the ability to send the escape sequence The default is Y Yes send the escape sequence 3 13 7 Show IP addr after RING TBD 3 13 8 Auto Increment Source Port Y Yes auto increment the source port The NET232 increments the port number used with each new connection NET232 NETUSB User Guide 3 27 Configure 3 13 9 Remote IP Address This is the destination IP address used with an outgoing connection Note This option does not display when Hostlist is enabled from the ConnectMode prompt 3 13 10 Remote Port The remote TCP port number must be set for the unit to make outgoing connections This parameter defines the port number on the target host to which a connection is attempted To connect an ASCII terminal to a host using the unit for login purposes use the remote port number 23 Internet standard port number for Telnet services Note This option does not display when Hostlist is enabled from the ConnectMode prompt 3 13 11 DisConnMode This setting determines the conditions under which the unit will cause a network connection to terminate Note In DisConnMode Disconnect Mode DTR drop either drops the connection or is ignored Note DTR is not
60. ny character sequence received not starting with AT will be ignored The unit will only recognize and process single AT style commands Compound AT commands will be treated as unrecognized commands If the Full Verbose option is in effect an unrecognized command string that is otherwise formatted correctly begins with AT and ends with carriage return will be responded to with the OK message and no further action is taken If the Numeric Response option is in effect unrecognized command strings that are otherwise formatted correctly will be responded to with OK and no further action is taken When an active connection is in effect the unit will be transferring data and will not process commands received from the serial interface When a connection is terminated or lost the unit will revert to command mode When an active connection is in effect the unit will terminate the connection if the following sequence is received from the attached serial device 1 No serial data is received for one second 2 The character sequence is received with no more than one second between each two characters 3 26 NET232 NETUSB User Guide Configure 3 No serial data is received for one second after the last character At this time the unit will respond affirmatively per the selected echo response mode 4 The character string ATH is received terminated with a carriage return The unit will respond affirmatively per the selected echo response
61. o finish installing the CP2101 USB Composite Device Windows will open a second Found New Hardware Wizard window Press Next to continue Select Search for the best driver for your device Recommended and press Next Select Specify a location Press Browse to locate the C SiLabs MCU CP2101 WIN directory Once this directory is selected press Next Verify that the correct path and filename are shown and press Next Press Finish to finish installing the CP2101 USB to UART Bridge Controller NET232 NETUSB User Guide Configure 3 4 Methods of Assigning the IP Address The unit s IP address must be configured before a network connection is available You have several options for assigning an IP to your unit however we recommend Device Installer on page 3 6 Method Description DHCP A DHCP server automatically assigns the IP address and network settings See DHCP on page 3 5 Device You manually assign the IP address using a Graphical User Interface on a PC Installer attached to the network See Device Installer on page 3 6 Telnet You manually assign the IP address and other network settings at a command prompt using a UNIX or Windows based system Only one person at a time can be logged into the configuration port port 9999 This eliminates the possibility of several people simultaneously attempting to configure the unit See Using a Telnet Connection on page 3 15 AutolP This automatic method i
62. o use the two byte serial string to initiate a trigger Note You can change these settings via Telnet or serial connections only not on the Web Manager To configure e mail settings via Devicelnstaller see E mail Notification in the Devicelnstaller User Guide Note The configurable pins CPO CP1 and CP2 CANNOT be used to trigger E mail KKK KKK KK KKK KKK KKK E mail KKK KKK KKK KK KKK KKK Mail server 0 0 0 0 000 000 000 000 Unit name Domain name Recipient 1 Recipient 2 Trigger 1 Enable serial trigger input N Trigger inputl A I X X Trigger input2 A I X X Trigger input3 A I X X Message Priority L Min notification interval 1 s Re notification interval 0 s Trigger 2 Enable serial trigger input N Trigger inputl A I X X Trigger input2 A I X X Trigger input3 A I X X Message Priority L Min notification interval 1 s Re notification interval 0 s NET232 NETUSB User Guide 3 31 Configure Trigger 3 Enable serial trigger input N Trigger inputl A I X X Trigger input2 A I X X Trigger input3 A I X X Message Priority L Min notification interval 1 s Re notification interval 0 s 3 14 1 E mail Setup E mail setup requires you to set up the e mail server location as follows Mail server The IP address in decimal dot notation Unit The user n
63. ocation Advanced and press Next Select Include this location in the search Press Browse to locate the C SiLabs MCU CP2101 WIN directory Once this directory is selected press OK Verify that the correct path and filename are shown and press Next Press Finish to finish installing the CP2101 USB Composite Device Windows will open a second Found New Hardware Wizard window Select Install from a list or specific location Advanced and press Next NET232 NETUSB User Guide 3 3 Configure 10 11 12 13 Select Include this location in the search Press Browse to locate the C SiLabs MCU CP2101 WIN directory Once this directory is selected press OK Verify that the correct path and filename are shown and press Next Press Finish to finish installing the CP2101 USB to UART Bridge Controller 3 3 4 Virtual COM Port Driver Installation Windows 98 SE Follow these steps to install the Windows 98 VCOM driver 1 QA m es 2 99 c M 12 13 Connect the USB cable between the host computer and the NETUSB target device Windows will open a Found New Hardware Wizard window Press Next to continue Select Search for the best driver for your device Recommended and press Next Select Specify a location Press Browse to locate the C SiLabs MCU CP2101 WIN directory Once this directory is selected press Next Verify that the correct path and filename are shown and press Next Press Finish t
64. on Query software header record 16 bytes of unit with opt IP address x x x x Get configuration of unit with opt IP address x x x x as hex records 120 bytes SC X X X X PI x x x X Send Configuration CAUTION Ping Set configuration of unit with opt IP address x x x x from hex records Pings unit with IP address x x x x to check device status ARP Table Show the unit s ARP table entries TCP Connection Table Network Connection Shows all incoming and outgoing TCP connections Shows the unit s IP configuration Reset Resets the unit s power Quit Exit diagnostics mode Get configuration from memory page Gets a memory page of configuration information from the device Set configuration to Set Security record Sets a memory page of configuration information on the Sets the Security record without the encryption key and length parameters The entire record must still be written but the encryption specific bytes do not need to be provided Responses to some of the commands are given in Intel Hex format Note Entering any of the commands listed above will generate one of the following command response codes Table 19 Command Response Codes Response Meaning OK no error No answer from remote device Cannot reach remote device or no answer Wrong parameter s Invalid command NET232 NETUSB User Guide
65. on The cause is most likely one of the following The Hardware address you specified is incorrect The IP address you are trying to assign is not a valid IP for your logical subnet You did not choose the correct subnet mask Solution Double check the parameters that you specified Tip You cannot assign an IP address to a server through a router No LEDs are lit The unit or its power supply is damaged Change power supplies The server is not communicating with the serial device it is attached to The most likely reason is the wrong serial settings were chosen The serial settings for the serial device and the server must match The default serial settings for the server are RS232 9600 Baud 8 Character Bits No Parity 1 Stop Bit No Flow Control When you try to enter the setup mode on the server via the serial port you get no response You can ping the server but not Telnet to the server on port 9999 The issue will most likely be something covered in the previous problem or possibly ou have Caps Lock on There may be an IP address conflict on your network You are not Telneting to port 9999 The Telnet configuration port 9999 is disabled within the server security settings Double check everything in the problem above Confirm that Caps Lock is not on Turn the server off and then issue the following commands at the DOS prompt of your computer ARP D X X X X X X X X is
66. on the NET232 See also E mail Settings on page 3 31 To configure the NET232 s email settings 1 On the main menu select Email The Email Settings window opens LANTRON IX Firmware Version V6 1 0 2RC1 MAC Address 0 20 4A 86 C5 48 f Email Settings Network Server Serial Tunnel Server IP Address 0 0 0 0 Server Port 25 Hostlist inN F Channel 1 Domain Name Se s Unit Name Recipients Recipient 1 Triggers Email Address Configurable Pins Recipient 2 Apply Settings Apply Factory Defaults Email Address ok 2 Configure the following fields Server IP Address Enter the IP address of the mail server Server Port Enter the port number on the email server Domain Name Enter the email server s domain name Unit Name Enter the user name used by the XPort to send email messages Recipients Recipient 1 Email Enter the email address designated to receive email notifications Address Recipient 2 Email Enter an additional email address designated to receive email Address notifications 3 When you are finished click the OK button 4 On the main menu click Apply Settings NET232 NETUSB User Guide 3 11 Configure 3 7 1 Trigger Configuration A trigger event occurs when the unit receives the specified trigger input resulting from a specified combination of conditions on the configurable pins Set the configurable pins to None To configure the XPort s email t
67. re secure Note Some unexplained errors might be caused by duplicate IP addresses on the network Make sure that your unit s IP address is unique When troubleshooting the following problems make sure that the NET232 USB is powered up Confirm that you are using a good network connection See Table 3 NET232 LED Functions on page 2 7 for a description of the LEDs Note For more information about the ARP commands see the Technical Notes manual GC 800 239 Table 17 Problems and Error Messages Problem Message Reason Solution When you issue the ARP S Your currently logged in user Have someone from your IT command in Windows The does not have the correct rights department log you in with ARP entry addition failed 5 to use this command on this PC sufficient rights message displays When you attempted to assign When you Telnet into port 1 on Telnet back into Port 1 Wait for it an IP address to the unit via the the server you are only to fail then Telnet to port 9999 ARP method the Press Enter assigning a temporary IP again Make sure you press Enter to go into Setup Mode error address When you Telnet into quickly described below displayed port 9999 and do not press Enter Now when you Telnet to the quickly the server will reboot Server the connection fails causing it to lose the IP address When you Telnet to port 9999 You did not press Enter quickly Telnet to port 9999 again but the messag
68. rigger settings 1 On the main menu click Trigger 1 Trigger 2 or Trigger 3 to configure the desired trigger settings The Email Trigger Settings page opens LANTRON IX s Firmware Version V6 1 0 2RC1 MAC Address 00 20 4A 86 C5 48 lt a Email Trigger Settings Network Server Serial Tunnel Trigger 1 Hostlist Conditions Configurable Pins Serial Trigger Trigger Input 1 None z Enable Serial Trigger Input Trigger Input 2 None gt Channel Channel 1 z Trigger Input 3 None Data Size Two Bytes Y Match Data odoo od00 inHex Configurable Pins Apply Settings Message Properties Apply Factory Defaults Message Priority Low E Min Notification Interval 1 secs Re notification Interval 0 secs ok 2 Configure or modify the following fields Conditions Configurable Pins Set to None Enable Serial Trigger Enabling this option causes specified serial communications to count Input as a trigger input Channel Select the channel prompting the trigger For the NET232 use only Channel 1 Data Size Select the data size prompting the trigger Match Data Enter the data which when it appears in the communication stream prompts a trigger Note All of the conditions must match for the NET232 to send an email notification Message Properties Message The subject line of the trigger event email to the specified recipient s Priority The priority le
69. s De RIVER VIC M 1 1 1 1 Additional Documentation esses eene enne nre 1 2 2 Introduction suspe UFEPQRED UK MEUDFISA EK M TUI EIS UDIN IDEFUENNIEEVU TERN VIE EMIUR orit UNA HAND EN RUE 2 3 2 1 Procedures forsetup i cete beret aseo reet tere a Lo prat ee Ere De Peu Ede 2 3 2 2 Tips from Tech Support esee eene ener nennen nennen nete 2 3 2 3 Protocol SUPPO 3s uoce peste petet tope tegere e pena eaae peut era see bur Toe ino p ie 2 4 2 4 Addresses and Port Number esses esee enne enne nnne nentes 2 5 2 2 Serial R5232 Interface nete eee e ia a a aia 2 5 2 6 USB Iriterface rette cte e Er ERR Cone ROI saat lives EATE 2 6 Del OBM Module nete tete hier teinte e FREE RE EET EEEE Ee 2 6 2 9 Poweresupply nnne tel cete e eret Ede EE He ER oa Ce E ERR E PAREN EE Deu eta 2 6 2 9 Ethernet Interface eesessessesssesesesesee eene nennen enhn rai ker anis EEn eS nenne 2 7 29 1 COEDS 2 7 210 Product CD seinninn eH A EEEE E EATE 2 7 2 11 Technical Specifications 5 oec eter rare acea eben tape 2 8 KE GOING Started E 3 1 ANE diim P 3 1 3 2 Physically Connecting the Unit eee ceeceseceseeseeeeseeeaeesseecsaecsaeseaeesaeeeaeenes 3 1 3 3 Install USB Device Driv ets oido rere ette eren eere e Hie ren dinero 3 2 3 3 1 NETUSB Software Interface essere 3 2 3 3 2 V
70. s appropriate when you have a small group of hosts rather than a large network This method allows the hosts to negotiate with each other and assign addresses in effect creating a small network See Auto P on page 3 6 Serial Port You initially configure the unit through a serial connection Login See Configuration Using Telnet or Serial Port on page 3 15 Web Manager Through a web interface configure the NET232 and its settings using the Web Manager See Configuration Using Web Manager on page 3 7 These methods are described in the remaining sections of this chapter 3 4 1 Hardware Address You need to know the unit s hardware address also known as MAC address which is on the manufacturers ID label on the bottom of the unit It is in the format 00 20 4a XX XX XX where the XXs are unique numbers assigned to the product Hardware Address 00 20 4a 3 4 2 IP Address Your NET232 USB must have a unique IP address on your network The systems administrator generally provides the IP address and corresponding subnet mask and gateway The IP address must be within a valid range unique to your network and in the same subnet as your PC IP Address Subnet Mask Gateway 3 4 3 DHCP The unit ships with a default IP address of 0 0 0 0 which automatically enables DHCP Provided a DHCP server exists on the network it will provide the unit with an IP address gateway address and subnet mask when the unit boot
71. s up You can use the Device Installer software to search the network for the IP address your unit has been assigned by the DHCP server and add it to the managed list See Device Installer later in this chapter NET232 NETUSB User Guide 3 5 Configure 3 4 4 AutoIP The unit ships with a default IP address of 0 0 0 0 which automatically enables Auto IP within the unit AutoIP is an alternative to DHCP that allows hosts to automatically obtain an IP address in smaller networks that may not have a DHCP server A range of IP addresses from 169 254 0 1 to 169 254 255 1 has been explicitly reserved for AutoIP enabled devices The range of Auto IP addresses is not to be used over the Internet If your unit cannot find a DHCP server and you have not manually assigned an IP address to it the unit automatically selects an address from the AutoIP reserved range Then your unit sends out a ARP request to other nodes on the same network to see whether the selected address is being used If the selected address is not in use then the unit uses it for local subnet communication If another device is using the selected IP address the unit selects another address from the AutoIP range and reboots After reboot the unit sends out another ARP request to see if the selected address is in use and so on AutoIP is not intended to replace DHCP The unit will continue to look for a DHCP server on the network If a DHCP server is fo
72. should wait before failing an attempted connection The time is stored as units of milliseconds in the range of 1 65535 The default value is 250 DATAGRAM TYPE Directed UDP When selecting this option you will be prompted for the Datagram type Enter 01 for directed or broadcast UDP When the UDP option is in effect the unit will never attempt to initiate a TCP connection because it will use UDP datagrams to send and receive data MODEM MODE In Modem Emulation Mode the unit presents a modem interface to the attached serial device It accepts AT style modem commands and handles the modem signals correctly Normally there is a modem connected to a local PC and a modem connected to a remote machine A user must dial from the local PC to the remote machine accumulating phone charges for each connection Modem Mode allows you to replace modems with NET232 USBs and to use an Ethernet connection instead of a phone call without having to change communications applications and make potentially expensive phone calls To select Modem Mode set the Connect Mode to 06 no echo 16 echo with full verbose or 17 echo with 1 character response Note If the unit is in Modem Mode and the serial port is idle the unit can still accept network TCP connections to the serial port if Connect Mode is set to 06 no echo 16 echo with full verbose or 17 echo with 1 character response NET232 NETUSB User Guide 3 25 Configure
73. ter between 512 and 1400 bytes The default is 1400 bytes 3 15 9 Enable Alternate MAC If necessary enable the alternate MAC address if specified in the OEM setup record 3 15 10 Ethernet Connection Type The NET232 allows for the Ethernet speed and duplex to be manually configured Enter 0 for auto negotiation default To select the speed and duplex enter one of the following 2 10Mbit half duplex 3 10Mbit full duplex 4 100Mbit half duplex or 5 100Mbit full duplex 3 34 NET232 NETUSB User Guide Configure 3 16 Security Settings Note You can change these settings via Telnet or serial connections only not on the Web Manager We recommend that you set security over the dedicated network or over the serial setup If you set parameters over the network Telnet 9999 someone else could capture these settings Caution Disabling both Telnet Setup and Port 77FE will prevent users from accessing the setup menu from the network Disabling Port 77FE also disables the Web from configuring the device Disable SNMP N SNMP Community Name public Disable Telnet Setup N Disable TFTP Firmware Update N Disable Port 77FEh N Disable Web Server N Disable Web Setup N Disable ECHO ports Y Enable Encryption N Enable Enhanced Password N Disable Port 77F0h N 3 16 1 Disable SNMP This setting allows you to disable the SNMP protocol on the unit for security reasons 3 16 2 SNMP Comm
74. the serial channel would be out of the specified error tolerance thereby leading to inconsistent speed settings on the two ends of the serial channel 3 15 4 Disable Monitor Mode at Bootup This option allows you to disable the Monitor Mode only during the startup sequence This prevents all entries into Monitor Mode except thru xxx followed by M All other Monitor Mode entry sequences e g ZzZ and yyy are blocked during startup 3 15 5 RS 485 TX Enable Active Level This option allows the selection of the active level either active high or active low for the RS485_TXEN signal The default is active low This setting only applies if one of the configurable pins for the RS485_TXEN functionality is selected For the RS 485 interface mode to operate correctly configure one of the configurable pins to RS485_TXEN To change the configurable pins settings use Devicelnstaller or send setup records to port 77FE On the NET485 the only valid pin is CP1 See the NET485 manual NET232 NETUSB User Guide 3 33 Configure 3 15 6 HTTP Port Number This option allows changing the HTTP port number The valid range is from 1 65535 The default value is 80 3 15 7 SMTP Port Number This option allows you to configure the SMTP email port number Valid range is from 1 65535 The default value is 25 3 15 8 MTU Size The Maximum Transmission Unit MTU is the largest physical packet size a network can transmit for TCP and UDP En
75. und the unit will switch to the DHCP server provided address and reboot Note If a DHCP server is found but it denies the request for an IP address the unit does not attach to the network but waits and retries AutoIP can be disabled by setting the unit s IP address to 0 0 1 0 This setting enables DHCP but disables AutoIP 3 5 Device Installer Device Installer is a Windows based utility for configuring embedded device servers like XPort and WiPort devices The XPort is found in products such as the NET232 NET232jr and NET485 Serial to Ethernet adapters The WiPort is found in the Wi232 Wireless Serial to Ethernet adapter Device Installer supports several functions such as setting network parameters pinging a network device and changing baud rate The first operation you must do is to locate the device on your network and assign the device a fixed IP address Once the unit has a fixed IP address you can use several methods to setup the unit for your specific application Please locate and read the Device Installer User Guide found on the product CD The manual can be read by first clicking the User Manual and Application Notes button on the main page of the software CD then clicking on the Device Installer button You can also browse the CD to find the manual Locate the doc folder and double click on Dev Inst UG 800233 x pdf Note the x designation in the Device Installer file name refers to the current revision level 3 6 NET
76. unity Name This option allows you to change the SNMP Community Name on the unit This allows for ease of management and possibly some security If someone tries to violate security but doesn t know what community to connect to that person will be unable to get the SNMP community information from the unit The name is a string of 1 to 13 characters plus a null terminator 14 bytes total The default setting is public 3 16 3 Disable Telnet Setup Note If you choose to disable this option keep in mind that disabling both Telnet Setup and Port 77FE will prevent users from accessing the setup menu from the network This setting defaults to the N No option The Y Yes option disables access to this Configuration Menu by Telnet port 9999 It only allows access locally via the Web pages and the serial port of the unit 3 16 4 Disable TFTP Firmware Upgrade This setting defaults to the N No option The Y Yes option disables the use of TFTP to perform network firmware upgrades With this option firmware upgrades can be downloaded over the serial port using Device Installer s Recover Firmware procedure 3 16 5 Disable Port 77FE Hex Note If you choose to disable this option keep in mind that disabling both Telnet Setup and Port 77FE will prevent users from accessing the setup menu from the network Port 77FE is a setting that allows Device Installer Web manager and custom programs to configure the unit remotely You may want to dis
77. unneling 1 2 NET232 NETUSB User Guide Overview 2 Introduction 2 1 Procedures for setup The NET232 is a device for connecting a serial device to the Ethernet You will therefore have to know some technical facts about the serial device you are trying to connect You can generally find that information in the manufacturer s technical manual or from a set of schematics for the product This section of the user manual has detailed information about the RS232 signals provided by the NET232 and how they should be connected to another RS232 serial device See Table 1 RS232 Signals You will have to provide an IP address for the NET232 Using DHCP protocol the NET232 can get a temporary IP address from your server but a fixed IP address is required for permanent installation The port used to transfer data is called the Local Port and has a default setting of 10001 The software CD contains a program called Device Installer which is used to locate the NET232 on your network You can use it to assign the IP address and port number setup the serial port parameters and view all the configuration information for the device We highly suggest using the Quick Start Guide to get your unit quickly configured The User Manual has more detailed information about all the options available Almost all the configuration settings are already configured for best performance so all you need to do is supply the IP address and setup the serial port par
78. upports 128 192 and 256 bit encryption key lengths 3 When prompted to change keys select Y 4 Atthe Enter Keys prompt enter your encryption key The encryption keys are entered in hexadecimal The hexadecimal values are echoed as asterisks to prevent onlookers from seeing the key Hexadecimal values are 0 9 and A F e Fora 128 bit key length enter 32 hexadecimal characters e Fora 192 bit key length enter 48 hexadecimal characters e Fora 256 bit key length enter 64 hexadecimal characters 5 Continue pressing Enter until you return to the Change Setup menu 6 From the Change Setup menu select option 9 to save and exit Encryption only applies to the port selected for data tunneling default 10001 regardless of whether you are using TCP or UDP Generally one of two situations applies e Encrypted NET232 to NET232 communication Be sure to configure both NET232 devices with the same encryption key e Third party application to NET232 encrypted communication NET232 uses standard AES encryption protocols To communicate successfully products and applications on the peer side must use the same protocols and the same encryption key as the NET232 e Lantronix Secure Com Port Redirector provides an encrypted connection from Windows based applications to the NET232 Information about SCPR is at http www lantronix com device networking software services scpr html Note Developers can license the Lantronix Encryption Library
79. vel for the email Notification Interval The minimum time allowed between individual triggers If a trigger event occurs within the minimum interval since the last trigger it is ignored Re notification Interval Indicates the time interval in which a new email message is sent to the recipient s when a single trigger event remains active 3 When you are finished click the OK button 4 On the main menu click Apply Settings 3 12 NET232 NETUSB User Guide Configure 3 8 Configurable Pin Settings There are three configurable hardware pins on the XPort unit For each pin configure the pin function communication direction and activity level Note On the NET232 CPO should only be set to Clear To Send CTS or the default setting CP1 is not used CP2 should only be set to Ready To Send RTS Data Terminal Ready DTR or the default setting To configure the NET232 s Configurable Pins 1 On the main menu click Configurable Pins The Configurable Pins page opens MAC Address 0 20 4A 86 C5 48 L NN Configurable Pin Settings Network Server Serial Tunnel Hostlist Channel 1 Function Direction Active Level General Purpose I O amp Input C Output Low C High General Purpose I O amp Input C Output Low C High General Purpose I O amp Input C Output Low C High Trigger 3 Apply Settings Apply Factory Defaults ok 2 Configure or modify the following fields for each pin

Download Pdf Manuals

image

Related Search

Related Contents

Návod k použití  Warehouse of Tiffany RL3134 Instructions / Assembly  Aumento do pénis - Agora já pode ter  CONTROLADORES E INDICADORES DE TEMPERATURA  Emerson EDVC860F Owner's Manual      Réponse de la municipalité au postulat de Mme Charlotte  

Copyright © All rights reserved.
Failed to retrieve file