NE-4100 Series User’s Manual Seventh Edition, September 2006 www.moxa.com/product MOXA Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-891
NE-4100 Series User’s Manual Introduction 1-4 NE-4100T NE-4110S, NE-4110A NE-4120S, NE-4120A Environmental Operating Temperature 0°C to 70°C (32°
NE-4100 Series User’s Manual Serial Command Mode 9-7OP Code Parameter Comments CY ASCII character in hex code (i.e., “A1” for character 0xA1) char
NE-4100 Series User’s Manual Serial Command Mode 9-8Digital IO OP Code Parameter Comments DM bytes 1 and 2 (DIO #) 00: DIO 0 01: DIO 1 02: DIO 2 0
NE-4100 Series User’s Manual Serial Command Mode 9-9Operation Flow Chart ATTENTION This flowchart represents a continual process. You can start tr
NE-4100 Series User’s Manual Serial Command Mode 9-10Network Enabler Administrator To use Network Enabler Administrator to configure the trigger typ
NE-4100 Series User’s Manual Serial Command Mode 9-11 When the trigger has been configured, click OK to save and restart the module with the new set
NE-4100 Series User’s Manual Serial Command Mode 9-12Telnet Console Please refer to Chapter 5 for information on opening the Telnet console. Press
NE-4100 Series User’s Manual Serial Command Mode 9-13Web Console Please refer to Chapter 6 for information on opening the web console. Click on the
NE-4100 Series User’s Manual Serial Command Mode 9-14Entering Serial Command Mode Trigger Type The module can enter serial command mode through eith
NE-4100 Series User’s Manual Serial Command Mode 9-15Comments When first entering serial command mode, the module will respond with the string “<
NE-4100 Series User’s Manual Serial Command Mode 9-16Determining the Active Mode If you need to verify whether or not the module is operating in ser
22 Chapter 2. Panel Layout and Pin Assignments This chapter includes information about the panel layouts and pin assignments for NE-4100 Series mo
NE-4100 Series User’s Manual Serial Command Mode 9-17Serial Command Examples For the following examples, the module should be installed onto the eva
NE-4100 Series User’s Manual Serial Command Mode 9-18Example 3: Get IP Mode Using SW Trigger STEP 1: Verify that the software trigger is enabled fo
AA Appendix A. Well Known Port Numbers This appendix is included for your reference. Listed below are port numbers that already have a well-establ
NE-4100 Series User’s Manual Well Known Port Numbers A-2TCP Socket Application Service 43 Whois (nickname) 49 (Login Host Protocol) (Login) 53 Do
BB Appendix B. NECI Library NECI (Network Enabler Configuration Interface) is a set of APIs that run on Windows systems (95 and above) to search,
CC Appendix C. Auto IP Report Protocol There are several ways to configure the IP address of an NE-4100 Series module. One of them is DHCP Client.
NE-4100 Series User’s Manual Auto IP Report Protocol C-2IP Address Report Structure The first 4 bytes of the module’s IP address report are the char
DD Appendix D. DIO Commands In this appendix, we provide information on sending commands to the module’s DIO channels over an Ethernet network. Di
NE-4100 Series User’s Manual DIO Commands D-2} DIOHeaderStruct, *pDIOHeaderStruct; //define DIO Packet format //Used for Command and ACK packet type
NE-4100 Series User’s Manual DIO Commands D-3Write Single DIO Command Byte # Descriptor Value Description 1 Header 2 command number, fixed 2 Head
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-2NE-4100T, NE-4100-ST The NE-4100T is a TTL-to-Ethernet drop-in module. It measures
NE-4100 Series User’s Manual DIO Commands D-4 packet.data[2] = (char)status; // DIO status; send(SocketFd, (char *)&packet, s
NE-4100 Series User’s Manual DIO Commands D-5Byte # Descriptor Value Description 10 Data 0, 1 3rd requested DIO channel, optional 0: channel st
NE-4100 Series User’s Manual DIO Commands D-6Byte # Descriptor Value Description 9 Data 0,1 2nd DIO channel to be written 0: set to input mode 1:
NE-4100 Series User’s Manual DIO Commands D-7Byte # Descriptor Value Description 8 Data 0, 1 2nd requested DIO channel 0: channel status has be
EE Appendix E. SNMP Agent with MIB II & RS-232 Like Group NE-4100 Series modules have built-in SNMP (Simple Network Management Protocol) agent
NE-4100 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group E-2System MIB Interfaces MIB IP MIB ICMP MIB ifOutErrors ipAdEntIfIn
FF Appendix F. Service Information This appendix contains information on how to obtain information or service from MOXA for your NE-4100 Series em
NE-4100 Series User’s Manual Service Information F-2MOXA Internet Services Customer satisfaction is our top priority. To ensure that customers recei
NE-4100 Series User’s Manual Service Information F-3Problem Report Form MOXA NE-4100 Series Embedded Device Server Customer name: Company: Tel: Fax:
NE-4100 Series User’s Manual Service Information F-4Product Return Procedure For product repair, exchange, or refund, the customer must: z Provide
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-3LED Name LED Color LED Function DIO0 red Indicates that DIO is in “low” (0) statu
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-4NE-4100-ST Serial Port Pinouts (DB9 Male) Debug Serial Port for Serial Console RS-
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-5NE-4110S, NE-4110A, NE-4110-ST The NE-4110S is an RS-232-to-Ethernet server, and th
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-6NE-4110-ST LED Indicators LED Name LED Color LED Function Power red Indicates t
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-7 ATTENTION For the 2-wire RS-485 interface, pin 3 is for Data+ (B) and pin 4 is for
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-8Block Diagrams NE-4110S Block Diagram 1 MB SDRAM2 MB Flash10/100 MEthernet PHY+5 VD
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-9NE-4120S, NE-4120A, NE-4120-ST The NE-4120S is an RS-232-to-Ethernet server, and th
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 th
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-10NE-4120-ST 1234ONDIP91013 141212Jumper 9 (J9)Jumper 7 (J7)Jumper 10(J10)PowerJackE
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-11Pin Assignments NE-4120S Serial Header Pinouts (J1) 97531108642NCRTS0GNDTxD0DCD0NC
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-12NE-4120-ST Pinouts Debug Serial Port for Serial Console RS-232 Port for Serial De
NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-13NE-4120A Block Diagram 1 MB SDRAM2 MB Flash10/100 MEthernet PHY+5 VDCMAC80186 CPUT
33 Chapter 3. Getting Started This chapter includes information about installation of NE-4100 Series modules for development and testing. The foll
NE-4100 Series User’s Manual Getting Started 3-2Wiring Precautions This section describes some important safety precautions that you should pay atte
NE-4100 Series User’s Manual Getting Started 3-3Installing the NE-4100T onto the NE-4100-ST Before using the NE-4100-ST evaluation board with the mo
NE-4100 Series User’s Manual Getting Started 3-4Installing the NE-4120S, NE-4120A onto the NE-4120-ST The NE-4120S and NE -4120A modules are attache
NE-4100 Series User’s Manual Getting Started 3-5Note that the RS-485 interface is selected on the evaluation board for the NE-4110A and NE-4120A mod
NE-4100 Series User’s Manual Getting Started 3-6Connecting to the Network To connect to the network for testing and development purposes, the module
Table of Contents Chapter 1. Introduction ...1-1 Overv
NE-4100 Series User’s Manual Getting Started 3-7Digital OutputDO0 DO1 DO2 DO3DI DO0123DI/O ModeDO0 DO1 DO2 DO31234ONDIPDigital Input0123ON: LowOFF:
NE-4100 Series User’s Manual Getting Started 3-8For channels in digital output mode, “Low” and “High” status is controlled from within the web conso
44 Chapter 4. Choosing the Proper Operation Mode In this section, we describe the various operation modes of NE-4100 Series modules. Depending on
NE-4100 Series User’s Manual Choosing the Proper Operation Mode 4-2Overview NE-4100 Series modules act as a bridge to connect your serial devices to
NE-4100 Series User’s Manual Choosing the Proper Operation Mode 4-3TCP Client Mode In TCP Client mode, the module can actively establish a TCP conne
NE-4100 Series User’s Manual Choosing the Proper Operation Mode 4-4Real COM Mode Real COM mode allows users to continue using software that was writ
55 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 con
NE-4100 Series User’s Manual Initial IP Address Configuration 5-2Static vs. Dynamic IP Address Determine whether the module will use a Static IP or
NE-4100 Series User’s Manual Initial IP Address Configuration 5-3To configure the IP address using ARP, follow these instructions: 1. Obtain a vali
NE-4100 Series User’s Manual Initial IP Address Configuration 5-43. Select Network settings by pressing 2 and then Enter. 4. Select IP address by
Chapter 6. Web Console Configuration...6-1 Opening Your Browser ...
NE-4100 Series User’s Manual Initial IP Address Configuration 5-56. Press any key to continue. 7. Press M and then Enter to return to the main me
NE-4100 Series User’s Manual Initial IP Address Configuration 5-6be used for this purpose, although you are free to choose among other terminal emul
66 Chapter 6. Web Console Configuration The web console is the most user-friendly way to configure your NE-4100 Series module. This chapter introd
NE-4100 Series User’s Manual Web Console Configuration 6-2Opening Your Browser 1. Open your browser with the cookie function enabled. (To enable yo
NE-4100 Series User’s Manual Web Console Configuration 6-33. The web console will open. On this page, you can see a brief description of the web co
NE-4100 Series User’s Manual Web Console Configuration 6-4Basic Settings Note: “Serial Command Mode” is supported in firmware version 3.0 and above
NE-4100 Series User’s Manual Web Console Configuration 6-5Time server Setting Factory Default Necessity IP or domain address (E.g., 192.168.1.1, t
NE-4100 Series User’s Manual Web Console Configuration 6-6IP configuration Method Function Definition Static User defined IP address, Netmask, Gat
NE-4100 Series User’s Manual Web Console Configuration 6-7DNS server 1 / DNS sever 2 Setting Factory Default Necessity E.g., 192.168.1.1 (IP addre
NE-4100 Series User’s Manual Web Console Configuration 6-8z Install Network Enabler Administrator and use the built-in IP Address Report function.
Hardware Setup ... 8-2 Installing Linux Rea
NE-4100 Series User’s Manual Web Console Configuration 6-9Port Alias Setting Factory Default Necessity 1 to 15 characters (E.g., PLC-No.1) None Op
NE-4100 Series User’s Manual Web Console Configuration 6-10Operating Settings TCP Server Mode Note: “Serial Command Mode” is supported in firmware
NE-4100 Series User’s Manual Web Console Configuration 6-11Max connection Setting Factory Default Necessity 1, 2, 3, 4 1 Required Max connection
NE-4100 Series User’s Manual Web Console Configuration 6-12The Force transmit field is typically used in conjunction with the Delimiter fields to sp
NE-4100 Series User’s Manual Web Console Configuration 6-13Max connection Setting Factory Default Necessity 1, 2, 3, 4 1 Required Max connection
NE-4100 Series User’s Manual Web Console Configuration 6-14the module will also pack data for network transmission if the next byte of data is not r
NE-4100 Series User’s Manual Web Console Configuration 6-15TCP Client Mode Note: “Serial Command Mode” is supported in firmware version 3.0 and abo
NE-4100 Series User’s Manual Web Console Configuration 6-16 ATTENTION The Inactivity time should be longer than the Force transmit timeout. To preve
NE-4100 Series User’s Manual Web Console Configuration 6-17module accumulates data in its buffer as it waits to receive a delimiter. If there is a b
NE-4100 Series User’s Manual Web Console Configuration 6-18UDP Mode Note: “Serial Command Mode” is supported in firmware version 3.0 and above. Del
Read Multiple DIO... D-4 Command ...
NE-4100 Series User’s Manual Web Console Configuration 6-19Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional 0: The f
NE-4100 Series User’s Manual Web Console Configuration 6-20Accessible IP Settings Note: “Serial Command Mode” is supported in firmware version 3.0
NE-4100 Series User’s Manual Web Console Configuration 6-21Auto Warning Settings E-mail and SNMP Trap Note: “Serial Command Mode” is supported in f
NE-4100 Series User’s Manual Web Console Configuration 6-22SNMP trap server SNMP trap server IP or domain name Setting Factory Default Necessity I
NE-4100 Series User’s Manual Web Console Configuration 6-23DCD changed, DSR changed DCD (Data Carrier Detect) and DSR (Data Set Ready) signals indic
NE-4100 Series User’s Manual Web Console Configuration 6-24DIO Monitor The DIO Monitor page polls and displays the mode and status of each DIO chann
NE-4100 Series User’s Manual Web Console Configuration 6-25Load Factory Defaults To load the factory default settings, click on Load Factory Default
77 Chapter 7. Network Enabler Administrator Network Enabler Administrator is a Windows utility that can be used to configure NE-4100 Series module
NE-4100 Series User’s Manual Network Enabler Administrator 7-2Overview NE-4100 Series modules are shipped with an integrated software suite that bun
NE-4100 Series User’s Manual Network Enabler Administrator 7-34. Click Install to install program files in the default directory. 5. The Installi
11 Chapter 1. Introduction The NE-4100 Series embedded device server is a line of compact modules that act as network enablers. NE-4100 Series mod
NE-4100 Series User’s Manual Network Enabler Administrator 7-4Network Enabler Administrator Navigation The Network Enabler Administrator-Configurati
NE-4100 Series User’s Manual Network Enabler Administrator 7-5Configuration Functions Configuration functions are where module parameters may be vie
NE-4100 Series User’s Manual Network Enabler Administrator 7-62. A Searching window will open, showing that the program is searching for NE-4100 Se
NE-4100 Series User’s Manual Network Enabler Administrator 7-7refer to Pin Assignments in Chapter 2 for information on which pin is associated with
NE-4100 Series User’s Manual Network Enabler Administrator 7-81. Select Unlock from the Configuration context menu. Note that this menu may also be
NE-4100 Series User’s Manual Network Enabler Administrator 7-9Configure Configure is used to change the selected module’s settings. All web console
NE-4100 Series User’s Manual Network Enabler Administrator 7-103. After the processing is done, the following window will open. Note: “Serial Comm
NE-4100 Series User’s Manual Network Enabler Administrator 7-11Upgrade Firmware Upgrade Firmware is used to upload new firmware to the selected modu
NE-4100 Series User’s Manual Network Enabler Administrator 7-12 ATTENTION You may simultaneously upgrade the firmware of multiple modules as long as
NE-4100 Series User’s Manual Network Enabler Administrator 7-13 ATTENTION You can simultaneously import the same configuration file into multiple mo
NE-4100 Series User’s Manual Introduction 1-2Overview NE-4100 Series modules are a type of embedded device server or network enabler. An NE-4100 Se
NE-4100 Series User’s Manual Network Enabler Administrator 7-142. There are three options for adding a module: y If the module already shows up, y
NE-4100 Series User’s Manual Network Enabler Administrator 7-15Settings Settings is used to determine what items of information are monitored, how o
NE-4100 Series User’s Manual Network Enabler Administrator 7-16 Advanced Settings In the Advanced Settings tab, you may enable an alarm to warn you
NE-4100 Series User’s Manual Network Enabler Administrator 7-17The list in the monitor window will now be live, and the selected items will be refre
NE-4100 Series User’s Manual Network Enabler Administrator 7-18Port Monitor Functions Port Monitor functions are very similar to Monitor functions,
NE-4100 Series User’s Manual Network Enabler Administrator 7-19COM Settings COM Settings is used to assign the local COM port number to the selected
NE-4100 Series User’s Manual Network Enabler Administrator 7-20Advanced Settings In the Advanced Settings tab, you may configure how serial data is
NE-4100 Series User’s Manual Network Enabler Administrator 7-21Serial Parameters In the Serial Parameters tab, you may configure the selected module
NE-4100 Series User’s Manual Network Enabler Administrator 7-22Note that in order for a PC running Network Enabler Administrator to receive IP addre
88 Chapter 8. Linux and UNIX Configuration NE-4100 Series modules can be configured to work with Linux and UNIX operating systems. Drivers are inc
NE-4100 Series User’s Manual Introduction 1-3Product Specifications NE-4100T NE-4110S, NE-4110A NE-4120S, NE-4120A System CPU 16-bit MCU RAM 1 M
NE-4100 Series User’s Manual Linux and UNIX Configuration 8-2Linux Real TTY Drivers Basic Procedures The basic procedures to map a Linux host’s tty
NE-4100 Series User’s Manual Linux and UNIX Configuration 8-3Mapping TTY Ports Make sure that you set the operation mode of the module’s serial port
NE-4100 Series User’s Manual Linux and UNIX Configuration 8-4Removing Linux Driver Files A utility is included that will remove all driver files, ma
NE-4100 Series User’s Manual Linux and UNIX Configuration 8-5Configuring the UNIX Driver Modify the configuration The configuration used by the moxa
99 Chapter 9. Serial Command Mode Serial command mode allows configuration of the module through serial commands received directly through the ser
NE-4100 Series User’s Manual Serial Command Mode 9-2Overview Serial command mode allows the module’s parameters to be retrieved or configured throug
NE-4100 Series User’s Manual Serial Command Mode 9-3Reply Structure Descriptor Bytes Character Comments R-Head 1 “<” <: fixed value (0x3C
NE-4100 Series User’s Manual Serial Command Mode 9-4Accessible IP OP Code Parameter Comments AS 0: disable 1: enable accessible IP list filtering
NE-4100 Series User’s Manual Serial Command Mode 9-5OP Code Parameter Comments Ae xxx.xxx.xxx.xxx (e.g., 255.255.255.0) accessible IP netmask 05 A
NE-4100 Series User’s Manual Serial Command Mode 9-6OP Code Parameter Comments TY ASCII character in hex code (i.e., “A1” for character 0xA1) char
Comments to this Manuals