Moxa Technologies NE-4100T, NE-4100ST, NE-4110, NE-4110-ST, NE-4120 User Manual

...
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.com
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 200
5 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.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa.
Moxa provides this document “as is,” without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Table of Contents
Chapter 1 Introduction................................................................................................. 1-1
Overview ................................................................................................................................. 1-2
Package Checklist....................................................................................................................1-2
Product Features...................................................................................................................... 1-2
Product Specifications............................................................................................................. 1-3
Chapter 2 Panel Layout and Pin Assignments.......................................................... 2-1
NE-4100T/NE-4100-ST ..........................................................................................................2-2
Panel Layouts............................................................................................................... 2-2
Pin Assignments........................................................................................................... 2-3
Block Diagram .............................................................................................................2-4
NE-4100-ST LED Indicators........................................................................................2-4
NE-4110 Series/NE-4110-ST ..................................................................................................2-5
Panel Layouts............................................................................................................... 2-5
Pin Assignments........................................................................................................... 2-6
Block Diagrams............................................................................................................ 2-7
NE-4110-ST LED Indicators........................................................................................2-8
NE-4120 Series/NE-4120-ST..................................................................................................2-9
Panel Layouts............................................................................................................... 2-9
Pin Assignments......................................................................................................... 2-10
Block Diagrams.......................................................................................................... 2-11
NE-4120-ST LED Indicators......................................................................................2-12
Chapter 3 Getting Started............................................................................................ 3-1
Wiring Requirements...............................................................................................................3-2
Attaching NE-4100T to the Evaluation Board ........................................................................3-2
Attaching NE-4110 Series to the Evaluation Board ................................................................ 3-3
Attaching NE-4120 Series to the Evaluation Board ................................................................ 3-3
Circuit Pad for External Connection .......................................................................................3-4
Connecting the Power..............................................................................................................3-5
Connecting to the Network...................................................................................................... 3-5
Connecting to a Serial Device .................................................................................................3-5
DI/O Settings...........................................................................................................................3-5
Digital Output LED Circuit Design..............................................................................3-6
Selecting the Interface ............................................................................................................. 3-7
Chapter 4 Choosing the Proper Operation Mode...................................................... 4-1
Overview ................................................................................................................................. 4-2
TCP Server Mode.................................................................................................................... 4-2
TCP Client Mode.....................................................................................................................4-3
UDP Mode...............................................................................................................................4-3
Real COM Mode .....................................................................................................................4-4
Chapter 5 Initial IP Address Configuration ................................................................ 5-1
Initializing NE-4100 Series Module’s IP Address ................................................................... 5-2
Factory Default IP Address......................................................................................................5-2
NE-4100 Series Administration Suite......................................................................................5-2
ARP ......................................................................................................................................... 5-2
Telnet Console......................................................................................................................... 5-3
Serial Console (19200, n, 8, 1) ................................................................................................ 5-5
Chapter 6 Web Console Configuration ...................................................................... 6-1
Opening Your Browser ............................................................................................................6-2
Basic Settings ..........................................................................................................................6-3
Network Settings ..................................................................................................................... 6-5
Serial Settings.......................................................................................................................... 6-8
Operating Settings ...................................................................................................................6-9
TCP Server Mode.........................................................................................................6-9
Real COM Mode ........................................................................................................ 6-11
TCP Client Mode .......................................................................................................6-13
UDP Mode .................................................................................................................6-15
Accessible IP Settings ...........................................................................................................6-17
Auto Warning Settings...........................................................................................................6-18
E-mail and SNMP Trap.............................................................................................. 6-18
Event Type .................................................................................................................6-19
Digital IO............................................................................................................................... 6-20
DIO Monitor...............................................................................................................6-20
Change Password ..................................................................................................................6-21
Load Factory Defaults ...........................................................................................................6-21
Save/Restart........................................................................................................................... 6-21
Chapter 7 Configuring Windows Administrator ........................................................ 7-1
Overview ................................................................................................................................. 7-2
Installing Network Enabler Administrator...............................................................................7-2
Starting the Configuration ....................................................................................................... 7-4
Broadcast Search..........................................................................................................7-4
Unlock Password Protection ........................................................................................7-6
Configuring NE-4100...................................................................................................7-8
Upgrading the Firmware ..............................................................................................7-9
Export/Import............................................................................................................. 7-10
Monitor.................................................................................................................................. 7-11
Port Monitor ..........................................................................................................................7-15
COM Mapping ......................................................................................................................7-16
On-line COM Mapping .............................................................................................. 7-16
Off-line COM Mapping .............................................................................................7-19
Chapter 8 SW Reset Function ..................................................................................... 8-1
Appendix A Well Known Port Numbers......................................................................... A-1
Appendix B NECI Library ................................................................................................B-1
Appendix C DIO Commands...........................................................................................C-1
Appendix D SNMP Agent with MIB II & RS-232 Like Group.........................................D-1
Appendix E Service Information ....................................................................................E-1
MOXA Internet Services ........................................................................................................ E-2
Problem Report Form.............................................................................................................E-3
Product Return Procedure....................................................................................................... E-4
1
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.
The following topics are covered in this chapter:
! Overview
! Package Checklist
! Product Features
! Product Specifications
NE-4100 Series User’s Manual Introduction
1-2
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. With such a small size, these Embedded Network Enablers fit into almost any kind of serial device to make the serial device 10/100M Ethernet ready. These products also come with a built-in TCP/IP stack for fast integration with your serial devices. This means that your engineers no longer need to spend a lot of time on TCP/IP programming, but instead can focus on developing other major features, shortening your product’s time to market. The reliable TCP/IP communication firmware that comes with NE-4100 Series products can be configured easily with a user-friendly Windows utility, Web browser, serial console, or telnet console. In addition, a Windows-based NECI (Network Enabler Configuration Interface) Library is available to help you develop your own Windows utilities.
An integration kit and a complete development kit containing a development board, documents, sample code, cables, and accessories are available for evaluation and development use.
Package Checklist
! 1 NE-4100 Series module (depending on which model you order) ! 1 NE-4100-ST (the evaluation board ) ! NE-4100 Series Documentation & Software CD ! 1 Universal Power Adaptor ! 2 Power Cords ! 1 null modem cable ! 1 cross-over Ethernet cable ! Product Warranty Booklet ! Quick Installation Guide
NOTE: Notify your sales representative if any of the above items is missing or damaged.
Product Features
NE-4100 Series products have the following features:
! TTL, RS-232, or RS-422/485 to 10/100 Mbps auto-sensing Ethernet interface ! Compact size with ready-to-go design (NE-4100T measures 45 × 36 mm, NE-4110/4120
measure 57 × 40 mm)
! Ready-to-use TCP/IP firmware for fast integration ! TCP Server, TCP Client, UDP, Real COM driver operation modes ! Low power consumption (1.5W) ! Easy configuration with Web browser, serial console, Windows utility, or telnet console ! 4 dedicated GPIOs for users’ applications ! Software reset function
NE-4100 Series User’s Manual Introduction
1-3
Product Specifications
NE-4100T NE-4110S/A NE-4120S/A
System
CPU 16-bit MCU
RAM 2 MB
Flash 1 MB
LAN
Ethernet
10/100 Mbps, pin headers
10/100 Mbps, RJ45 10/100 Mbps, pin headers
Protection Built-in transformer with 1.5 KV magnetic isolation
Serial
Interface TTL
RS-232 (NE-4110S) RS-422/485 (NE-4110A)
RS-232 (NE-4120S) RS-422/485 (NE-4120A)
Port Type Pin header RJ45 Pin header
Signals
TTL, RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND RS-422: TxD+, TxD-, RxD+, RxD-, GND RS-485 (2-wire): Data+, Data-, GND RS-485 (4-wire): TxD+, TxD-, RxD+, RxD-, GND
Serial Communication Parameters
Parity None, Even, Odd, Space, Mark
Data Bits 5, 6, 7, 8
Stop Bit 1, 1.5, 2
Flow Control RTS/CTS, XON/XOFF
Transmission Speed
50 bps to 115.2 Kbps
Software Features
Protocols ICMP, ARP, IP, TCP, UDP, DHCP, HTTP, SNMP, SMTP
Operating Mode
TCP Server, TCP Client, UDP, Real COM mode
Utilities N utility for Windows 95/98/ME/NT/2000/XP
Configuration Web Browser, Serial Console, Telnet Console, or Windows Utility
Power Requirements
Power Input 5 VDC
Power Consumption
290 mA @ 5 VDC (Max.)
Environmental
Operating Temperature
0 to 70°C (32 to 158°F), 5 to 95%RH
Storage Temperature
-20 to 85°C (-4 to 185°F), 5 to 95%RH
Regulatory Approvals
EMC FCC Class A, CE Class A
Warranty 5 years
2
2
Chapter 2 Panel Layout and Pin Assignments
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.
The following topics are covered in this chapter:
! NE-4100T/NE-4100-ST
" Panel Layouts
" Pin Assignments
" Block Diagram
" NE-4100-ST LED Indicators
! NE-4110 Series/NE-4110-ST
" Panel Layouts
" Pin Assignments
" Block Diagrams " NE-4110-ST LED Indicators
! NE-4120 Series/NE-4120-ST
" Panel Layouts
" Pin Assignments
" Block Diagrams
" NE-4120-ST LED Indicators
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-2
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
45.00 mm
36.00 mm
Pin #1
Pin #14
NE-4100-ST
1234
ON
DIP
Power Jack
Ethernet Port
Serial Port (RS-232)Debug Serial COM Port DI/O Terminal Block
Reset Button
DI/O Signal Setting Switches
DI/O Selector Jumpers
149.00 mm
99.00 mm
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-3
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. The location of the Serial COM Port is shown in the figure on the previous page. This Serial COM Port is not needed during normal operation. However, once the network fails and you wish to configure your NE-4100T, you can connect the Debug Serial COM Port, and then use the serial console to configure your NE-4100T.
Ethernet Signals: ETx+, ETx-, ERx+, ERx-
Serial Signals: TXD, RXD, RTS, CTS, DCD, DSR, DTR
NOTE
NE-4100T
LED Controls: 10M LED, 100M LED, Ready LED
NE-4100-ST Serial Port Pinouts
DB9 Male Connector for serial console
2
3
5
Pin
2 3 5
Signal
RXD
TXD
GND
DB9 Male Connector for Connecting Serial Devices
1
6
2
7
3
8
4
5
Pin
1 2 3 4 5 6 7 8
Signal
DCD RXD
TXD DTR GND DSR
RTS
CTS
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-4
Block Diagram
Tx Rx
+5 VDC
1 MB SDRAM 2 MB Flash
80186 CPU
GPIO Port
PIO0 - PIO3
MAC
Line
Driver
Serial Console
interface
RJ45
10M LED
100M
LED
10/100M
Ethernet PHY
Transformer
1.5 KV Isolation
UART0
UART1
Customer's Device
UART
Ready
LED
TTL Serial data
(Tx, Rx, RTS, CTS,
DTR, DSR, DCD)
NE-4100-ST LED Indicators
LED Name LED Color LED Function
Power
red Indicates the power is on.
Steady on:
Power is on and NE-4100T is functioning normally.
green
Blinking:
NE-4100T has been located by Network Enabler’s Administrator’s Location function.
Ready
steady off
1. Power is off, or power error condition
exists.
2. NE-4100T can not get any IP address
DHCP mode.
3. IP address conflict.
DIO0
red Indicates that DIO is in “low” (0) status.
DIO1
red Indicates that DIO is in “low” (0) status.
DIO2
red Indicates that DIO is in “low” (0) status.
DIO3
red Indicates that DIO is in “low” (0) status.
TXD0
red Indicates that TXD0 has a signal.
RXD0
red Indicates that RXD0 has a signal.
DTR0
red Indicates that DTR0 has a signal.
CTS0
red Indicates that CTS0 has a signal.
DSR0
red Indicates that DSR0 has a signal.
DCD0
red Indicates that DCD0 has a signal.
RTS0
red Indicates that RTS0 has a signal.
TXD1
red Indicates that TXD1 has a signal.
RXD1
red Indicates that RXD1 has a signal.
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-5
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
1
2
9
10
13
14
J1
J2
57.00 mm
40.00 mm
NE-4110A
J1
J2
57.00 mm
40.00 mm
1
2
1
2
9
10
13
14
JP2
* Note that JP2 (485SEL) is used to select between RS-422 and RS-485. Short JP2 to use RS-485 (2-wire) mode, and leave JP2 open to use RS-422/485 (4-wire) mode.
NE-4110-ST evaluation board (for NE-4110 Series)
1234
ON
DIP
910
13 14
12
12
Jumper 9 (J9)
Jumper 10 (J10)
Power Jack
Serial Port (RS-232)Debug Serial COM Port DI/O Terminal Block
Reset Button
DI/O Signal Setting Switches
DI/O Selector Jumpers
Interface Selector Jumpers
149.00 mm
99.00 mm
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-6
Pin Assignments
Serial Header Pinouts (J1) for NE-4110S
9
7
5
3
1
10
8
6
4
2
NC
RTS0
GND
TxD0
DCD0
NC
CTS0
DSR0
DTR0
RxD0
Serial Header Pinouts (J1) for NE-4110A
9
7
5
3
1
10
8
6
4
2
NC
GND
NC
NC
NC
RxD-
TxD+
NC
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).
Ethernet Port Pinouts for NE-4110S/A
1
8
Pin Signal
1 2 3 6
Tx+ Tx­Rx+ Rx-
RJ45 Port
DIO and LED Header Pinouts (J2) for NE-4110S/A
9
7
5
3
1
10
8
6
4
2
111312
14
Ready_LED
RxD1
Reset
100M_LED
10M_LED
VCC(+5V)
VCC(+5V)
TxD1
DIO3
DIO2
DIO1
DIO0
GND
GND
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-7
Block Diagrams
NE-4110S Block Diagram
1 MB SDRAM
2 MB Flash
10/100 M
Ethernet PHY
+5 VDC
MAC
80186 CPU
Transformer
1.5 KV isolation
18
UART0
Tx Rx
Customer's device
Ready
LED
RS-232 interface
Tx+ Tx- Rx-Rx+
Serial console
interface
Line
Driver
Line
Driver
UART1
GPIO Port
PIO0 - PIO3
10M LED
100M
LED
RJ45
Serial data
(Tx, Rx, RTS, CTS,
DTR, DSR, DCD)
NE-4110A Block Diagram
1 MB SDRAM
2 MB Flash
10/100 M
Ethernet PHY
+5 VDC
MAC
80186 CPU
Transformer
1.5 KV isolation
18
UART0
Tx Rx
Customer's device
Ready
LED
RS-422/485
interface
Tx+ Tx- Rx-Rx+
Serial console
interface
Line
Driver
Line
Driver
UART1
GPIO Port
PIO0 - PIO3
10M LED
100M
LED
RJ45
RS-422/485
Signal
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-8
NE-4110-ST LED Indicators
LED Name LED Color LED Function
Power
red Indicates the power is on.
Steady on: Power is on and NE-4110 is
functioning normally.
green
Blinking: NE-4110 has been located by
NE-4110 Administrator’s Location function.
Ready
steady off
1. Power is off, or power error condition
exists.
2. The IP address cannot be found in DHCP
mode.
3. IP address conflict.
DIO0
red Indicates that DIO is in “low” (0) status.
DIO1
red Indicates that DIO is in “low” (0) status.
DIO2
red Indicates that DIO is in “low” (0) status.
DIO3
red Indicates that DIO is in “low” (0) status.
TXD0
red Indicates that TXD0 has a signal.
RXD0
red Indicates that RXD0 has a signal.
DTR0
red Indicates that DTR0 has a signal.
CTS0
red Indicates that CTS0 has a signal.
DSR0
red Indicates that DSR0 has a signal.
DCD0
red Indicates that DCD0 has a signal.
RTS0
red Indicates that RTS0 has a signal.
TXD1
red Indicates that TXD1 has a signal.
RXD1
red Indicates that RXD1 has a signal.
NE-4110-ST Serial Port Pinouts
DB9 Male Connector for serial console
2
3
5
Pin
2 3 5
Signal
RXD
TXD
GND
DB9 Male Connector for Connecting Serial Devices
1
6
2
7
3
8
4
5
Pin
1 2 3 4 5 6 7 8
Signal
DCD RXD TXD DTR
GND
DSR RTS CTS
TXD+ D0 D1 D2 D3TXD- RXD+ RXD-
Data+ Data-
SGND
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-9
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
1
2
1
2
9
10
13
14
1
2
3
4
5
J1
J2
J3
57.00 mm
40.00 mm
Top Panel of NE-4120A
1
2
1
2
9
10
13
14
1
2
3
4
5
J1
J2
JP2
J3
57.00 mm
40.00 mm
* Note that JP2 (485SEL) is used to select between RS-422 and RS-485. Short JP2 to select RS-485 (2-wire) mode, and leave JP2 open to select RS-422/485 (4-wire) mode.
NE-4120-ST evaluation board (for NE-4120 Series)
1234
ON
DIP
910
13 14
12
12
Jumper 9 (J9)Jumper 7 (J7)
Jumper 10 (J10)
Power Jack
Ethernet Port
Serial Port (RS-232)Debug Serial COM Port DI/O Terminal Block
Reset Button
DI/O Signal Setting Switches
DI/O Selector Jumpers
Interface Selector Jumpers
149.00 mm
99.00 mm
5
3
3
2
1
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-10
Pin Assignments
Serial Header Pinouts (J1) for NE-4120S
9
7
5
3
1
10
8
6
4
2
NC
RTS0
GND
TxD0
DCD0
NC
CTS0
DSR0
DTR0
RxD0
Serial Header Pinouts (J1) for NE-4120A
9
7
5
3
1
10
8
6
4
2
NC
GND
NC
NC
NC
RxD-
TxD+
NC
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).
Ethernet Header Pinouts (J3) for NE-4120S/A
1
2
3
4
5
Tx+
Tx-
Rx+
Rx-
DIO and LED Header Pinouts (J2) for NE-4120S/A
9
7
5
3
1
10
8
6
4
2
111312
14
Ready_LED
RxD1
Reset
100M_LED
10M_LED
VCC(+5V)
VCC(+5V)
TxD1
DIO3
DIO2
DIO1
DIO0
GND
GND
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-11
Block Diagrams
NE-4120S Block Diagram
Pin header
1 MB SDRAM
2 MB Flash
10/100 M
Ethernet PHY
+5 VDC
MAC
80186 CPU
Transformer
1.5 KV isolation
UART0
Tx Rx
Customer's device
Ready
LED
RS-232 interface
Tx+ Tx- Rx-Rx+
Serial console
interface
Line
Driver
Line
Driver
UART1
GPIO Port
PIO0 - PIO3
10M LED
100M
LED
Serial data
(Tx, Rx, RTS, CTS,
DTR, DSR, DCD)
NE-4120A Block Diagram
1 MB SDRAM
2 MB Flash
10/100 M
Ethernet PHY
+5 VDC
MAC
80186 CPU
Transformer
1.5 KV isolation
UART0
Tx Rx
Customer's device
Ready
LED
RS-422/485
interface
Tx+ Tx- Rx-Rx+
Serial console
interface
Line
Driver
Line
Driver
UART1
GPIO Port
PIO0 - PIO3
10M LED
100M
LED
RS-422/485
Signal
Pin header
NE-4100 Series User’s Manual Panel Layout and Pin Assignments
2-12
NE-4120-ST LED Indicators
LED Name LED Color LED Function
Power
red Indicates the power is on.
Steady on: Power is on and NE-4120 is
functioning normally.
green
Blinking: NE-4120 has been located by
NE-4120 Administrator’s Location function.
Ready
off
1. Power is off, or power error condition
exists.
2. The IP address cannot be found in DHCP
mode.
3. IP address conflict.
DIO0
red Indicates that DIO is in “low” (0) status.
DIO1
red Indicates that DIO is in “low” (0) status.
DIO2
red Indicates that DIO is in “low” (0) status.
DIO3
red Indicates that DIO is in “low” (0) status.
TXD0
red Indicates that TXD0 has a signal.
RXD0
red Indicates that RXD0 has a signal.
DTR0
red Indicates that DTR0 has a signal.
CTS0
red Indicates that CTS0 has a signal.
DSR0
red Indicates that DSR0 has a signal.
DCD0
red Indicates that DCD0 has a signal.
RTS0
red Indicates that RTS0 has a signal.
TXD1
red Indicates that TXD1 has a signal.
RXD1
red Indicates that RXD1 has a signal.
3
3
Chapter 3 Getting Started
This chapter includes information about installing NE-4100 Series modules.
The following topics are covered in this chapter:
! Wiring Requirements
! Attaching NE-4100T to the Evaluation Board
! Attaching NE-4110 Series to the Evaluation Board
! Attaching NE-4120 Series to the Evaluation Board
! Circuit Pad for External Connection
! Connecting the Power
! Connecting to the Network
! Connecting to a Serial Device
! DI/O Settings
" Digital Output LED Circuit Design
! Selecting the Interface
NE-4100 Series User’s Manual Getting Started
3-2
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. Observe all electrical codes dictating the maximum current allowable for each wire size.
If the current goes above the maximum ratings, the wiring could overheat, causing serious damage to your equipment.
Temperature Caution!
Please take care when handling the evaluation boards. When plugged in, the evaluation boards’ internal components generate heat, and consequently the board may feel hot to the touch.
You should also pay attention to the following points:
# 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.
NOTE: Do not run signal or communication wiring and power wiring in the same wire conduit. To avoid interference, wires with different signal characteristics should be routed separately.
# You can use the type of signal transmitted through a wire to determine which wires should be
kept separate. The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together.
# Keep input wiring and output wiring separate.
# Where necessary, it is strongly advised that you label wiring to all devices in the system.
Attaching NE-4100T to the Evaluation Board
Before connecting your NE-4100-ST to the power supply, network, and serial device, you first need to attach NE-4100T to the NE-4100-ST evaluation board. In the center of the evaluation boards, there is a square with one white inverted triangle (shown as black in the figure) on one of its sides, and 2 rows of female sockets on the other two sides. The NE-4100T board also has a white inverted triangle on one of its sides. When attaching your NE-4100T to NE-4100-ST, make sure these 2 white inverted triangles are facing the same direction, as shown in the following figure.
NE-4100 Series User’s Manual Getting Started
3-3
NE-4100-ST Starter Kit
1234
ON
DIP
NE-4100T Series
Module
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.
1234
ON
DIP
910
13 14
12
12
1
2
1
2
9
10
13
14
Pin 1
Pin 1
NE-4110-ST Starter Kit
NE-4110 Series
Module
Attaching NE-4120 Series to the Evaluation Board
J1, J2 on the NE-4120 module and J9,J10 on the evaluation board are for communications between the NE-4120 Series modules and the evaluation board. Connect Jumper 1 (J1) on the NE-4120 Series module to Jumper 9 (J9) on the evaluation board, and Jumper 2 (J2) on the NE-4120 Series module to Jumper 10 (J10), as shown below. And then connect Jumper 3 (J3) and Jumper 7 (J7).
NE-4100 Series User’s Manual Getting Started
3-4
1234
ON
DIP
910
13 14
12
12
1
2
1
2
9
10
13
14
1
2
3
4
5
Pin 1
Pin 1
NE-4120-ST Starter Kit
NE-4120 Series
Module
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. As shown in the second figure, the first row of the circuit pad is for connecting a 5V power supply, whereas the second row is for connecting a 3.3V power supply. J3’s and J9’s header pinouts are exactly the same, which means that J3’s pin 1 corresponds to J9’s pin 1, pin 2 corresponds to pin 2, etc. J4’s pinouts are the same as J10’s, which means that J4’s pin 1 corresponds to J10’s pin 1. The last row of the circuit pad is for grounding.
1234
ON
DIP
910
13 14
12
12
5V
3.3V
12
J9
J10
J3
910
12
13 14
J4
GND
5V
3.3V
12
910
12
J9
13 14
12
J10
J3
910
12
13 14
J4
GND
NE-4100 Series User’s Manual Getting Started
3-5
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. If you are using NE-4110 Series, connect one end of the Ethernet cable to the NE-4110 Series board and the other end of the cable to the Ethernet network. If the cable is properly connected, the RJ45 connector will indicate a valid connection to the Ethernet in the following ways:
LAN
The green indicator LED in the upper right corner blinks when the cable is properly connected to a 100 Mbps Ethernet network, and data is being transmitted.
LAN
The yellow indicator LED in the upper left corner blinks when the cable is properly connected to a 10 Mbps Ethernet network, and data is being transmitted.
Connecting to a Serial Device
Connect the serial data cable between the evaluation boards (NE-4100-ST and NE-4110-ST) and the serial device.
DI/O Settings
NE-4100 Series Embedded Network Enablers support 4 digital I/Os. All 4 digital I/Os are GPIO (General Purpose I/O) that allow you to set to “digital output” or “digital input” mode by software. On the evaluation board, LEDs are used to simulate output loading whereas the DIP switch simulates an input device.
DI/O mode for physical wiring is selected by the DI/O mode jumper. For example, when the DI/O mode of DI/O1 is set to DI, the circuit of DI/O1 on the NE-4100 series module is connected to Digital Input DIP switch, digit 1. When the firmware of the NE-4100 series sets DI/O1 to digital input mode, you can check the DI/O1 status with the Windows utility or Web browser. When you change digit 1 of the switch, the changes appear on the Web browser.
Digital Output
DO0 DO1 DO2 DO3
DI DO
0 1 2 3
DI/O Mode
DO0 DO1 DO2 DO3
1234
ON
DIP
Digital Input
0123
ON: Low OFF: High
: Low
: High
DI/O Selectable Jumper
Digital Input Signal Setting Switch
Digital Output Terminal Block
Digital Output LEDs
NE-4100 Series User’s Manual Getting Started
3-6
1. First, use the DI/O selectable jumper to set the DI/O modes, as shown below.
DI DO
0
1
2
3
DI/O Mode
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.
1234
ON
DIP
Digital Input
0123
ON: Low
OFF: High
3. DO1 and DO3’s status must be configured with the Web Console. If you configure
DO1’status to “Low” and DO3’s to “High,” the DO1’s LED will show solid red, and DO3’s LED will not light up. Refer to chapter 6 for more configuration details.
Digital Output
DO0 DO1 DO2 DO3
: Low
: High
Digital Output LEDs
Digital Output LED Circuit Design
The figure shown below is the digital output LED circuit design. The design is called “Sink.”
3.3V
Dout
For developing your own applications, you need to be aware of the voltage limits shown below. The output electric circuit is 1 mA
Min. Max. Unit Conditions Low-level Input Voltage
Maximum voltage when DI is set to “Low” status.
----- 0.3xVCC V
High-level Input Voltage
Minimum voltage when DI is set to “High” status.
0.7xVCC ----- V
Low-level Input Voltage
Maximum voltage when DO is set to “Low” status.
----- 0.4 V
High-level Input Voltage
Minimum voltage when DO is set to “High” status
2.4 ----- V
Digital Output’s output current carries only 1 mA.
NE-4100 Series User’s Manual Getting Started
3-7
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.
For example, if you are using NE-4110S or NE-4120S modules, use the jumper to select the RS-232 interface, as shown below.
RS485
RS232
JP2 Network Enabler Interface
If you are using NE-4110A or NE-4120A, use the jumper to select the RS-485 interface, as shown below.
JP2 Network Enabler Interface
RS485
RS232
Note that jumper JP2 on the NE-4110A and NE-4120A modules are for RS-485 (2-wire) and RS-422 (4-wire) settings. Short JP2 on the NE-4110A/4120A modules to set the serial interface to RS-485 (2-wire) mode. Leave JP2 open to set the serial interface to RS-422 (4-wire) mode.
4
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.
! Overview
! TCP Server Mode
! TCP Client Mode
! UDP Mode
! Real COM Mode
Loading...
+ 63 hidden pages