NE-4100 Series User’s Manual Sixth Edition, April 2005 www.moxa.com/product Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support Worldwide: support@moxa.com.tw The Americas support@moxa.
NE-4100 Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright 2005 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction................................................................................................. 1-1 Overview .................................................................................................................................1-2 Package Checklist....................................................................................................................1-2 Product Features .........................................................................
Operating Settings ...................................................................................................................6-9 TCP Server Mode.........................................................................................................6-9 Real COM Mode ........................................................................................................ 6-11 TCP Client Mode .......................................................................................................
1 Chapter 1 Introduction Moxa’s NE-4100 Series of Serial-to-Ethernet Embedded Network Enablers are compact sized embedded modules that let you network-enable your serial devices. All NE-4100 Series modules come equipped with built-in TCP/IP protocols for fast integration, saving you time and energy on programming.
NE-4100 Series User’s Manual Introduction Overview NE-4100 Series Network Enablers are serial-to-Ethernet embedded modules that come in 3 types: drop-in type (NE-4100T), RJ45 type (NE-4110S/A), and pin header type (NE-4120S/A). The letters at the end of the model numbers indicate the serial signal supported by the product. T represents TTL, whereas S and A represent RS-232 and RS-422/485, respectively. NE-4100 Series products are very compact—less than half the size of a credit card.
NE-4100 Series User’s Manual Introduction Product Specifications NE-4100T NE-4110S/A NE-4120S/A System CPU 16-bit MCU RAM 2 MB Flash 1 MB LAN Ethernet Protection 10/100 Mbps, pin 10/100 Mbps, RJ45 10/100 Mbps, pin headers headers Built-in transformer with 1.
2 Panel Layout and Pin Assignments Chapter 2 This chapter includes information about the panel layouts and pin assignments for NE-4100 Series products. The layouts and reference circuit diagrams for the evaluation boards are also covered. The evaluation boards are used for evaluation and development of applications for NE-4100 Series modules.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments NE-4100T/NE-4100-ST NE-4100T is a TTL-to-Ethernet drop-in type network enabler. It measures 45 × 36 mm, and has a dual-in-line, 26-pin design, making it easy to integrate with your serial devices. NE-4100-ST is the corresponding evaluation board that can be used to develop and test your own NE-4100 applications. Panel Layouts NE-4100T Pin #1 45.00 mm 36.00 mm Pin #14 NE-4100-ST 149.00 mm Ethernet Port 99.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Pin Assignments NE-4100T Pin Signal Pin Signal 1 ETx+ 14 PIO0 2 ETx- 15 PIO1 3 ERx+ 16 PIO2 4 ERx- 17 PIO3 5 10M LED 18 100M LED 6 TXD 19 DCD 7 RXD 20 DSR 8 RTS 21 DTR 9 CTS 22 GND 10 Reset 23 Ready LED 11 GND 24 +5V 12 GND 25 +5V 13 TXD1* 26 RXD1* *Pins 13 and 26 control the NE-4100-ST Debug Serial COM Port’s TXD and RXD signals.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Block Diagram +5 VDC 1 MB SDRAM 10/100M Ethernet PHY Transformer 1.5 KV Isolation Customer's Device 2 MB Flash 80186 CPU TTL Serial data UART0 (Tx, Rx, RTS, CTS, DTR, DSR, DCD) MAC GPIO Port PIO0 - PIO3 UART Ready LED UART1 Line Driver 10M 100M LED LED Tx Rx Serial Console interface RJ45 NE-4100-ST LED Indicators LED Name Power LED Color red LED Function Indicates the power is on.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments NE-4110 Series/NE-4110-ST The NE-4110 Series has 2 models: NE-4110S and NE-4110A. NE-4110S is an RS-232-to-Ethernet embedded module, and NE-4110A is an RS-422/485-to-Ethernet module. Both modles are RJ45 type network enablers, and measure 57 × 40 mm. NE-4110-ST is the corresponding evaluation board that is designed to let you test the modules, and develop your own applications. Panel Layouts NE-4110S 1 2 57.00 mm 2 10 1 9 40.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Pin Assignments Serial Header Pinouts (J1) for NE-4110S NC CTS0 DSR0 DTR0 RxD0 10 8 6 4 2 9 7 5 3 1 NC RTS0 GND TxD0 DCD0 Serial Header Pinouts (J1) for NE-4110A NC NC NC RxDTxD+ 10 8 6 4 2 9 7 5 3 1 NC NC GND RxD+ TxD- NOTE The symbols “B” and “A” are often used in place of “+” and “-”, respectively. NOTE For the 2-wire RS-485 interface, pin 3 is for Data+ (B) and pin 4 is for Data- (A).
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Block Diagrams NE-4110S Block Diagram +5 VDC 1 MB SDRAM 2 MB Flash Serial data (Tx, Rx, RTS, CTS, DTR, DSR, DCD) 10/100 M Ethernet PHY Customer's device 80186 CPU UART0 MAC Transformer 1.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments NE-4110-ST LED Indicators LED Name Power LED Color red DIO0 red LED Function Indicates the power is on. Steady on: Power is on and NE-4110 is functioning normally. Blinking: NE-4110 has been located by NE-4110 Administrator’s Location function. 1. Power is off, or power error condition exists. 2. The IP address cannot be found in DHCP mode. 3. IP address conflict. Indicates that DIO is in “low” (0) status.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments NE-4120 Series/NE-4120-ST NE-4120 Series modules are very similar to NE-4110 Series modules. The main difference is that NE-4120 Embedded Network Enablers are pin header type. NE-4120 Series has 2 models: NE-4120S and NE-4120A, both of which measure 57 × 40 mm. NE-4120-ST is the testing and evaluation board that can be used with the two NE-4120 Series embedded modules. Panel Layouts Top Panel of NE-4120S J3 1 2 57.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Pin Assignments Serial Header Pinouts (J1) for NE-4120S NC CTS0 DSR0 DTR0 RxD0 10 8 6 4 2 9 7 5 3 1 NC RTS0 GND TxD0 DCD0 Serial Header Pinouts (J1) for NE-4120A NC NC NC RxDTxD+ 10 8 6 4 2 9 7 5 3 1 NC NC GND RxD+ TxD- NOTE The symbols “B” and “A” are often used in place of “+” and “-”, respectively. NOTE For 2-wire RS-485 interface, pin 3 is for Data+ (B) and pin 4 is for Data- (A).
NE-4100 Series User’s Manual Panel Layout and Pin Assignments Block Diagrams NE-4120S Block Diagram +5 VDC 1 MB SDRAM 2 MB Flash Serial data (Tx, Rx, RTS, CTS, DTR, DSR, DCD) 10/100 M Ethernet PHY Customer's device 80186 CPU UART0 MAC Transformer 1.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments NE-4120-ST LED Indicators LED Name Power LED Color red DIO0 red LED Function Indicates the power is on. Steady on: Power is on and NE-4120 is functioning normally. Blinking: NE-4120 has been located by NE-4120 Administrator’s Location function. 1. Power is off, or power error condition exists. 2. The IP address cannot be found in DHCP mode. 3. IP address conflict. Indicates that DIO is in “low” (0) status.
3 Chapter 3 Getting Started This chapter includes information about installing NE-4100 Series modules.
NE-4100 Series User’s Manual Getting Started Wiring Requirements This section describes some important safety precautions that you should pay attention to before proceeding with any installation. Safety First! Be sure to disconnect the power cord before installing and/or wiring your evaluation boards for the NE-4100 Series modules. Wiring Caution! Calculate the maximum possible current in each power wire and common wire.
NE-4100 Series User’s Manual Getting Started NE-4100-ST Starter Kit NE-4100T Series Module ON 1 DIP 2 3 4 Attaching NE-4110 Series to the Evaluation Board J1, J2 on the NE-4110 module and J9, J10 on the evaluation board are for communications between the NE-4110 Series modules and the evaluation board. Connect Jumper 1 (J1) on the NE-4110 Series module to Jumper 9 (J9) on the evaluation board, and Jumper 2 (J2) on the NE-4110 Series module to Jumper 10 (J10), as shown below.
NE-4100 Series User’s Manual Getting Started Pin 1 1 2 NE-4120-ST Starter Kit 1 2 2 10 4 1 9 14 5 9 10 1 2 13 14 3 2 1 13 NE-4120 Series Module Pin 1 ON 1 DIP 2 3 4 Circuit Pad for External Connection The circuit pad located on the right side of the evaluation boards (NE-4100-ST and NE-4110-ST) is used to develop additional application circuits. The circuit pad is circled in red in the figure below.
NE-4100 Series User’s Manual Getting Started Connecting the Power Connect the 12 VDC power line with the evaluation boards’ power jack. If the power is properly supplied, the “Power” LED will show a solid red color until the system is ready, at which time the “Ready” LED will show a solid green color. Connecting to the Network If you are using NE-4100T, connect one end of the Ethernet cable to the NE-4100-ST’s RJ45 Ethernet port, and the other end of the cable to the Ethernet network.
NE-4100 Series User’s Manual 1. Getting Started First, use the DI/O selectable jumper to set the DI/O modes, as shown below. DI/O Mode DI DO 0 1 2 3 2. After the DI/O modes are set, use the Digital Input Dip Switches to configure the status for DI0 and DI2. You can either configure the status to “Low” or “High.” If you wish to configure DI0’s status to “Low” and DI2’s status to “High,” set Dip Switch 1 to the “ON” position and DIP Switch 3 to the “OFF” position, as shown below.
NE-4100 Series User’s Manual Getting Started Selecting the Interface The various NE-4100 Series models support 2 different serial interfaces. NE-4110S and NE-4120S support the RS-232 interface, and NE-4110A and NE-4120A support the RS-422/485 interface. For this reason, we provide an interface selectable jumper on the NE-4110-ST and NE-4120-ST evaluation boards, which are used with NE-4110 and the NE-4120 Series, respectively.
4 Chapter 4 Choosing the Proper Operation Mode In this section, we describe the various NE-4100 Series operation modes. The options include an operation mode that uses a driver installed on the host computer, and operation modes that rely on TCP/IP socket programming concepts. After choosing the proper operating mode in this chapter, refer to subsequent chapters for detailed configuration parameter definitions.
NE-4100 Series User’s Manual Choosing the Proper Operation Mode Overview NE-4100 Series Embedded Network Enablers act as a bridge to connect your serial devices to the Ethernet. The built-in TCP/IP stack saves you a lot of time on programming networking protocols. One simple step allows you to choose the proper operating mode, and then use your computer to access, manage, and configure your serial device over the Internet from anywhere in the world.
NE-4100 Series User’s Manual Choosing the Proper Operation Mode TCP Client Mode In TCP Client mode, NE-4100 Series boards can actively establish a TCP connection to a pre-defined host computer when serial data arrives. After the data has been transferred, NE-4100 Series boards can automatically disconnect from the host computer by using the TCP alive check time or Inactivity time settings. Refer to the following chapters for more details.
NE-4100 Series User’s Manual Choosing the Proper Operation Mode Real COM Mode NE-4100 Series boards come 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-4100 Series boards’ serial port to a local COM port on the host computer.
5 Chapter 5 Initial IP Address Configuration When setting up your NE-4100 Series module for the first time, the first thing you should do is configure the IP address. This chapter introduces the methods that can be used to configure the NE-4100 Series module’s IP address. For more details about network settings, see the Network Settings section from Chapter 6, Web Console Configuration.
NE-4100 Series User’s Manual Initial IP Address Configuration Initializing NE-4100 Series Module’s IP Address 1. Determine whether your NE-4100 Series module will use a Static IP or Dynamic IP (either DHCP or BOOTP application). 2. If NE-4100 Series is used in a Static IP environment, you can use NE-4100 Series Administration Suite, ARP, Web Console, Telnet Console, or Serial Console to configure the new IP address. 3.
NE-4100 Series User’s Manual Initial IP Address Configuration arp –s 192.168.200.100 00-90-E8-xx-xx-xx This is where 192.168.200.100 is the new IP address and 00-90-E8-xx-xx-xx is the MAC address for your NE-4100 Series. You will need to use both numbers, as described above in points 1 and 2. 4. Next, execute a special Telnet command by typing: telnet 192.168.200.100 6000 After issuing this command, a Connect failed message will appear, as shown here.
NE-4100 Series User’s Manual Initial IP Address Configuration 5. Use the Backspace key to erase the current IP address, type in the new IP address, and then press Enter. 6. Press any key to continue. 7. Type m and then press Enter to return to the main menu. 8. Type s and then press Enter to Save/Restart the system. 9. Type y and then press Enter to save the new IP address and restart the NE-4100 Series board.
NE-4100 Series User’s Manual Initial IP Address Configuration Serial Console (19200, n, 8, 1) You may use the RS-232 console port to configure the IP address for NE-4100 Series modules. 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 installation procedure, although other similar utilities may also be used. (Please go to www.moxa.com to download the installation program for PComm Lite.
6 Chapter 6 Web Console Configuration The Web Console is the most user-friendly way to configure your NE-4100 Series module. This chapter introduces the Web Console function groups and function definitions.
NE-4100 Series User’s Manual Web Console Configuration Opening Your Browser 1. Open your browser with the cookie function enabled. (To enable your browser for cookies, right click on your desktop Internet Explorer icon, select Properties, click on the Security tab, and then select the three Enable options as shown in the figure below.) 2. Type 192.168.127.254 in the Address box (use the correct IP address if different from the default), and then press Enter.
NE-4100 Series User’s Manual Web Console Configuration If you can’t remember the password, the ONLY way to configure the NE-4100 Series module is to load factory defaults by using the Reset button located near the evaluation boards’ (NE-4100T-ST or NE-4110-ST) DB9 male Serial port. Remember to use Windows Administrator to export the configuration file when you have finished the configuration.
NE-4100 Series User’s Manual Web Console Configuration Local time Setting User adjustable time. Factory Default Necessity GMT (Greenwich Mean Time) Optional Click on the Modify button to open the Modify time settings window to input the correct local time. Time server Setting IP or Domain address Factory Default Necessity None Optional (E.g., 192.168.1.1, time.stdtime.gov.tw, or time.nist.gov) NE-4100 Series uses SNTP (RFC-1769) for auto time calibration.
NE-4100 Series User’s Manual Web Console Configuration Network Settings Click on the Network Settings link on the left side of the screen to open the Networking Settings screen. Make necessary changes to the settings and click on Submit to validate the modifications. You must assign a valid IP address to NE-4100 Series before it will work in your network environment. Your network system administrator should provide you with an IP address and related settings for your network.
NE-4100 Series User’s Manual Web Console Configuration Netmask Setting Factory Default Necessity E.g., 255.255.255.0 255.255.255.0 Required A subnet mask represents all the network hosts at one geographic location, in one building, or on the same local area network. When a packet is sent out over the network, the NE-4100 module will use the subnet mask to check whether the desired TCP/IP host specified in the packet is on a local network segment.
NE-4100 Series User’s Manual Web Console Configuration SNMP Settings Community name Setting Factory Default Necessity 1 to 39 characters public Optional (E.g., Support, 886-89191230 #300) A community name is a plain-text password mechanism that is used to weakly authenticate queries to agents of managed network devices. Contact Setting Factory Default Necessity 1 to 39 characters None Optional (E.g.
NE-4100 Series User’s Manual Web Console Configuration Serial Settings Click on the Serial Settings link on the left side of the screen to display serial settings. Make necessary changes to the settings and click on submit to validate the modifications. Port alias Setting 1 to 15 characters Factory Default Necessity None Optional (E.g., PLC-No.1) Port Alias is specially designed to allow easy identification of the serial devices which are connected to NE-4100 Series’ serial port.
NE-4100 Series User’s Manual Web Console Configuration Flow control Setting None, RTS/CTS, DTR/DSR, XON/XOFF FIFO Setting Factory Default Necessity RTS/CTS Required Factory Default Necessity Enable, Disable Enable Required NE-4100’s serial ports provide a 16-byte FIFO both in the Tx and Rx directions. Disable the FIFO setting when your serial device does not have a FIFO to prevent data loss during communication.
NE-4100 Series User’s Manual Web Console Configuration periodically. If the remote host does not respond to the packet, it assumes that the connection was closed down unintentionally. NE-4100 will then force the existing TCP connection to close. The Inactivity time should at least be set larger than that of Force Transmit timeout.
NE-4100 Series User’s Manual Web Console Configuration port is set to 1200 bps, 8 data bits, 1 stop bit, and no for parity. In this case, the total number of bits required to send a character is 10 bits and the time required to transfer one character is ( 10 bits / 1200 bits/s ) * 1000 = 8.3 ms. Therefore, you should set Force Transmit timeout to be larger than 8.3 ms. Force Transmit timeout is specified in milliseconds and must be larger than 10 ms.
NE-4100 Series User’s Manual Web Console Configuration Max. connection 1: Allows only 1 host’s Real COM driver to open the specific NE-4100 serial port. Max connection 2 to 4: Allows 2 to 4 host’s Real COM drivers to open the specific NE-4100 serial port, at the same time. When multiple hosts’ Real COM drivers open the serial port at the same time, the COM driver only provides a pure data tunnel without control ability.
NE-4100 Series User’s Manual Web Console Configuration If the user wants to send the series of characters in a packet, the serial device attached to the NE-4100 should send characters without time delay larger than Force Transmit timeout between characters and the total length of data must be smaller than or equal to NE-4100’s internal buffer size. The serial communication buffer size of NE-4100 series is 1 Kbyte per port.
NE-4100 Series User’s Manual Web Console Configuration Inactivity time is ONLY active when “TCP connection on” is set to “Any character.” Delimiter 1 Setting 00 to FF Factory Default “0” for None Necessity Optional Delimiter 2 Setting Factory Default Necessity 00 to FF “0” for None Optional Once the NE-4100 receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it out the NE-4100’s Ethernet port. Delimiter 2 is optional.
NE-4100 Series User’s Manual Web Console Configuration The “Destination IP address” parameter can use both IP address and Domain address. For some applications, the user may need to send the data actively to the remote destination domain address. TCP connection on Setting Start up, Factory Default Necessity Start up Optional Any Character Start up: Attempts to establish a TCP connection as soon as the NE-4100 Series is powered on.
NE-4100 Series User’s Manual Web Console Configuration Force Transmit Setting 0 to 65535 ms 0: Disable the force transmit timeout. Factory Default Necessity 0 ms Optional 1 to 65535: Forces the NE-4100’s TCP/IP protocol software to try to pack serial data received during the specified time into the same data frame. This parameter defines the interval during which NE-4100 fetches the serial data from its internal buffer.
NE-4100 Series User’s Manual Web Console Configuration Accessible IP Settings Click on the Accessible IP Settings link on the left side of the screen to display serial settings. Make necessary changes to the settings and click on Submit to validate the modifications. NE-4100 has an IP address based filtering method to control access to the NE-4100. Accessible IP Settings allows you to add or remove “Legal” remote host IP addresses to prevent unauthorized access.
NE-4100 Series User’s Manual Web Console Configuration Auto Warning Settings Click on the Auto Warning Settings link on the left side of the screen to display serial settings. Make necessary changes to the settings and click on Submit to validate the modifications.
NE-4100 Series User’s Manual Web Console Configuration Event Type Cold start This refers to starting the system from power off (contrast this with warm start). When performing a cold start, NE-4100 will automatically issue an Auto warning message by e-mail, or send an SNMP trap after rebooting. Warm start This refers to restarting the computer without turning the power off. It’s the opposite of cold start.
NE-4100 Series User’s Manual Web Console Configuration Trap Setting Factory Default Necessity Enable, Disable Disable Optional This feature helps the administrator manage the NE-4100. NE-4100 sends SNMP Trap to a pre-defined SNMP Trap server when the enabled events—such as Cold start, Warm start, Authentication failure, etc.—occur. To configure this feature, you need to click on the event type box. DCD changed and DSR changed events are only supported by those models that have these two signals.
NE-4100 Series User’s Manual Web Console Configuration Change Password Click on the Change Password link on the left side of the screen to display the Change Password window. Make necessary changes to the settings and click on Submit to validate the modifications. Input the “Old password” and “New password” to change the password. Leave the password boxes blank to erase the password. In this case, the NE-4100 will not have password protection.
7 Configuring Windows Administrator Chapter 7 In addition to using Web Console, Serial Console, and Telnet Console to configure NE-4100, another useful configuration tool that can be used is Network Enabler Administrator. In this chapter, we will discuss how to use Network Enabler Administrator to configure your NE-4100.
NE-4100 Series User’s Manual Web Console Configuration Overview We understand the importance of software as the foundation of your application, and with this in mind, we designed NE-4100 Series Network Enabler Administrator to let you easily install and configure your NE-4100 Series products over the network. NE-4100 Series Network Enabler Administrator provides five function groups that ease the installation process, allows off-line COM mapping, and provides monitoring and IP location server functions.
NE-4100 Series User’s Manual Web Console Configuration 4. Click on Install to install program files in the default directory. 5. The Installing window reports the progress of the installation. 6. Click on Finish to complete the installation of NE-4100 Series Network Enabler Administrator Suite.
NE-4100 Series User’s Manual Web Console Configuration Starting the Configuration The Network Enabler Administrator-Configuration window is divided into four parts. # The top part is the function list and online help area. (Windows NT does not support this .chm file format.) # The left part lists the five Administrator function groups. # The right part gives the list of NE-4100s that can be selected to process user requirements.
NE-4100 Series User’s Manual Web Console Configuration 2. Click on Configuration from the menu bar, and then select Broadcast Search from the drop-down menu. 3. A Searching window will open, showing that the program is searching for NE-4100s connected to this network.
NE-4100 Series User’s Manual 4. Web Console Configuration After the search is finished, all NE-4100s that were found will be shown in the right panel of the Configuration window. If you locate more than one module connected to this network, refer to the MAC address on the module(s) to determine which modules are the ones you wish to configure. Before modifying an NE-4100’s configuration, use Broadcast Search or Specify by IP Address to locate the NE-4100.
NE-4100 Series User’s Manual Web Console Configuration 1. Select the NE-4100 Series module that you would like to unlock. Right click the mouse and then select Unlock from the drop down list. 2. After inputting the correct password, the following window will open.
NE-4100 Series User’s Manual Web Console Configuration Configuring NE-4100 1. Select the NE-4100 module you wish to configure, click the right mouse button, and then select Configure from the drop down list. 2. The next window to open shows that Configurator is processing the configuration of that NE-4100 Series module. 3. After the processing is done, the Configurator window will open.
NE-4100 Series User’s Manual Web Console Configuration You can simultaneously modify the configurations of multiple NE-4100s that are of the same model. To select multiple NE-4100s, hold down the Ctrl key when selecting additional NE-4100s, or hold down the Shift key to select a group of NE-4100s. Upgrading the Firmware 1. Input the password to Unlock the NE-4100, and then right click on a specific module and select the Upgrade Firmware function to start upgrading the firmware. 2.
NE-4100 Series User’s Manual Web Console Configuration Export/Import 1. Right click on a specific NE-4100 and select the Export function to start exporting the configuration file. The Export Configuration function is a handy tool that can be used to produce a text file containing the current configuration of a particular NE-4100. 2. The Import Configuration function is used to import an NE-4100 configuration from a file into one or more of the same model of NE-4100.
NE-4100 Series User’s Manual Web Console Configuration Monitor Two methods can be used to activate the Monitor function. 1. First use Broadcast Search under the Configuration Function group, and then click on Monitor % Add Target % Select From List. 2. First click on Monitor, and then Add Target % Rescan. To use the Monitor function, follow the steps described below. 1. Select Broadcast under the Configuration function group. 2. Click on Monitor.
NE-4100 Series User’s Manual Web Console Configuration 3. Select Add Target. 4. When you select add target, you will see an NE-4100 list that looks the same as when using Configuration % Broadcast Search. Checkmark the NE-4100 Series modules you would like to Monitor, and then click on OK. 5. The NE-4100 list will appear on the Monitor Screen.
NE-4100 Series User’s Manual Web Console Configuration 6. Right click the panel and select Settings. 7. Select Monitor items. 8. Select a Refresh Rate (the default is 3 seconds).
NE-4100 Series User’s Manual 9. Web Console Configuration Select Display warning message or Play the warning music in WAV format when a new event occurs. New event means one of the NE-4100s in the monitor is “Alive” or “Not Alive,” or has lost its connection with the Monitor program. 10. Press Go to start Monitor. 11. In this example, the NE-4100 shown in the list will be monitored. 12. When one of the NE-4100s loses connection with the Monitor program, a warning will be displayed automatically.
NE-4100 Series User’s Manual Web Console Configuration 13. If the NE-4100 gets reconnected, a warning will be displayed to remind the user that the NE-4100 is now “Alive.” Port Monitor The process is the same as in the previous “Monitor” section. The only difference is that you can select more items under Port Monitor than under port status. Select the Monitor Items.
NE-4100 Series User’s Manual Web Console Configuration COM Mapping Network Enabler Administrator Suite comes with Windows 95/98/ME/NT/2000/XP Real COM drivers. After you install Network Enabler Administrator Suite, there are two ways to set up the NE-4100’s serial port as your host’s remote COM port. The first way is On-line COM Mapping. On-line COM Mapping will check to make sure the NE-4100 is connected correctly to the network and then install the driver on the host computer.
NE-4100 Series User’s Manual Web Console Configuration 3. Add the target that you would like to map COM ports to. 4. The NE-4100 list that appears is based on the Broadcast Search. Select the NE-4100 that you would like to map COM ports to. 5. Select COM Setting to modify COM No., default setting, etc. 6. Select the COM No. Those “in use,” “assigned” COM ports will also be indicated in this window.
NE-4100 Series User’s Manual 7. Web Console Configuration Hi-performance mode is the default for Tx mode. If the driver completes sending data from the host to the NE-4100 Series, the driver will respond to the program with “Tx Empty.” Under Classical mode, the driver will not notify the user’s program that a Tx has completed until all Tx data has been sent out from the NE-4100; this mode will case lower throughput.
NE-4100 Series User’s Manual Web Console Configuration Off-line COM Mapping 1. Add a target by inputting the IP address and selecting the Model Name without physically connecting the NE-4100 to the network. 2. Apply change.
8 Chapter 8 SW Reset Function Network Enabler Administrator provides a “SW Reset Function” that allows the user to erase NE-4100’s password, or load factory defaults. To enable this function, open the NE’s Configuration page, click on the Digital IO tab, and then check the Enable SW RESET Function (Use DIO 1) checkbox. As indicated, the RESET command will be transmitted through GPIO1.
NE-4100 Series User’s Manual SW Reset Function NOTE: The SW Reset function is disabled by default. If SW Reset is enabled, then since “disable” is the default, it will be reset to “disable” automatically after receiving a 10 sec. SW Reset command. This helps to prevent users from resetting to the default values inadvertently.
A Appendix A Well Known Port Numbers This appendix is included for your reference. Listed below are Well Known Port Numbers that may cause network problems if you configure NE-4100 for the same port. Refer to RFC 1700 for Well Know 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. The Well Known Ports are those from 0 through 1023.
NE-4100 Series User’s Manual Well Known Port Numbers TCP Socket Application Service 80 World Wibe Web HTTP 119 Netword news Transfer Protocol (NNTP) 123 Network Time Protocol 213 IPX 160 – 223 Reserved for future use UDP Socket Application Service 0 reserved 2 Management Utility 7 Echo 9 Discard 11 Active Users (systat) 13 Daytime 35 Any private printer server 39 Resource Location Protocol 42 Host name server (names server) 43 Whois (nickname) 49 (Login Host Protocol) (L
B Appendix B NECI Library 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-4100 over the network. The NE-4100 Series library can be found in the folder .\NECI_ LIB\ on the CD enclosed with NE-4100 Series products. For more information, refer to NECI.chm in that directory, and examples located in .\NECI_LIB\VC\ConsoleExample.
C Appendix C DIO Commands In this appendix, we give the reference DIO commands used to access the Digital I/O status of the 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) 4 Format *Header 1 – 255 Data Send the Command packet to the Network Enabler. “Data” field is command specific.
NE-4100 Series User’s Manual DIO Commands //define DIO Packet format //Used for Command and ACK packet typedef struct _DIO_Packet_Struct { DIOHeaderStruct header; char data[255]; } DIOPacketStruct, *pDIOPacketStruct; Command Code Usage 1. Reading Single DIO Parameters: Command code: 1(hex) Version: 2(hex) Command Status: doesn’t matter Length of data: 1(hex), represents one byte. data[0]: Fill in the number of the DIO you wish to access. The DIO number starts from 0(hex).
NE-4100 Series User’s Manual DIO Commands C code example: void { WriteSingleDIO(int port, int mode, int status) DIOPacketStruct packet; packet.header.command = 2; // write single DIO command packet.header.version = 2; // DIO protocol version packet.header.length = 3; // data length packet.data[0] = (char)port; // number of the DIO packet.data[1] = (char)mode; // DIO mode packet.
NE-4100 Series User’s Manual DIO Commands 4. Writing Multiple DIOs Parameters: Command code: 6(hex) Version: 2(hex) Command status: doesn’t matter Length of data: (end-start+1)*2 + 2 data[0]: Number of the DIO you wish to access first. data[1]: The last number of the DIO you wish to access data[2]: mode of start DIO data[3]: status of start DIO data[4]: mode of (start+1) DIO data[5]: status of (start+1) DIO ….
D Appendix D SNMP Agent with MIB II & RS-232 Like Group NE-4100 has a built-in SNMP (Simple Network Management Protocol) agent software. It supports SNMP Trap, RFC1317 RS-232 like group and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementations for NE-4100.
NE-4100 Series User’s Manual System MIB SysServices SNMP Agent with MIB II and RS-232 Like Group Interfaces MIB IP MIB ICMP MIB ifInUnknownProtos ipReasmFails IcmpOutTimeExcds ifOutOctets ipFragOKs IcmpOutParmProbs ifOutUcastPkts ipFragFails IcmpOutSrcQuenchs ifOutNUcastPkts ipFragCreates IcmpOutRedirects ifOutDiscards ipAdEntAddr IcmpOutEchos ifOutErrors ipAdEntIfIndex IcmpOutEchoReps ifOutQLen ipAdEntNetMask IcmpOutTimestamps ifSpecific ipAdEntBcastAddr IcmpOutTimestampReps ip
E Appendix E Service Information This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics.
NE-4100 Series User’s Manual Service Information MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of our products, Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. The following services are provided E-mail for technical support ............................... support@moxa.com.tw World Wide Web (WWW) Site for product information: ................
NE-4100 Series User’s Manual Service Information Problem Report Form MOXA NE-4100 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: & NE-4100T & NE-4110S & NE-4110A & NE-4120S & NE-4120A & NE-4100T-P & NE-4110S-P & NE-4110A-P & NE-4120S-P & NE-4120A-P & NE-4100T-CMD & NE-4110S-CMD & NE-4110A-CMD & NE-4120S-CMD & NE-4120A- CMD 2.
NE-4100 Series User’s Manual Service Information Product Return Procedure For product repair, exchange, or refund, the customer must: ' Provide evidence of original purchase. ' Obtain a Product Return Agreement (PRA) from the sales representative or dealer. ' Fill out the Problem Report Form (PRF). Include as much detail as possible for a shorter product repair time. ' Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer.