Moxa Technologies NE-4100 User Manual

Browse online or download User Manual for Networking Moxa Technologies NE-4100. Moxa Technologies NE-4100 User`s manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 129
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
NE-4100 Series Users Manual
Seventh Edition, September 2006
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
The Americas
support@usa.moxa.com
Page view 0
1 2 3 4 5 6 ... 128 129

Summary of Contents

Page 1 - NE-4100 Series User’s Manual

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

Page 2

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°

Page 3 - Table of Contents

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

Page 4

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

Page 5

NE-4100 Series User’s Manual Serial Command Mode 9-9Operation Flow Chart ATTENTION This flowchart represents a continual process. You can start tr

Page 6

NE-4100 Series User’s Manual Serial Command Mode 9-10Network Enabler Administrator To use Network Enabler Administrator to configure the trigger typ

Page 7 - Introduction

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

Page 8 - Product Features

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

Page 9 - Product Specifications

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

Page 10

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

Page 11 -  NE-4100T, NE-4100-ST

NE-4100 Series User’s Manual Serial Command Mode 9-15Comments When first entering serial command mode, the module will respond with the string “<

Page 12 - NE-4100T, NE-4100-ST

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

Page 13 - Pin Assignments

22 Chapter 2. Panel Layout and Pin Assignments This chapter includes information about the panel layouts and pin assignments for NE-4100 Series mo

Page 14 - Block Diagrams

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

Page 15 - Panel Layout

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

Page 16 - NE-4110-ST LED Indicators

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

Page 17 - NE-4110-ST Pinouts

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

Page 18

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,

Page 19

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.

Page 20 - NE-4120-ST LED Indicators

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

Page 21

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

Page 22

NE-4100 Series User’s Manual DIO Commands D-2} DIOHeaderStruct, *pDIOHeaderStruct; //define DIO Packet format //Used for Command and ACK packet type

Page 23 - NE-4120A Block Diagram

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

Page 24 - Getting Started

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

Page 25 - Wiring Precautions

NE-4100 Series User’s Manual DIO Commands D-4 packet.data[2] = (char)status; // DIO status; send(SocketFd, (char *)&packet, s

Page 26 - NE-4110-ST Starter Kit

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

Page 27 - NE-4120 Series

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:

Page 28 - Connecting the Power

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

Page 29 - Digital I/O Channel Settings

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

Page 30 - DI/O Mode

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

Page 31 - Digital Output LEDs

FF Appendix F. Service Information This appendix contains information on how to obtain information or service from MOXA for your NE-4100 Series em

Page 32 -  Real COM Mode

NE-4100 Series User’s Manual Service Information F-2MOXA Internet Services Customer satisfaction is our top priority. To ensure that customers recei

Page 33 - TCP Server Mode

NE-4100 Series User’s Manual Service Information F-3Problem Report Form MOXA NE-4100 Series Embedded Device Server Customer name: Company: Tel: Fax:

Page 34 - TCP Client Mode

NE-4100 Series User’s Manual Service Information F-4Product Return Procedure For product repair, exchange, or refund, the customer must: z Provide

Page 35 - Real COM Mode

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

Page 36

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-

Page 37 - Factory Default IP Address

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

Page 38

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

Page 39

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

Page 40

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

Page 41

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

Page 42 - Web Console Configuration

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

Page 43 - Opening Your Browser

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

Page 44 - Web Console Navigation

NE-4100 Series User’s Manual Panel Layout and Pin Assignments 2-11Pin Assignments NE-4120S Serial Header Pinouts (J1) 97531108642NCRTS0GNDTxD0DCD0NC

Page 45 - Basic Settings

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

Page 46 - Network Settings

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

Page 47 - Gateway

33 Chapter 3. Getting Started This chapter includes information about installation of NE-4100 Series modules for development and testing. The foll

Page 48 - IP Address report

NE-4100 Series User’s Manual Getting Started 3-2Wiring Precautions This section describes some important safety precautions that you should pay atte

Page 49 - Serial Settings

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

Page 50 - Serial Parameters

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

Page 51 - Operating Settings

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

Page 52 - Force transmit

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

Page 53

Table of Contents Chapter 1. Introduction ...1-1 Overv

Page 54

NE-4100 Series User’s Manual Getting Started 3-7Digital OutputDO0 DO1 DO2 DO3DI DO0123DI/O ModeDO0 DO1 DO2 DO31234ONDIPDigital Input0123ON: LowOFF:

Page 55

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

Page 56

44 Chapter 4. Choosing the Proper Operation Mode In this section, we describe the various operation modes of NE-4100 Series modules. Depending on

Page 57

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

Page 58 - TCP connect on

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

Page 59

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

Page 60 - Local Listen port

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

Page 61 - Accessible IP Settings

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

Page 62 - Auto Warning Settings

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

Page 63 - Event Type

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

Page 64

Chapter 6. Web Console Configuration...6-1 Opening Your Browser ...

Page 65 - Change Password

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

Page 66 - Save/Restart

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

Page 67

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

Page 68

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

Page 69

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

Page 70

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

Page 71 - Configuration Functions

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

Page 72 - Specify by IP Address

NE-4100 Series User’s Manual Web Console Configuration 6-6IP configuration Method Function Definition Static User defined IP address, Netmask, Gat

Page 73

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

Page 74

NE-4100 Series User’s Manual Web Console Configuration 6-8z Install Network Enabler Administrator and use the built-in IP Address Report function.

Page 75 - Configure

Hardware Setup ... 8-2 Installing Linux Rea

Page 76

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

Page 77 - Upgrade Firmware

NE-4100 Series User’s Manual Web Console Configuration 6-10Operating Settings TCP Server Mode Note: “Serial Command Mode” is supported in firmware

Page 78

NE-4100 Series User’s Manual Web Console Configuration 6-11Max connection Setting Factory Default Necessity 1, 2, 3, 4 1 Required Max connection

Page 79 - Monitor Functions

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

Page 80 - Load Configured COM Port

NE-4100 Series User’s Manual Web Console Configuration 6-13Max connection Setting Factory Default Necessity 1, 2, 3, 4 1 Required Max connection

Page 81 - Settings

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

Page 82 - Go and Stop

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

Page 83

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

Page 84 - COM Mapping Functions

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

Page 85 - COM Settings

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

Page 86 - Advanced Settings

Read Multiple DIO... D-4 Command ...

Page 87 - IP Address Report Functions

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

Page 88

NE-4100 Series User’s Manual Web Console Configuration 6-20Accessible IP Settings Note: “Serial Command Mode” is supported in firmware version 3.0

Page 89 - Linux and UNIX Configuration

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

Page 90 - Linux Real TTY Drivers

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

Page 91 - Removing Mapped TTY Ports

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

Page 92 - UNIX Fixed TTY Driver

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

Page 93 - Configuring the UNIX Driver

NE-4100 Series User’s Manual Web Console Configuration 6-25Load Factory Defaults To load the factory default settings, click on Load Factory Default

Page 94

77 Chapter 7. Network Enabler Administrator Network Enabler Administrator is a Windows utility that can be used to configure NE-4100 Series module

Page 95

NE-4100 Series User’s Manual Network Enabler Administrator 7-2Overview NE-4100 Series modules are shipped with an integrated software suite that bun

Page 96 - OP Codes and Parameters

NE-4100 Series User’s Manual Network Enabler Administrator 7-34. Click Install to install program files in the default directory. 5. The Installi

Page 97 - Accessible IP

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

Page 98 - Operation Mode

NE-4100 Series User’s Manual Network Enabler Administrator 7-4Network Enabler Administrator Navigation The Network Enabler Administrator-Configurati

Page 99

NE-4100 Series User’s Manual Network Enabler Administrator 7-5Configuration Functions Configuration functions are where module parameters may be vie

Page 100 - UDP Mode

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

Page 101 - Serial Command Mode

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

Page 102 - Configuring Trigger Type

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

Page 103

NE-4100 Series User’s Manual Network Enabler Administrator 7-9Configure Configure is used to change the selected module’s settings. All web console

Page 104

NE-4100 Series User’s Manual Network Enabler Administrator 7-103. After the processing is done, the following window will open. Note: “Serial Comm

Page 105 - Telnet Console

NE-4100 Series User’s Manual Network Enabler Administrator 7-11Upgrade Firmware Upgrade Firmware is used to upload new firmware to the selected modu

Page 106 - Serial Console

NE-4100 Series User’s Manual Network Enabler Administrator 7-12 ATTENTION You may simultaneously upgrade the firmware of multiple modules as long as

Page 107 - Entering Serial Command Mode

NE-4100 Series User’s Manual Network Enabler Administrator 7-13 ATTENTION You can simultaneously import the same configuration file into multiple mo

Page 108 - Exiting Serial Command Mode

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

Page 109 - Determining the Active Mode

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

Page 110 - Serial Command Examples

NE-4100 Series User’s Manual Network Enabler Administrator 7-15Settings Settings is used to determine what items of information are monitored, how o

Page 111

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

Page 112 - Well Known Port Numbers

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

Page 113

NE-4100 Series User’s Manual Network Enabler Administrator 7-18Port Monitor Functions Port Monitor functions are very similar to Monitor functions,

Page 114 - NECI Library

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

Page 115 - Auto IP Report Protocol

NE-4100 Series User’s Manual Network Enabler Administrator 7-20Advanced Settings In the Advanced Settings tab, you may configure how serial data is

Page 116 - Example

NE-4100 Series User’s Manual Network Enabler Administrator 7-21Serial Parameters In the Serial Parameters tab, you may configure the selected module

Page 117 - DIO Commands

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

Page 118 - Read Single DIO

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

Page 119 - Write Single DIO

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

Page 120 - Read Multiple DIO

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

Page 121 - Write Multiple DIO

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

Page 122 - Response

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

Page 123 - C Code Example:

NE-4100 Series User’s Manual Linux and UNIX Configuration 8-5Configuring the UNIX Driver Modify the configuration The configuration used by the moxa

Page 124 - Like Group

99 Chapter 9. Serial Command Mode Serial command mode allows configuration of the module through serial commands received directly through the ser

Page 125

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

Page 126 - Service Information

NE-4100 Series User’s Manual Serial Command Mode 9-3Reply Structure Descriptor Bytes Character Comments R-Head 1 “<” <: fixed value (0x3C

Page 127 - MOXA Internet Services

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

Page 128

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

Page 129 - Product Return Procedure

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

No comments