Page 4
Chapter 5 Web Console Configuration................5-1 Opening Your Browser......................5-2 Network Settings........................5-4 Accessible IP Settings......................5-6 Change Password........................5-8 Restart/Logout ......................... 5-8 Chapter 6 Serial Console Configuration..............6-1 Chapter 7 Upgrading the Firmware................7-1 Appendix A Well Known Port Numbers ................. A-1 Appendix B NECI Library ....................
Introduction Chapter 1 Moxa’s NE-4000T Series of Embedded Network Enablers is designed to turn serial devices into true network devices. Smaller than a credit card, NE-4000T comes with the right combination of hardware and software features to make product development efficient and straightforward. Four NE-4000T models are available.
TCP/IP programming, but instead can focus on developing other major features, shortening the time to market of your new products. The reliable TCP/IP communication firmware that comes with the NE-4000T Series can be configured very easily with the user-friendly Windows utility or by serial console. The product also has a Web console for basic configuration by web browser.
Panel Layout and Pin Assignments Chapter 2 In this chapter, we show the panel layouts and pin assignments for the NE-4000T Embedded Network Enabler module and NE-4000T-ST Starter Kit. You can use the Starter Kit to test the NE-4000T module to determine if it’s the right product for your application, and then use it to develop programs for your applications.
NE-4000T Series User’s Manual Panel Layout and Pin Assignments NE-4000T Module The NE-4000T module is a serial (TTL) to Ethernet embedded enabler that is small enough to fit inside most serial devices. Serial device manufacturers use the module to upgrade existing serial devices into products that can be connected directly to an Ethernet port.
NE-4000T Series User’s Manual Panel Layout and Pin Assignments NE-4000T-ST Starter Kit The NE-4000T-ST Starter Kit is used to evaluate the NE-4000T module and to develop applications. The Starter Kit has a serial port and Ethernet port that provide a direct connection between a PC and the NE-4000T module.
NE-4000T Series User’s Manual Panel Layout and Pin Assignments DIO Pin Headers LED Indicators LED Name LED Color LED Function Power Indicates that the power is on. Power is on and NE-4000T-ST Steady on: is functioning normally. green NE-4000T is in DHCP Client...
Getting Started Chapter 3 In this chapter, we explain how to set up the NE-4000T module and NE-4000T-ST Start Kit, and briefly describe the operation modes for each of the four NE-4000T models. This chapter covers the following topics: Wiring Requirements Plugging NE-4000T into NE-4000T-ST Connecting the Power Connecting to the Network...
NE-4000T Series User’s Manual Getting Started Wiring Requirements You should heed the following common safety precautions before proceeding with the installation of any electronic device: Use separate paths to route wiring for power and devices. If power wiring and device wiring paths must cross, make sure the wires are perpendicular at the intersection point.
NE-4000T Series User’s Manual Getting Started Connecting the Power Connect the 12-30 VDC power line to NE-4000T-ST’s terminal block. If the power cord is properly connected, the “POWER” LED will illuminate in red. When the system boots up and is ready to go, the “Ready”...
NE-4000T Series User’s Manual Getting Started Digital Input Each Digital Input also uses the 2 signals mentioned above to recognize the messages coming from your device, such as a sensor. Unlike Digital Output mode, NE-4000T waits passively for incoming signals when set to Digital Input mode. For example, you can configure DIØ to be in the “On”...
NE-4000T Series User’s Manual Getting Started Real COM Mode (NE-4000T-RC) NE-4000T-RC comes equipped with COM drivers that work with Windows 95/98/ME/NT/2000/XP systems. The driver establishes a transparent connection between host and serial device by mapping the IP:Port of the NE-4000T-RC’s serial port to a local COM port on the host computer.
NE-4000T Series User’s Manual Getting Started TCP Client Mode (NE-4000T-TC) In TCP Client mode, NE-4000T-TC can actively establish a TCP connection to a pre-defined host computer when serial data arrives. After the data has been transferred, NE-4000T-TC can disconnect automatically from the host computer by using the TCP alive check time or Inactivity time settings.
Network Enabler Administrator Chapter 4 In this chapter, we demonstrate how to use Network Enabler Administrator to configure your NE-4000T. Unless otherwise noted, the Real COM model (NE-4000T-RC) is used to illustrate how to install and configure NE-4000T. This chapter covers the following topics: Installing Network Enabler Ad ministrator Confugation window...
NE-4000T Series User’s Manual Network Enabler Administrator Installing Network Enabler Administrator In this section, we describe how to install Network Enabler Administrator. Insert the CD that comes with NE-4000T into your computer’s CD-ROM drive. If your computer is not set up to autorun, click on the utility_setup icon to start the installation.
Page 23
NE-4000T Series User’s Manual Network Enabler Administrator Accept the default destination folder, or select an alternative. Click on Next to continue. Check the Create a desktop icon box if you would like the Network Enabler Administrator icon to appear on your desktop. Click on Next to continue.
Page 24
NE-4000T Series User’s Manual Network Enabler Administrator The Installing window shows that setup files are being copied to your computer. Check the Launch Network Enabler Administrator box if you would like to start Network Enabler Administrator right away, and then click on Finish.
NE-4000T Series User’s Manual Network Enabler Administrator Configuration Window To start Network Enabler Administrator, select Start Programs Network Enabler Administrator 2.6 Network Enabler Administrator, or click on the Network Enabler Administrator 2.6 icon on your desktop. Network Enabler Administrator opens to the Configuration window, which is divided into four sections: The top section of the window includes the menu bar and function icons.
NE-4000T Series User’s Manual Network Enabler Administrator Broadcast Search Broadcast Search searches by MAC address to locate all NE-4000T units connected to the same Ethernet LAN as your PC. This means that Broadcast Search locates all NE-4000T units connected to the same Ethernet LAN as your PC, regardless of whether or not the NE-4000T units are part of the same subnet as the PC.
NE-4000T Series User’s Manual Network Enabler Administrator The Configurator window lists all NE-4000T units that were located. Specify by IP Address Select Specify by IP address under the Configuration menu to locate NE-4000T units by IP address. This function can be used to find NE-4000T units located anywhere in the world,...
Page 28
NE-4000T Series User’s Manual Network Enabler Administrator Type the IP address of the NE-4000T in the Input a Network Enabler IP address text field, and then click on OK. The NE-4000T will be listed in the Configuration window if Network Enabler Administrator was able to locate the unit by IP address.
NE-4000T Series User’s Manual Network Enabler Administrator NE-4000T Configuration Information Five items are listed in the Configuration window: The order in which the NE-4000T units were located. Model The model name—NE-4000T-RC, NE-4000T-TS, NE-4000T-TC, or NE-4000T-UD. MAC Address The unique MAC Address assigned by Moxa. The MAC address cannot be modified.
NE-4000T Series User’s Manual Network Enabler Administrator Unlock Password Protection NE-4000T units listed with Status of Lock or Lock Fixed are password protected. If you attempt to modify the NE-4000T unit’s configuration by double clicking on the unit’s name, the Error message Target is password protected.
NE-4000T Series User’s Manual Network Enabler Administrator If you entered the correct password, click on OK in the Unlock ok window. The NE-4000T unit will be listed as Unlock or Unlock Fixed, depending on whether you used “Broadcast Search” or “Search by IP address” to locate the unit.
NE-4000T Series User’s Manual Network Enabler Administrator After all items have been processed, the Configuration window opens. The Configurator window has seven tabs—Basic, Network, Serial, Operating Mode, Accessible IPs, Password, and Digital I/O—that allow the user to view and modify settings.
NE-4000T Series User’s Manual Network Enabler Administrator Device Name Setting Factory Default Necessity 1 to 15 characters NE-4000T-MN Optional (MN = RC, TS, TC, or UD) To change the Device Name, check the Modify box above Device Name, and then type the new name in the text input box.
NE-4000T Series User’s Manual Network Enabler Administrator To change the IP address, check the Modify box located above IP Address, and then enter the assigned IP address. An IP address is a number assigned to a network device (such as a computer) as a permanent address on the network.
Page 35
NE-4000T Series User’s Manual Network Enabler Administrator The Serial Settings window will open, allowing you to make changes to the serial parameters. Baud Rate Setting Factory Default Necessity 300 bps to 115.2 Kbps 9600 bps Parity Setting Factory Default Necessity...
NE-4000T Series User’s Manual Network Enabler Administrator Stop Bits Setting Factory Default Necessity Flow Control Setting Factory Default Necessity None, RTS/CTS, XON/XOFF None FIFO Setting Factory Default Necessity Disable Disable Interface Setting Factory Default Necessity ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual, and then configure NE-4000T’s serial parameters with the same communication parameters used by your...
Page 37
NE-4000T Series User’s Manual Network Enabler Administrator The Real COM configuration panel will open. TCP Alive Check Timeout Setting Factory Default Necessity 0 to 99 min 7 min Optional 4-17...
Page 38
NE-4000T Series User’s Manual Network Enabler Administrator 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: NE-4000T-RC automatically closes the TCP connection if there is no TCP activity for the given time. After the connection is closed, NE-4000T-RC starts listening for another connection request.
Page 39
NE-4000T Series User’s Manual Network Enabler Administrator The TCP Server configuration panel will open. Local TCP Port Setting Factory Default Necessity xxxx (e.g., 4001) 4001 Required 4-19...
Page 40
NE-4000T Series User’s Manual Network Enabler Administrator The TCP port that NE-4000T-TS uses to listen to connections, and that other devices must use to contact the NE-4000T-TS. To avoid conflicts with well known TCP ports, the default is set to 4001.
Page 41
NE-4000T Series User’s Manual Network Enabler Administrator The Force Tx Timeout parameter is used to force transmission if the time limit is reached. Set the parameter to 0 (zero) to deactivate this feature. Note that the system obeys the first condition that it detects. That is, a packet is sent as soon as the Delimiter(s) are received, or as soon as the Force Tx Timeout is reached, whichever comes first.
Page 42
NE-4000T Series User’s Manual Network Enabler Administrator Connect Mode Setting Factory Default Necessity Startup or Any Character Startup If Startup is selected, the NE-4000T-TC will attempt to establish a connection with the Destination Host as soon as it receives power and boots up. If Any Character is selected, the NE-4000-TC will attempt to establish a connection with the Destination Host when it receives any character from the serial device.
Page 43
NE-4000T Series User’s Manual Network Enabler Administrator Inactivity Timeout Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional 0 ms: TCP connection is not closed due to an idle serial line. 0-65535 ms: NE-4000T-TC automatically closes the TCP connection if there is no serial data activity for the given time.
Page 44
NE-4000T Series User’s Manual Network Enabler Administrator The UDP configuration panel will open. 4-24...
Page 45
NE-4000T Series User’s Manual Network Enabler Administrator Local Listen Port Setting Factory Default Necessity xxx.xxx.xxx.xxx blank Required* (e.g., 192.168.127.16) * Required for TCP Server applications. The “IP address : Port” that NE-4000-UD will establish a connection with. To avoid conflicts with well known TCP ports, the default is set to 4001.
NE-4000T Series User’s Manual Network Enabler Administrator The Data Packing feature allows you to ensure that a string of data is not split up into more than one packet. Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1K, then NE-4000T-UD will automatically pack the data and send it to the Ethernet port.
Page 47
NE-4000T Series User’s Manual Network Enabler Administrator Check the box for that row to activate the IP Address / Netmask combination as an Accessible IP / Subnet combination. Accessible IP Settings allows you to add or remove “Legal” remote host IP addresses to prevent unauthorized access.
NE-4000T Series User’s Manual Network Enabler Administrator You can allow one of the following cases by setting the parameters accordingly. Only one host with a specific IP Address can access the NE-4000T Enter the specific IP address (e.g., 192.168.1.1) and enter 255.255.255.255 for Netmask.
Page 49
NE-4000T Series User’s Manual Network Enabler Administrator To change a DI/O setting, check the Modify box, click on the DI/O you wish to modify to highlight it, and then click on the Setting button. DI/O Set as Input The Status of a DI/O set to Input mode is irrelevant, so when Mode is set to Input, the Status option is not active.
Page 50
NE-4000T Series User’s Manual Network Enabler Administrator Applying modifications After making changes to the configuration, click on OK. Administrator will take a few seconds to process the modifications. Click on OK to complete the configuration. 4-30...
NE-4000T Series User’s Manual Network Enabler Administrator Export/Import Functions To export a configuration, select the NE-4000T whose configuration you would like to export, click the right mouse button, and then select Export Configuration from the drop down menu. A Select File window will open next. Enter the target directory for the configuration file, or click on Browse to search.
Page 52
NE-4000T Series User’s Manual Network Enabler Administrator A Select File window will open next. Enter the source directory of the configuration file, or click on Browse to search. Click on OK to return to the Administrator window. 4-32...
Web Console Configuration Chapter 5 The Web Console provides a convenient way to configure some of the most basic NE-4000T settings. This chapter covers the following topics: Opening Your Browser Network Settings Accessible IP Settings Change Password Restart/Logout...
NE-4000T Series User’s Manual Web Console Configuration Opening Your Browser Before opening your browser, you need to enable cookies. To enable your browser for cookies, right click on your desktop Internet Explorer icon, select Properties, and then click on the Security tab.
Page 55
NE-4000T Series User’s Manual Web Console Configuration Enter the NE-4000T’s IP address in your web browser’s address box, and then press the Enter key on your keyboard. A screen will open, displaying detailed information about NE-4000T. Input the password, if the NE-4000T is password protected, and then click on Login. The password is transmitted without MD5 encryption over the Ethernet.
NE-4000T Series User’s Manual Web Console Configuration The NE-4000T Networking Settings screen will open. ATTENTION If you use other web browsers, remember to enable the functions to “allow cookies that are stored on your computer” or “allow per-session cookies.” NE-4000T only uses cookies for the “password” transmission.
Page 57
NE-4000T Series User’s Manual Web Console Configuration ATTENTION If your NE-4000T application requires using password protection, you must enable the cookie function in your browser. If the cookie function is disabled, you will not be allowed to enter the Web Console Screen.
NE-4000T Series User’s Manual Web Console Configuration IP Address Setting Factory Default Necessity x.x.x.x 192.168.127.254 Required (E.g., 192.168.1.1. IP addresses of the form x.x.x.0 and x.x.x.255 are invalid.) An IP address is a number assigned to a network device (such as a computer) as a permanent address on the network.
Page 59
NE-4000T Series User’s Manual Web Console Configuration NE-4000T has an IP address-based filtering method to control access to the NE-4000T. Accessible IP Settings allows you to add or remove “Legal” remote host IP addresses to prevent unauthorized access. Access to NE-4000Ts is controlled by IP address. That is, if a host’s IP address is in the accessible IP table, then the host will be allowed to access the NE-4000T.
NE-4000T Series User’s Manual Web Console Configuration Change Password To change the password, enter the old password in the box next to Old, and enter a new one in the box next to New. Then reenter the new password in the box next to Confirm. Leave the password boxes blank to erase the password.
Serial Console Configuration Chapter 6 This chapter introduces the procedure for using the serial console port on NE-4000T-ST to configure NE-4000T. Network Settings is used to illustrate the configuration procedure. We suggest using MOXA PComm Terminal Emulator, which is available free of charge as part of the MOXA PComm Lite program suite, to carry out the configuration procedure.
Page 62
NE-4000T Series User’s Manual Serial Console Configuration The Property window opens automatically. From the Communication Parameter page, select the appropriate COM port for the connection, COM1 in this example, and 19200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits.
Page 63
NE-4000T Series User’s Manual Serial Console Configuration Power on the NE-4000T and press “0” continuously until the serial console screen opens. Several options are displayed under Main Menu. To configure Network Settings, input 1 and then press the Enter key on your keyboard.
Page 64
NE-4000T Series User’s Manual Serial Console Configuration To change server name, input 1. The Server Name will appear at the bottom of the screen. Type in the name for the NE-4000T. If you wish to continue making changes to other settings, just key in the number shown next to that item and configure the settings.
Upgrading the Firmware Chapter 7 This chapter describes the procedure for upgrading the firmware. The latest version of the firmware can be downloaded free of charge from Moxa’s website at www.moxa.com. You must use the serial console port on NE-4000T-ST to upgrade the firmware. Click on Start Programs PComm Lite...
Page 66
NE-4000T Series User’s Manual Upgrading the Firmware From the Property window’s Terminal page, select ANSI and then click on OK. Disconnect the power line from NE-4000T-ST. Press the PRG button. While still pressing the PRG button, reconnect the power line to NE-4000T-ST.
Page 67
NE-4000T Series User’s Manual Upgrading the Firmware ATTENTION Currently, the serial console is set up to allow end-users to upgrade NE-4000T’s firmware. The additional functions shown in the above screen are not for general use. DO NOT USE THE FOLLOWING FUNCTIONS...
Page 68
NE-4000T Series User’s Manual Upgrading the Firmware The Transmit File window opens next. Locate the *.ROM file that you downloaded from Moxa’s website, and then click on Open. 10. The next window to open shows that the program is upgrading the firmware.
Page 69
NE-4000T Series User’s Manual Upgrading the Firmware 12. Press any key to return to the main menu.
Well Known Port Numbers Appendix A This appendix is for your reference. Listed below are Well Known Port Numbers that may cause network problems if you configure NE-4000T for the same port. Refer to RFC 1700 for Well Known Port Numbers or refer to the following introduction from IANA. The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports.
Page 72
NE-4000T Series User’s Manual Well Known Port Numbers TCP Socket Application Service (Login Host Protocol) (Login) Domain Name Server (domain) Finger protocol (Finger) World Wibe Web HTTP Netword news Transfer Protocol (NNTP) Network Time Protocol 160 – 223 Reserved for future use...
NECI Library Appendix B NECI (Network Enabler Configuration Interface) is a set of APIs that run in the Windows 95/98/ME/NT/2000/XP system to search, locate, and configure the NE-4000T over the network. The NE-4000T library can be found in the folder .\NECI_LIBRARY on the CD enclosed with NE-4000T product.
Page 75
DIO Commands Appendix C In this appendix, we give the reference DIO commands used to access the Digital I/O status of the NE-4000T Network Enabler from an Ethernet network. The Digital I/O status can be accessed by a specific TCP port (default 5001) on the Network Enabler. Command Packet Format: Length (Bytes) 1 –...
NE-4000T Series User’s Manual DIO Commands Command Code Usage 1. Reading Single DIO Read the state (“high” or “low”) and the mode (“in” or “out”) of the single digital I/O point. Parameters: Command code: 1 (hex) Version: 1 (hex) Length of data: 1 (hex), represents one byte.
Page 77
NE-4000T Series User’s Manual DIO Commands C code example: void WriteSingleDIOMode(int port, int mode) DIOPacketStruct packet; packet.command = 2; // write single DIO mode command packet.version = 1; // DIO protocol version packet.length = 2; // data length packet.data[0] = (char)port;...
Page 78
NE-4000T Series User’s Manual DIO Commands 4. Reading Multiple DIOs Read the state (“high” or “low”) and the mode (“in” or “out”) of all digital I/O points at the same time. Parameter: Command code: 4 (hex) Version: 1 (hex) Length of data: 1 (hex); represents two bytes.
Need help?
Do you have a question about the NE-4000T Series and is the answer not in the manual?
Questions and answers