background image

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  6  5  4  3   2   1  0 

Input Buffer (Serial to Network) 

 

Clear with a connection that is initiated from 
the device to the network  

 

 

 

1    

 

 

 

Clear with a connection initiated from the 
network to the device 

 

 

1    

 

 

 

 

Clear when the network connection to or from 
the device is disconnected 

 

1    

 

 

 

 

 

Output Buffer (Network to Serial) 

 

Clear with a connection that is initiated from 
the device to the network 

 

 

 

 

 

 

 

Clear with a connection initiated from the 
network to the device 

 

 

 

 

 

 

1    

Clear when the network connection to or from 
the device is disconnected 

 

 

 

 

 

1    

 

Alternate Packing Algorithm (Pack Control) 

 

Enable 

 

 

       

 

NET232/NETUSB User Guide 

3-29 

Summary of Contents for NET232

Page 1: ...NET232 NETUSB Serial to Ethernet Adapter Revision C July 25 2008 Document Part Number GC 800 232 ...

Page 2: ......

Page 3: ...tions intended to support or sustain life or in any other application in which the failure of a Grid Connect Inc product could create a situation where personal injury death or severe property or environmental damage may occur Grid Connect Inc reserves the right to discontinue or make changes to its products at any time without notice Grid Connect and the Grid Connect logo and combinations thereof...

Page 4: ...ial installation This equipment generates uses 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 Grid Connect will void the user s authority to operate this device The information in this guide may change without notice The manuf...

Page 5: ...ssions 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 Characteristics Direct ESD Contact Discharge Indirect ESD Radiated RF Electromagnetic Field Test Electrical Fast Transient Burst Immunity RF Common Mode Conducted Susceptibility P...

Page 6: ... period of 60 DAYS after the date of shipment In no event will Grid Connect 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 h...

Page 7: ...t Driver Installation Windows 2000 3 3 3 3 3 Virtual COM Port Driver Installation Windows XP 3 3 3 3 4 Virtual COM Port Driver Installation Windows 98 SE 3 4 3 4 Methods of Assigning the IP Address 3 5 3 4 1 Hardware Address 3 5 3 4 2 IP Address 3 5 3 4 3 DHCP 3 5 3 4 4 AutoIP 3 6 3 5 Device Installer 3 6 3 6 Configuration Using Web Manager 3 7 3 6 1 Starting Web Manager 3 7 3 6 2 Network Configur...

Page 8: ... 30 3 13 15 Send Characters 3 31 3 13 16 Telnet Terminal Type 3 31 3 13 17 Channel Port Password 3 31 3 14 E mail Settings 3 31 3 14 1 E mail Setup 3 32 3 14 2 Trigger Setup 3 32 3 15 Expert Settings 3 33 3 15 1 TCP Keepalive time in seconds 3 33 3 15 2 ARP Cache timeout in seconds 3 33 3 15 3 Enable High Performance 3 33 3 15 4 Disable Monitor Mode at Bootup 3 33 3 15 5 RS 485 TX Enable Active Le...

Page 9: ... Troubleshooting 5 1 5 1 Technical Support 5 3 6 Monitor Mode 6 1 6 1 Monitor Mode 6 1 6 1 1 Entering Monitor Mode Using the Serial Port 6 1 6 1 2 Entering Monitor Mode Using the Network Port 6 1 6 1 3 Monitor Mode Commands 6 1 List of Figures Figure 1 NETUSB Drivers Installation 3 2 Figure 2 Setup Mode Window 3 17 Figure 3 Hostlist Option 3 24 NET232 NETUSB User Guide vii ...

Page 10: ...n Interface Mode Settings 3 21 Table 9 Flow Control Options 3 21 Table 10 Reserved Ports 3 21 Table 11 Connect Mode Options 3 22 Table 12 Manual Connection Address Example 3 24 Table 13 Modem Mode Commands 3 27 Table 14 Disconnect Mode Options 3 28 Table 15 Flush Mode Options 3 29 Table 16 Pack Control Options 3 30 Table 17 Problems and Error Messages 5 1 Table 18 Monitor Mode Commands 6 2 Table 1...

Page 11: ...irected to a virtual Ethernet port Ethernet Serial Device Computer NET232 Serial to Ethernet Adapter Ethernet RS232 Ethernet RS232 Adapter 9 24VDC PWR RS232 ETH NET232 In some cases the control system cannot use redirector software or the system engineer simply wants to replace the short RS232 serial cable with an infinitely long serial link In this case two NET232 s are linked together to form a ...

Page 12: ...ctor Guide Provides information on using the Windows based utility to create a virtual com port Redirector_UG_800235_a pdf Web Enable User Guide Explains the steps to get your device Web enabled Web_Enabling_UG_800236_a pdf GPIO Interface Guide Introduction to the GPIO interface and a demo program GPIO_800237_a pdf UDP Configuration Guide How to use UDP to configure the unit How to acquire and use...

Page 13: ...rmation 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...

Page 14: ...rt 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 v...

Page 15: ... 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 sig...

Page 16: ...MM 10 POS VERT DIGI KEY WM18676 ND NO SIGNALS ON THESE PINS ONLY THIS HOLE CAN BE USED FOR MOUNTING DO NOT USE THESE HOLES FOR MOUNTING THEY HAVE POWER ON THEM 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 supp...

Page 17: ...T232 LED Functions Left LED Right LED Meaning Solid Amber 10BASE T Solid Green 100BASE Tx Blinking Amber Half Duplex Activity 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 NE...

Page 18: ... TFTP Auto IP SMTP and HTTP LEDs 10Base T 100Base TX Activity Full half duplex Management Internal web server SNMP read only Serial login Telnet login Security Password protection Locking features optional Rijndael 128 bit encryption Internal Web Server Serves static web pages and Java applets Weight 2 2oz Material Case Flame Retardant Temperature Operating range 40 C to 85 C 40 F to 185 F High pe...

Page 19: ...nt to consider the following points before logging into and configuring the device server The device server s IP address must be configured before a network connection is available 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 Network port logins can be disabled The system man...

Page 20: ...tallation wizard prompts 3 3 1 NETUSB Software Interface Once connected to a USB 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...

Page 21: ... 7 Press Finish to finish installing the CP2101 USB Composite Device 8 Windows will open a second Found New Hardware Wizard window Press Next to continue 9 Select Search for a suitable driver for my device recommended and press Next 10 Check Specify a location and press Next 11 Press Browse to locate the slabw2k inf driver installation file The default location is the C SiLabs MCU CP2101 WIN direc...

Page 22: ...e best driver for your device Recommended and press Next 4 Select Specify a location 5 Press Browse to locate the C SiLabs MCU CP2101 WIN directory Once this directory is selected press Next 6 Verify that the correct path and filename are shown and press Next 7 Press Finish to finish installing the CP2101 USB Composite Device 8 Windows will open a second Found New Hardware Wizard window Press Next...

Page 23: ... 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 ...

Page 24: ...ver 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 an...

Page 25: ...ce 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 DeviceInstaller Follow the instructions on the product CD to install and run DeviceInstaller 1 Click Start Programs Lantronix DeviceInstaller DeviceInstaller If the PC has more than one network adapter a message displays r...

Page 26: ...l 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 ...

Page 27: ...uch 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 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 commun...

Page 28: ...ived 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 ...

Page 29: ...s 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 Address Enter the email address designated to receive email notifications Recipient 2 Email Address Ente...

Page 30: ...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...

Page 31: ...nctions 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 77F0 port Modem Ctrl In DTR Allows for control of the con...

Page 32: ...oes 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 Defaults button to set the device server back to the default settings 3 14 NET232 NETUSB User Guide ...

Page 33: ... port login skip ahead to 3 11 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 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 wh...

Page 34: ...C0 Send in Modem Mode enabled 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 Monitor Mode bootup enabled RS485 tx enable active low HTTP Port Number 80 SMTP Port Number 25 MTU Size 1400 Alternate MAC disabled Ethernet connection type auto negotiat...

Page 35: ...ion interval 0 s Trigger 3 Serial trigger input disabled Channel 1 Match 00 00 Trigger input1 x Trigger input2 x Trigger input3 x Message Priority L Min notification 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 Your choice Figure 2 Setup Mode Window NET232 NETUSB User Guide 3 17 ...

Page 36: ... 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 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 ad...

Page 37: ...r 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 ...

Page 38: ...e 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 bp...

Page 39: ...lt 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 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 ...

Page 40: ...cept incoming 0 0 0 Accept with DTR Active 0 1 0 Always Accept 1 1 0 Response Nothing quiet 0 Character response C connect D disconnect N unreachable 1 Active Startup No active startup 0 0 0 0 With any character 0 0 0 1 With DTR Active 0 0 1 0 With a specific start character 0 0 1 1 Manual connection 0 1 0 0 Autostart 0 1 0 1 Hostlist 0 0 1 0 Datagram Type Directed UDP 1 1 0 0 Modem Mode No Echo 0...

Page 41: ...0D 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 re...

Page 42: ...nnect 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 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...

Page 43: ...st 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 connec...

Page 44: ... n n A remote device having IP address n n n n is connecting to this 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 Any character sequence received not starting with AT will be ignored The unit will only recognize and process single AT style commands Compound AT commands wil...

Page 45: ... an IP address x x x x and the remote port number defined within the unit ATH Hangs up the connection Entered as ATH ATS0 n Enables or disables connections from the network going to the serial port 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 1 9 is invalid ATEn Enables or disa...

Page 46: ... the Configurable Pins option Note There is no State LED on the NET232 Table 14 Disconnect Mode Options Disconnect Mode Option 7 6 5 4 3 2 1 0 Disconnect with DTR drop 6 1 Ignore DTR 0 Telnet mode and terminal type setup 1 1 Channel port password 2 1 Hard disconnect 3 0 Disable hard disconnect 1 State LED off with connection 4 1 Disconnect with EOT D 5 1 1 The NET232 will send the Terminal Type up...

Page 47: ...on that is initiated from the device to the network 1 Clear with a connection initiated from the network to the device 1 Clear when the network connection to or from the device is disconnected 1 Output Buffer Network to Serial Clear with a connection that is initiated from the device to the network 1 Clear with a connection initiated from the network to the device 1 Clear when the network connecti...

Page 48: ...essive 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 n...

Page 49: ...ord 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 to use...

Page 50: ...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 priorit...

Page 51: ... 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 the serial...

Page 52: ...cal packet size a network can transmit for TCP and UDP Enter 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 dup...

Page 53: ...o 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...

Page 54: ...r 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 For a 128 bit key length enter 32 hexadecimal characters For a 192 bit key length enter 48 hexadecimal characters For a 256 bit key length enter 64 hexadecimal characters 5 Continue pressing...

Page 55: ...es 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 defa...

Page 56: ......

Page 57: ... 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 or select Upgr...

Page 58: ......

Page 59: ...ort 1 on the server you are only assigning a temporary IP address When you Telnet into port 9999 and do not press Enter quickly the server will reboot causing it to lose the IP address Telnet back into Port 1 Wait for it to fail then Telnet to port 9999 again Make sure you press Enter quickly When you Telnet to port 9999 the message Press Enter to go into Setup Mode displays However nothing happen...

Page 60: ... response The issue will most likely be something covered in the previous problem or possibly you have Caps Lock on Double check everything in the problem above Confirm that Caps Lock is not on You can ping the server but not Telnet to the server on port 9999 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...

Page 61: ...chapter or if you are unable to fix the error you may Contact Grid Connect 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 ...

Page 62: ......

Page 63: ...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 1 Establish a Telnet session to the configuration port 9999 The following message appears MAC address 00204A0113A3 Software version 01 0b9 021219 XPT Press Enter to go into Setup Mode 2 Type M upper case A 0 prom...

Page 64: ...ode G0 G1 Ge Gf Get configuration from memory page Gets a memory page of configuration information from the device S0 S1 Se Sf Set configuration to memory page Sets a memory page of configuration information on the device GM Get MAC address Shows the unit s 6 byte MAC address SS Set Security record Sets the Security record without the encryption key and length parameters The entire record must sti...

Page 65: ...NET232 NETUSB User Guide 6 1 ...

Reviews: