Instruction/ maintenance manual of the product 5400 Moxa Technologies
Go to page of 96
5400 Series User ’ s Manual Third Edition, May 2004.
5400 Series User’s Manual The software described in this manual is furnished under a license agreement and may be use d only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved.
Table of Contents Chapter 1 Introduction ......................................................................................1-1 Overview ....................................................... ................................................ 1-2 Package Checklist .
Chapter 6 Configuring Windows Administrator .............................................6-1 Overview ....................................................... ................................................ 6-2 Installing Windows Administrator .......
1 1 Chapter 1 Introduction Welcome to MOXA NPort 5400 Series of advanced serial device serv ers that make it easy to network enable your serial dev ices.
Overview NPort 5400 Series serial device server s are designed to make your indu strial serial devices Internet ready instantly. The compact size of NPort 5400 device servers ma kes them the ideal cho.
Introduction Product Specifications LAN Ethernet 10/10 0 Mbps, R J45 Protection Built-in 1.5 KV magnetic isolation NPort 5410 Serial Interface Interface RS-232 No.
Power Requirements Power Input 12 to 48 VDC Power Cons umption NPort 5410: 3 85 mA (at 1 2V max.) NPort 5430: 380 mA (at 12V max.) NPort 5430I: 600 mA (at 12V max.) Mechanical Material SECC sheet metal (0.8 mm) Dimensions (W × H × D) With mounting kit: 17 6 × 35.
2 2 Chapter 2 Getting Started This chapter include s information about installing NPort 5400 Series. The following topics are covered: Panel Layout Connecting the Hardware Wiring Requireme.
Panel Layout NPort 5410 NPort 5430/5430I NPort 5400 Series User’s Manual 2-2.
Getting Started Connecting the Hardware This section describes how to connect NPort 5 400 to serial devices for fi rst time t esting purposes. We cover Wiring Requirements , Connecting the Power , Gr ounding N Port 540 0 , Connecting to the Network , and Connecti ng to a Serial Device .
Grounding NPort 5400 Grounding and wire rou ting helps lim it the effects of noise due to el ectromagnetic interference (EMI). Run the groun d connection fr om the ground screw to the grou nding surfac e prior to conn ecting devices. This product is intended t o be mount ed to a well-gro unded m ounting surface suc h as a metal panel.
3 3 Chapter 3 Initial IP Address Configuration When setting up your NPort 5410/5430/5340I for the first time, the first th ing you should do is configuring the IP addr ess. This chapter introduc es th e method to config ure NPort’ s IP addr ess. Select one of the initial IP Address configuration methods to configure NPort’s IP Address.
Initializing NPort’s IP Address 1. Determine whether you r NPort needs to use a Stati c IP or Dynam ic IP (either DHC P or BOOTP application). 2. If NPort is used in a Static IP environment, you can use LCM Di splay, NPort Administrat ion Suite, ARP, Web Console, or Telnet Co nsole to config ure the new IP address.
Initial IP Address Configuration There are fou r push butto ns on NPort’ s nameplate. G oing from left to right , the buttons are: Button Name Action MENU menu activates the main menu, or returns to.
As you use the bu ttons to operate the LCM disp lay, you will notice that with very few exceptions, mo ving up one level causes the botto m line of the display to move to th e top line of the display. You will also no tice that the botto m three options in level 2, and all of the options in level 3 h ave either a C or D attached.
Initial IP Address Configuration The part of the LCM operation that still req uires some explanation is how to edit the configurable options. In fact, you will only en counter two types of configura ble options. The first type involves ente ring numbers, such as IP addresses, Netm asks, etc.
NPort Administration Suite NPort Administration Suite consists of some useful utility programs that are used to config ure and manage your NPorts. See Chapter 5 for de tails on how to install NPort Ad ministration Suite, and h ow to use this suite of useful utilities to set up IP a ddresses and configure your NPort.
Initial IP Address Configuration Telnet Console Depending on how y our compute r and netw ork are confi gured, you m ay find i t convenie nt to use network access to set up your NPort’s IP a ddress. This can be done using the Telnet program. 1. From the Win dows desktop , click on Start and then se lect Run .
6. Use the Backspace key to erase the current IP address, type in the ne w IP address, a nd then press Ente r . 7. Press any key to c ontinue… 8. Type m a nd then press Enter to return to the main menu.
Initial IP Address Configuration 9. Type s and then press Enter to Save/Rest art the system. 10. Type y and then pr ess Enter to sav e the new IP address and restart NPort.
.
4 4 Chapter 4 Choosing the Proper Operation Mode In this section, we describe th e various NP ort operation m odes. The o ptions include a n operation mode that uses a driver install ed on the host computer, an d operation m odes that rely on TCP/IP socket programmin g concepts.
Overview NPort De vice Servers net work-enabl e traditional R S-232/422/ 485 devices , in which a De vice Server is a tiny computer equipped with a CP U, real-tim e OS, and TCP/IP protocols that ca n bi-directio nally translate data between the serial and Ethernet formats.
Choosing the Proper Operation Mode TCP Client Mode In TCP Client mode , NPort can actively establish a TCP connection to a pre-defined host com puter when serial data arrives. After the data has b een transferred, NPort can automatically disconn ect from the host computer by using the TCP alive check time or Inac tivity time settings.
The driver used for Real COM Mode comes with the NPort Windows Administrator which will install automatically on your co mputer when you install NPort Administration Suite.
5 5 Chapter 5 Web Console Configuration The Web Console is the most user- friendly way to configur e NPort 5410/5430/534 0I. This chapter will introduce the Web Console function groups and fu nction definitions. This chapter uses NPort 5230 as an example.
Opening Your Browser 1. Open your browser wi th the cookie function enabl ed. (To e nable your br owser for coo kies, right click on your desktop Inter net Explorer icon, select Properties, click on th e Security tab, and then select the three Enable options as sho wn in the figure below.
Web Console Configuration 4. The NPort 5410/5430/5340I homepage will open. On this page, you can see a brief descriptio n of the Web Consol e’s nine func tion groups . If you can’t remember the pa ssword, the ONLY way to start configuring NPort is to load factory defaults by using the Reset button lo cated near the NPort’s RJ45 Ethernet port.
Basic Settings Server name Setting Factory Defau lt Necessity 1 to 39 characters NP[model name]_[Serial No.] Optional This option i s useful for specify ing the lo cation or application of different NPorts. Time NPort 5410/5430 /5340I has a built-in Real-Time Clock fo r time calibration function s.
Web Console Configuration Click on the Modify button to open the Modify time settin gs window to input the correct local time. Time server Setting Factory Defau lt Necessity IP or Domain address (E.g., 192 .168.1.1 or ti me.stdtime.go v .tw or time.nist.
NPort 5400 Series User’s Manual 5-6.
Web Console Configuration Y ou must assign a valid IP address to NPort 5410/5430/5340 I before it will work in your network environm ent. Y our networ k system administrator s hould pr ovide you wit h an IP address and relate d settings for y our network.
IP Configuration Setting Factory Defau lt Necessity Static DHCP DHCP/BOOTP BOOTP Stat ic Require d In Dynamic IP environments, the firm ware will retry 3 times every 30 seconds until network settings are assigned by the DHCP or BOOTP server. The Time out for each try increases from 1 second, to 3 seconds, to 5 seconds.
Web Console Configuration SNMP Settings Community Name Setting Factory Defau lt Necessity 1 to 39 characters (E.g., Su pport, 886-891 91230 #300) public Optional A comm unity name is a pl ain-text pass word mechani s m that is used to weakly authenticate qu eries to agents of m anaged network devices.
Serial Settings Click on Serial Settings , located un der Main Men u, to displa y serial port set tings for po rts 1 and 2. To modify se rial settings for a parti cular port , click on eit her Port 1 or Port 2 under Serial Set tings. Port alias Setting Factory Defau lt Necessity 1 to 15 characters (E.
Web Console Configuration Serial Parameters Check the serial communication parameters in your Se rial Device’s user’s manual. You should set up NPort’s serial para meters with the same communi cation parameters used by your serial d evices.
Operating Settings Press Operating Set tings to display the operating settings for all of NPort’s serial ports. Real COM Mode TCP alive check time Setting Factory Defau lt Necessity 0 to 99 m in 7 min Optional 0 min: TCP connection is not closed due to an idle TCP connection.
Web Console Configuration Max Connection Setting Factory Defau lt Necessity 1, 2, 3, 4 1 Required Max Connection is usually used when the user needs to receive data from different h osts simultaneously . The factory default only allows 1 co nnection at a sam e.
Force Transmit Setting Factory Defau lt Necessity 0 to 65535 ms 0 ms Optional 0: Disable the force transm it timeout. 1 to 65535: Forces the NPort’s TCP/IP protocol s oftware to try to pack se rial data received during the specified time into the same data frame.
Web Console Configuration TCP alive check time Setting Factory Defau lt Necessity 0 to 99 m in 7 min Optional 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: NPort automatically closes the TCP connection if th ere is no TCP activity for the given time.
Delimiter 2 Setting Factory Defau lt Necessity 00 to FF None Optional Once the NPort receives both delim iters through its serial port, it im m ediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port. Delimiter 2 is optional.
Web Console Configuration TCP Client Mode TCP alive check time Setting Factory Defau lt Necessity 0 to 99 m in 7 min Optional 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: NPort automatically closes the TCP connection if th ere is no TCP activity for the given time.
At least, the Inactivity time should b e set larger than that of Force Transmit timeout. To prevent the unintended loss of data due to the session disco nnected, it is highly recommend ed that this value is set large enough so that the in tended data transfer is completed.
Web Console Configuration Destination IP address 1 Setting Factory Default N ecessity IP address or Dom ain Address (E.g., 192 .168.1.1 ) N one Required Allows NPort to connect actively to the remote host whose address is set by th is parameter. Destination IP address 2/3/4 Setting Factory Default Necessity IP address or Dom ain Address (E.
UDP Mode Delimiter 1 Setting Factory Defau lt Necessity 00 to FF None Optional Delimiter 2 Setting Factory Defau lt Necessity 00 to FF None Optional Once the NPort receives both delim iters through its serial port, it im m ediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port.
Web Console Configuration Force Transmit Setting Factory Defau lt Necessity 0 to 65535 ms 0 ms Optional 0: Disable the force transm it timeout. 1 to 65535: Forces the NPort’s TCP/IP protocol s oftware to try to pack se rial data received during the specified time into the same data frame.
Accessible IP Settings NPort has an IP address based filtering method to control access to the NPort. Accessible IP Settings allows y ou to add or remove “Legal” remote host IP addresses to preve nt unauthorized a ccess. Access to NP orts is cont rolled by IP address.
Web Console Configuration Auto Warning Settings Event Type Cold start This refers to st arting the system from powe r off (contrast t his with warm start). When perform ing a cold start, NPort will automatically issue an Auto warning message by e-mail, or send an SNMP trap after rebooting.
DSR changed The DSR (Data Set Ready) signal has changed, also indicat ing that the data comm unication equipment’s powe r is off. For example, a DSR cha n ge to high also means that the DCE is powered ON. If the DSR signal changes to low, it also means that the DCE is powered off.
Web Console Configuration Auto warning: E-mail and SNMP Trap Mail Server Mail Server Setting Factory Defau lt Necessity IP or Domain Nam e None Optional User Name Setting Factory Defaul t Necessity 1 .
Change Password Input the “Old password” and “N ew password” to chan ge the pa ssword. Leave the p assword boxes blank to erase the password. In this case, the NPort will no t have password protection. If you forget the password , the ONLY way to config ure NPort is by us ing the Reset button on NPort’s casing to “Load Factory Default.
Web Console Configuration Load Factory Default This function will reset all of NPort’s settings to th e factory default values. Be aware th at previous settings will be lost.
.
6 6 Chapter 6 Configuring Windows Administrator This chapter uses NPort 5230 as an example to introduce the installatio n and configuration of NPort Administration Suite.
Overview We understa nd the im portance of s oftware as t he founda tion of your application, and with this in mind, we designed NPort Administrator to let you easily install a nd configure your NPort 5000 Series product over t he network.
Configuring Windows Administrator 4. Clic k on Next to install the program using the default prog ram nam e, or select a dif ferent name. 5. Clic k on Install to proceed with the i nstallation. 6. The Installing window repor ts the progre ss of the installation.
8. Clic k on Finish to complete the installation of NPort Adm inistrati on Suite. Configuration The Admi nistrator-Confi guration window is di vided into four part s. The top part is the function list and onlin e help area. (Windows NT does not support this .
Configuring Windows Administrator Broadcast Search The Broadcast Search function is used to locate all NPorts that are connected to the same LAN as your computer.
Unlock Password Protection If the NPort is password protected, then you will not be able to use the right click or do uble click m ethod to open the c onfiguration page. Instead, select an NPort with “Lock” status, right click the lock ed NPort, and then select the unlock button.
Configuring Windows Administrator Blank The NPort is not password pro tected, and “B roadcast Search” was use d to locate it. Fixed The NPort is not password prot ected, and “Search by IP address” was use d to locate it.
Upgrade Firmware Input the password to Unlo ck the NPort, and then right click on a specific NPor t and select the Upgrade Firmware function t o start upgrading th e firmware. Select the correct ROM file to be downloaded to the NPort. Visit Moxa’s website at www.
Configuring Windows Administrator Export/Import Right click on a specifi c NPort and select the Export function to start Exporting th e configuration file. The Export Conf iguration function is a handy tool that can be used t o produce a te xt file containing the curren t configuration of a particular NPort.
Monitor There are tw o methods avai lable to start the Monitor function. 1. First use Broadcas t Search unde r the Conf iguration F unction gro up, and t hen click on Monitor Add Targ et Select ta rget from the list. 2. First cli ck on Mo nitor , and then Add T arget Rescan .
Configuring Windows Administrator Select Monitor Items. Select a Refresh Rate (the default is 3 seconds). Select Display warning message or Play the warning music in WAV format when a new event o ccurs. New event means one of the NPorts in the monitor is “Alive” or “Not Alive,” or has lost connection with the Monitor program.
When one of the NPorts loses connection with the Monitor program, a warning alert will display automatically. Th e warning music will be played at the same time. In the Monitor screen, you can see the “Not Alive” NPort is marked with red co lor. Click the Alive column.
Configuring Windows Administrator Port Monitor The process is the same as in the previous “Monito r” section. The only difference is that you can select more item s under Port Monitor tha n under p ort status.
COM Mapping Windows Administration Suite comes with the Wi ndows 95/98 /ME/NT/2000/XP Real COM driv ers. After you install Windows Administration Suite, th ere ar e two ways to set up the NPort’s serial por t as your host’s re mote COM port . The first way is On-line COM Mapping .
Configuring Windows Administrator Select COM Setting to m odify COM No., default setting, etc. Select the COM No. Those “In use, ” “Assigned” C OM ports will also be indica ted in this di alog window. If you select multiple serial ports or multiple NPorts, remember to check the “Auto Enum erating” function to use the COM No.
Fast Flush (only flush loc al buffer) 1. We have adde d one optio nal “Fast Flush” f unction in ou r new NPort R eal COM dri ver. NP ort Administrator Suite for 2G NPort adds it after version 1.2 . 2. For some applications, the user’s program will use the Win32 “PurgeComm()” fu nction before it reads or writes data.
Configuring Windows Administrator Select Discard Ch ange to tell Administrator to NOT save the COM Mapping information to the host. To save the configuration to a text file, select Export COM Mapping . You will then be able to import this configur ation file to another host and use the same COM Mapping settings in th e other host.
Add a target by inputting t he IP address and selecting the Model Name without physically co nnecting the NP ort to the net work. Apply chan ge. IP Location When NPort 5000 series products are used in a dyna mic IP environment, user s m ust spend more time with IP management tasks.
Configuring Windows Administrator Select the IP Location Report. The configure the local listen to be the same as the NPort’s “Auto report t o UDP port” set ting.
.
7 7 Chapter 7 IP Serial LIB The following topics are covered in this chapter: Overview IP Serial LIB Function Groups Example Program.
Overview What is IP Seri al Library? IP Serial Library is a Windows library w ith freque ntly used serial command sets a nd subrouti nes. IP Serial Library i s designed t o reduce the c omplexity and poor efficien cy of se rial communication over TCP/IP.
IP Serial LIB IP Serial LIB Function Groups Server Control Port Co ntro l Input/Out put Data Port Status Inquiry Miscellaneous nsio_init nsio_end nsio_resetserv er nsio_checkalive nsio_ope n nsio_clos.
.
A A Appendix A Pinouts and Cable Wiring In this appendix, we cover the fo llowing topics. Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts Cable Wiring Diagrams Ether.
Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts DB9 Male RS-232 Po rt Pinouts for NPort 5410 Terminal Block RS-232 & RS-422 /485 Pinouts for NP ort 5230 NPort 5400 Series User’s M.
Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables Serial Cables DB9 Female to DB9 Male for N Port 5410 NPort 5400 Series User’s Manual A-3.
DB9 Female to DB25 Male fo r NPort 5410 NPort 5400 Series User’s Manual A-4.
B B Appendix B Well Known Port Numbers This appendix is for your reference about th e Well Known port numbers that may cause netw ork problem if you set NPort into the same port. Refer to RFC 1700 for Well Known port numbers of refer to the following introduction from the IANA.
49 (Login Host Prot ocol) (Logi n) 53 Domai n Name Server ( domain) 79 Finger protocol (Finger) TCP Socket Application Service 80 W orld W ibe W eb HTTP 1 19 Netword ne ws T ransfer Proto col (NNTP) 1.
C C Appendix C SNMP Agent with MIB II & RS-232 like group NPort 5200 has a b uilt-in SNMP (Simple Network Ma nagement Protocol) agent software. It supports SNMP Trap, RFC1317 RS-232 like gourp and RFC 1213 MIB-II. The follo wing table lists the standard MIB-II group, as we ll as the va riable implementation for NPort 5200.
System MIB Interfaces MI B IP MIB ICMP MIB SysServices ifInUnknownProtos ipReasmFails IcmpOutTim eExcds ifOutOctets ipFragOKs IcmpOutParmProbs ifOutUcastPkts ipFragFails Icm pOutSrcQuenchs ifOutNUcast.
Well Known Port Numbers Addre ss T ran slation MIB TCP MIB SNMP MIB AtNetAddress tcpRetransSegs snmpInT otalSetV ars tcpConnState snmpInGetRequests tcpConnLocal Address snmpInGetNe xts tcpConnLocal Po.
.
D D Appendix D Service Information This appen dix shows yo u how to cont act Moxa f or informat ion about thi s and othe r products, a nd how to report pro blems.
MOXA Internet Services Customer satisfaction is our num ber one concern, and to ensure that customers receive the full benefit of our prod ucts, Moxa Inte rnet Services ha s been set up t o provide techni cal support, d river updates, product inf ormation, a nd user’s ma nual updates.
Service Information Problem Report Form MOXA NPort 5400 Series Customer name: Comp any: T el: Fax: Email: Date: 1. Moxa Product : NPort 5410 NPor t 5430 NPo rt 5430I 2. Serial Number: ___________ ______ Problem Desc ription: Please describe the sym ptoms of the pro blem as clearly as possible, incl uding any error messages you see.
Product Return Procedure For product repair, exc hange, or re fund, the cust omer m ust: Provi de evidence of original purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF).
Service Information Revision History Document Edition Revisi on Date Revision Detai ls 2 nd August 25, 2003 1. Update the edi tion of t his manual on the title page.
the title page. 3. p. 6-16 Added descript ions on newly-added f unction “Fast Flush”. 4. p. 4-3 Added more descri ptions on Real COM Mode. 5. p. 5-13 Added more de scriptions unde r Max connection 2 to 4 . 6. p. 6-18 Changed “TCP” to “UDP”.
E E Appendix E Auto IP Report Protocol NPort Series provides sev eral ways to configur e Ethe rnet IP addresses. One of them is DHCP Client. When you set up the NPort to use DHCP Client to configure Ethernet IP a ddresses, it will automatically send a DHCP request over the Ethernet to find the DHCP Server.
NPort 5400 Series User’s Manual E-2 And then you can develop your own programs to recei ve t his information from the NPort. Here is NPort’s Auto IP Report Protocol. We provide an example for you to easily develop your ow n programs. Y ou can find t his exampl e on Moxa’s we bsite.
An important point after buying a device Moxa Technologies 5400 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Moxa Technologies 5400 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Moxa Technologies 5400 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Moxa Technologies 5400 you will learn all the available features of the product, as well as information on its operation. The information that you get Moxa Technologies 5400 will certainly help you make a decision on the purchase.
If you already are a holder of Moxa Technologies 5400, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Moxa Technologies 5400.
However, one of the most important roles played by the user manual is to help in solving problems with Moxa Technologies 5400. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Moxa Technologies 5400 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center