Moxa NPort 5630-16 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Moxa NPort 5630-16. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Moxa NPort 5630-16 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Moxa NPort 5630-16 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Moxa NPort 5630-16 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Moxa NPort 5630-16
- nom du fabricant et année de fabrication Moxa NPort 5630-16
- instructions d'utilisation, de réglage et d’entretien de l'équipement Moxa NPort 5630-16
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Moxa NPort 5630-16 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Moxa NPort 5630-16 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Moxa en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Moxa NPort 5630-16, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Moxa NPort 5630-16, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Moxa NPort 5630-16. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    NPort 5600 Series User ’ s Manual Ninth Edition, June 2008 www .moxa.com/product © 2008 Moxa Inc ., all rights reserve d. Reproducti on without perm ission is prohi bited.[...]

  • Page 2

    NPort 5600 Series User’s Manual The software d escribed in this manual is fu rnished under a license agreement and may be use d only in accordance with the term s of that agreement. Copyright Notice Copyright © 2008 Moxa Inc. All rights reserved. Reproducti on without perm ission is prohi bited. Trademarks MOXA is a re gistered trade mark of Mox[...]

  • Page 3

    Table of Contents Chapter 1 Introduction.............................................................................................. 1-1 Overview ............................................................................................................................ 1- 2 Package Ch ecklis t ....................................................[...]

  • Page 4

    UDP Mode ............................................................................................................ 5-23 Pair Connec tion Mode .......................................................................................... 5-25 Reverse Teln et Mode ........................................................................................[...]

  • Page 5

    Appendix C SNMP Agent with MIB II & RS-232 Like Group .................................... C-1 Appendix D Auto IP Report Protocol ......................................................................... D-1[...]

  • Page 6

    1 1 Chapter 1 Introduction The Moxa NP ort 5600 Series of advanced s erial device servers make it easy t o network-enable your serial devices. The NPort 5600 Series includes 8 models: NPort 5610-16 , NPort 5610-8 (8 or 16 RS-232 ports, with AC power), NPort 5610-16-48V, NPort 5610- 8-48V (8 or 16 RS-232 ports, with DC pow er), NPort 5630 -16, NPort[...]

  • Page 7

    NPort 5600 Series User’ s Manual Introduction 1-2 Overview The NPort 5600 Series serial device servers are de signed to m ake your ind ustrial serial devices Internet ready instantly. Th e compact size of the NPort 5600 device server s makes them the ideal choice for connecting you r RS-232 (NPort 5610-16 /8), RS-422/485 (NPort 5 630-16/8), or RS[...]

  • Page 8

    NPort 5600 Series User’ s Manual Introduction 1-3 Product Specifications LAN Ethernet 10/10 0 Mbps, RJ45 Protection Built-in 1.5 KV magnetic isolation Optical Fiber Distance Multi mode: 0 to 2 km , 1310 nm (62.5/125 µm , 500 MHz*km ) Single mode: 0 to 40 km , 1310 nm (9/125 µm , 3.5 PS/ (nm*km )) Min. TX Output Multi mode: -20 dBm Single mode: [...]

  • Page 9

    NPort 5600 Series User’ s Manual Introduction 1-4 Advanced Built-in Features HMI LCM display with fou r push button s Buzzer Real-Time Clock Watch Dog Timer 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, DSR/DTR (Excluded NPort 5 630) Transmissi on Speed[...]

  • Page 10

    NPort 5600 Series User’ s Manual Introduction 1-5 Environment Operating Tem perature 0 to 55°C ( 32 to 131°F) , 5 to 95%RH Storage Temperat ure -20 to 85°C (-4 to 185°F) , 5 to 95%RH Regulatory Approva ls EMC FCC Class A, CE Class A Safety UL, CUL, TÜV WARRANTY 5 years[...]

  • Page 11

    2 2 Chapter 2 Getting Started This chapter includ es information about installin g NPort 5600 Series. The following topics are covered:  Panel Layout  Connecting the Hardware ¾ Wiring Requirem ents ¾ Connecting NPort 56 10/30/50-16/8’s Power ¾ Connecting NPort 56 10-16/8-48V’s Power ¾ Grounding NPort 5610-16/ 8-48V ¾ Connecting to th[...]

  • Page 12

    NPort 5600 Series User’ s Manual Getting Started 2-2 Panel Layout The followin g figures depi ct the front a nd rear panels of the NPo rt 5600 series. Front panel of NPort 5600 series 5610- 16 Rear panel of NPort 5 600 series (AC Power) LAN Serial ports AC POWER 100-240V, 47-63Hz 12345678 9 1 01 11 21 31 41 51 6 Rear panel of NPort 5 600 series ([...]

  • Page 13

    NPort 5600 Series User’ s Manual Getting Started 2-3 Connecting the Hardware This section describes how to connect NPort 5600 Series to serial devices for first time testing purposes. We c over Wiring Requirements , Connecting NPort 5610/ 30/50-16/ 8’s Power , Connecting NPort 5610-1 6/8-48V’s Po wer, Grounding N Port 5610-16 /8-48V , Connect[...]

  • Page 14

    NPort 5600 Series User’ s Manual Getting Started 2-4 V+ V - 1. Loosen the screws on the V + and V - terminals of NPort 56 10-16/8-48V’ s terminal block. 2. Connect the power cord’s 48 VDC wire to the term inal block’s V + terminal, and the po wer cord’s DC Powe r Ground wire t o the terminal block’s V - terminal, and then tighten the te[...]

  • Page 15

    NPort 5600 Series User’ s Manual Getting Started 2-5 Connecting to a Serial Device Connect the se rial data cable between NPort 5600 and the s erial device. LED Indicators The front pa nels of NPo rt 5600 have several LED indi cators, as descri bed in the f ollowing t able. LED Name LED Color LED Function off Power is off, or power error conditio[...]

  • Page 16

    NPort 5600 Series User’ s Manual Getting Started 2-6 T o set the pull high/low resistors to 150 K Ω , make sure both of the a ssigned DIP switches are in the OFF position. This is the default setting. T o set the pull high/low resistors to 1 K Ω , make sure bot h of the assigned DIP switches are in the ON position. AT T E N T I O N Do not use[...]

  • Page 17

    3 3 Chapter 3 Initial IP Address Configuration When setting up your NPor t 5600 for the first time, the fir st thing you should do is configure the IP address. T his chapter i ntroduces several methods to c onfigure NP ort’s IP address. Sel ect the method that is the m ost convenient for you. Fo r more detai ls about network settings, see the Net[...]

  • Page 18

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-2 Initializing NPort’s IP Address 1. Determine whether your NPort needs to use a Static IP or Dynamic IP (either DHCP or BOOTP application). 2. If NPort is used in a Static IP environment, you can use NPort Adm inistration Sui te, ARP, Web Console, or Telnet Cons ole to configur[...]

  • Page 19

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-3 There are fou r push butto ns on NPort’ s nameplate. Goin g from le ft to right, the buttons a re: Button Name Action MENU menu activates the main menu, or return s to an upper level U up cursor scrolls up through a list of items shown on the LCM panel’ s second line V down [...]

  • Page 20

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-4 Level 1 Level 2 Level 3 Main Menu Server setting Serial number Server name Firmware ver Model name D C D D Network setting Ethernet status MAC address IP config IP address Netmask Gateway DNS server 1 DNS server 2 D D C C C C C C Serial set Select port Baudrate Data bit Stop bit[...]

  • Page 21

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-5 Parity attribute under Serial set as an exam ple. Follow the tree grap h to arrive at the following Parity screen. The first op tion, None, is displayed, with a down arrow all the way to the right. Thi s is an indication that t here are other options from which to choose. P a r [...]

  • Page 22

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-6 Take the following steps to use ARP to con figure the IP address: 1. Obtain a valid IP address for you r NPort from your network adm inistrator. 2. Obtain the NPort’s MAC address from the label on its bottom panel. 3. Execut e the ‘arp -s’ com mand from your comput er’s [...]

  • Page 23

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-7 4. Type 2 to select Network settings, and th en press Enter. 5. Type 1 to select IP a ddress and then press Enter. 6. Use the Backspace key to erase the c urrent IP addr ess, type in the new IP address , and then press Enter.[...]

  • Page 24

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-8 7. Press any key t o continue… 8. Type m or M and then press En ter to return to the main menu. 9. Type s or S and then press Enter to Save/Restart the system.[...]

  • Page 25

    NPort 5600 Series User’s Manual Initial IP Address Configuration 3-9 10. Type y or Y and the n press Enter to sa ve the new IP a ddress and restart NPort.[...]

  • Page 26

    4 4 Chapter 4 Choosing the Proper Operation Mode In this chapt er, we descri be the vario us NPort 5600 operation m odes. The opti ons include an operation m ode that uses a d river installed o n the host comput er, and ope ration modes t hat rely on TCP/IP socket programmi ng concepts. A fter choosing the proper operation mode in this chapter, ref[...]

  • Page 27

    NPort 5600 Series User’ s Manual Choosing the proper Operation Mod e 4-2 Overview NPort De vice Servers net work-enable t raditional RS- 232/422/485 devices, in w hich a Device Server is a tiny computer eq uipped with a CPU, real-tim e OS, and TCP/I P protocols t hat can bi-directionally translate data between t he serial and Ethernet formats. Yo[...]

  • Page 28

    NPort 5600 Series User’ s Manual Choosing the proper Operation Mod e 4-3 The important point is that Real COM Mo de allows users to continue usin g RS-232/422/4 85 serial communications software th at was written for pure serial communications app lications. The driver intercepts data sent to the host’s COM port, p acks it into a TCP/IP pack et[...]

  • Page 29

    NPort 5600 Series User’ s Manual Choosing the proper Operation Mod e 4-4 TCP Client Mode In TCP Client mode , NPort can actively establish a TCP connection t o a pre-defined host computer when serial data arri ves. After the data has b een transferred , NPort can automatically disconn ect from the host computer by usin g the TCP alive chec k time[...]

  • Page 30

    NPort 5600 Series User’ s Manual Choosing the proper Operation Mod e 4-5 Reverse Telnet Mode NPort 5600 Series TCP/IP Router Server Server RS-232 Unix Windows NT 5610- 16 Te l n e t Co nso le management is commonly used by c onnecting to C onsole/AUX or COM port s of routers , switches, and UPS units. Rtelnet works the same as RAW mode in that on[...]

  • Page 31

    NPort 5600 Series User’ s Manual Choosing the proper Operation Mod e 4-6 PPP Mode NPort 5600 Device Server supports standard PPP service for out-of-ban d management if the Ethernet network crashes. The PPP function enables dial-i n access for users who n eed a remote access solution. When a user at a remote site uses PPP di al-in to connect to NP[...]

  • Page 32

    5 5 Chapter 5 Web Console Configuration The Web Cons ole is the m ost user-friendly method avail able to configure NPort 5600 Se ries. This chapter will introdu ce the Web Console function group s and function d efinitions. The figures in this chapter were borrowed fro m the manual for NPort 5200, which uses th e same Web Console user interface as [...]

  • Page 33

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-2 Opening Your Browser 1. Open your browser with the cookie function en abled . (To enable your browser fo r cookies, right click your desk top Internet Explorer icon, select Properties, click th e Security tab, and then select the three Enable optio ns as shown in the figure below.) 2[...]

  • Page 34

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-3 4. The NPort 5600 hom epage will ope n. On this page, you can see a brief de scription of t he Web Console’s nine funct ion grou ps. ATTENTION 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 cat[...]

  • Page 35

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-4 Server name Setting Factory Defaul t Necessity 1 to 39 charact ers NP[model nam e] -[Port No.]_ [Serial No.] Optional This optio n is useful for specifyi ng the lo cation or application of d ifferent NPorts. Time NPort 5600 has a built-in Real-Time Clock fo r time calibration functio[...]

  • Page 36

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-5 Console The “Disable” option for W eb Console a nd T elnet Co nsole is included for security reasons. In some cases, you may want to Disable one or both of these Console utilities as an extra precaution to prevent un authorized users from accessing your NPor t. The factory defaul[...]

  • Page 37

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-6 Method Function Definition Static User defined I P address, Netm ask, Gateway . DHCP DHCP Server assigned IP address, Netmask, Gateway , DNS, and T ime Server DHCP/BOOTP DHCP Server assigned IP address, Netmask, Gateway , DNS, and T ime Server , or B OOTP Serve r assigned IP address [...]

  • Page 38

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-7 ATTENTION In Dynamic IP environments, the firm ware will retry 3 times every 30 seconds until network settings are ass igned by the D HCP or BOOT P server. The Tim eout for each try increases from 1 second, to 3 seconds, to 5 seconds. If the DHCP/BOOTP Server is unavailable, the firm[...]

  • Page 39

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-8 IP Address Report When NPort 5600 series products are used in a dynamic IP envi ronment, user s must spend m ore time with IP management tasks. For example, if NPort works as a server (TCP or UDP), then the host, which acts as a client, must know the IP a ddress of the server. If the[...]

  • Page 40

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-9 Serial Settings Click Serial Sett ings , located under Main Menu , to dis play serial p ort settings fo r ports 1 and 2. NOTE: Since this figure was borrowed fr om the manual of NPort 5200, wh ich has only 2 RS-232 ports, there are only 2 p orts shown i n this figure. Once you ha ve [...]

  • Page 41

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-10 Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual. You should set up NPort’s serial parameters with the same communication param eters used by your seri al devices. Baudrate Setting Factory Defaul t Necessity 50 bps t o[...]

  • Page 42

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-11 Operating Settings Click Operating Settings located under Main Menu, to display the operating settings for all of NPort’s serial ports. Real COM Mode TCP alive check time Setting Factory Defaul t Necessity 0 to 99 m in 7 min Optional 0 min: TCP connection is not closed due to an i[...]

  • Page 43

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-12 Max connection Setting Factory Defaul t Necessity 1, 2, 3, 4 1 Required Max connection is usually u sed when the user needs to receive data from different hosts simultaneously. The fact ory default is 1. In this case, only one s pecific host can access this port of the NPort, and th[...]

  • Page 44

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-13 Packing length Setting Factory Defaul t Necessity 0 to 1024 0 Required Default = 0, The Delimiter Process will be followed, regardless of the leng th of the data packet. If the data length (in bytes) matches the configured va lue, the data will be forced out. Th e data length can be[...]

  • Page 45

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-14 This parameter defines the time interval during which NPort fetches the serial data from its internal buffer. If data is incomin g through the se rial port, NPort stores the data in the internal buffer. NPort transmits data stored in the buffer via TCP/IP, but only if the internal b[...]

  • Page 46

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-15 Inactivity time Setting Factory Defaul t Necessity 0 to 65535 ms 0 ms Optional 0 ms: TCP connection is not closed due to an id le serial line. 0-65535 ms: NPort automatically closes the TCP connection if there is no serial data activity for the given time. After the connection is cl[...]

  • Page 47

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-16 Allow driver control Setting Factory Defaul t Necessity No or Y es No Required If “max connection” is greater than 1, NPor t will ignore driver con trol commands from all connected hosts. However, if you set “Allow driv er control” to YES, control co mmands will be accepted.[...]

  • Page 48

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-17 Force transmit Setting Factory Defaul t 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 softwa re to try to pack se rial data received during the specified time into the same data frame. This parameter d[...]

  • Page 49

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-18 TCP Client Mode TCP alive check time Setting Factory Defaul t 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 there is no TCP activity for the given tim e. Inactivi[...]

  • Page 50

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-19 ATTENTION Inactivity time is ONLY active when “TCP connect on” is s et to “Any character.” Ignore jammed IP Setting Factory Defaul t Necessity No or Y es No Required For previous versions of N Port 5200, whe n Max connectio ns > 1, and the serial device is transmitting da[...]

  • Page 51

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-20 ATTENTION Delimiter 2 is optional. If left blank, then Deli miter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1 KB , the Nport will automatica lly pack the data and send it to the Ethernet. However, to use the delimiter function, you[...]

  • Page 52

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-21 Destination IP address 1 Setting Factory Defaul t Necessity IP address or Dom ain Address (E.g., 192 .168.1.1 ) None Require d Allows NPort to connect actively to th e remote host whose address is set by this parameter. Destination IP address 2/3/4 Setting Factory Defaul t Necessity[...]

  • Page 53

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-22 Connect/Disconnect Description St artup/None (default) A TCP connection will be establishe d on startup, and will remain active indefinitely . Any Character/None A TCP connection will be established when an y character is received from the serial interface, and will re main active i[...]

  • Page 54

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-23 UDP Mode Packing length Setting Factory Defaul t Necessity 0 to 1024 0 Required Default = 0, The Delimiter Process will be followed, regardless of the leng th of the data packet. If the data length (in bytes) matches the configured va lue, the data will be forced out. Th e data leng[...]

  • Page 55

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-24 ATTENTION Delimiter 2 is optional. If left blank, then Deli miter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1 KB , the NPort will automatically pack the data and send it to the Ethernet. However, to use the delimiter function, you [...]

  • Page 56

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-25 Local listen port Setting Factory Defaul t Necessity 1 to 65535 4001 Required The UDP port that NPort lis tens to, and that other devices must use to cont act NPort. To a void conflicts with well known UDP ports, the default is set to 4001. Pair Connection Mode Pair Connectio n Mode[...]

  • Page 57

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-26 Destination IP address Setting Factory Defaul t Necessity IP address or Dom ain Name (E.g., 192 .168.1.1 ) blank Optional TCP port No. 4001 R equired The Pair Connection “Master” will contact the networ k host that has this IP address. Data will be transmitted through th e port [...]

  • Page 58

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-27 Reverse Telnet Mode TCP alive check time Setting Factory Defaul t Necessity 0 to 99 m in 0 Optional Specifies the time slice for checking if the TCP conn ection is alive. If there is no response, NPort 5600 series will disconnect the original con nection. Inactivity time Setting Fac[...]

  • Page 59

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-28 Disabled Mode When Operation mode is set to Disabled, that particular port will be disabled. Select the Apply the above settings to all serial ports option to apply th is setting to the other ports. RFC2217 Mode TCP alive check time Setting Factory Defaul t Necessity 0 to 99 m in 7 [...]

  • Page 60

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-29 Packing length Setting Factory Defaul t Necessity 0 to 1024 0 Optional Default = 0, The Delimiter Process will be followed, regardless of the leng th of the data packet. If the data length (in bytes) matches the configured va lue, the data will be forced out. Th e data length can be[...]

  • Page 61

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-30 This parameter defines the time interval during which NPort 5600 fetches the serial data from its internal buffer. If data is incomin g through the serial port, NPort 5600 stores th e data in the internal buffer. NPort 5600 transmits data stored in the buffer via TCP/IP, but only if[...]

  • Page 62

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-31 Incoming PAP check Setting Factory Defaul t Necessity Y es or No No Optional Depends on whether the re mote user's application requests PAP check. Source IP address Setting Factory Defaul t Necessity Source IP address R equired Destination IP address Setting Factory Defaul t Ne[...]

  • Page 63

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-32 y Only one host with a specific IP address can acce ss the NPort Enter “IP address/255 .255.255.255” (e.g ., “192.168.1.1/255 .255.255.255”). y Hosts on a specific subne t can access the NPort Enter “IP address/2 55.255.255.0” (e .g., “192.168.1 .0/255.255 .255.0”). [...]

  • Page 64

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-33 Auto Warning Settings Auto warning: E-mail and SNMP Trap Mail Server Mail server Setting Factory Defaul t Necessity IP or Domain Nam e None Optional User name Setting Factory Defaul t Necessity 1 to 15 characters None Optional Password Setting Factory Defaul t Necessity 1 to 15 char[...]

  • Page 65

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-34 SNMP Trap Server SNMP trap server IP or domain name Setting Factory Defaul t Necessity IP or Domain Nam e None Optional Event Type Cold start This refers to s tarting the system from powe r off (contrast this with warm start). Wh en performi ng a cold start, NPort will automatically[...]

  • Page 66

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-35 DCD changed The DCD (Data Carrier Detect) signal ha s change d, also indicat ing that the m odem connec tion status has changed . For exampl e, a DCD change to high also means “Connected” betwee n local modem and rem ote modem. If t he DCD si gnal chan ges to low, it also means [...]

  • Page 67

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-36 Monitor Monitor Line Click Line under Monitor to show t he operation m ode and status o f each connection (IPx), for each of the four serial ports. Monitor Async Click Async under Monitor to show the current status of each of the four serial ports.[...]

  • Page 68

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-37 Monitor Async-Settings Click Async Set ting under Monitor to show the run-time settings for each of the four serial ports. Change Password Input the “Old password” and “N ew password” to change the pa ssword. Leave the password boxes blank to erase the password. In this case[...]

  • Page 69

    NPort 5600 Series User’ s Manual Web Console Configura tion 5-38 Load Factory Defaults This function will reset all of NPort’s settings to their factory default values. Be aware that previous settin gs will be lost.[...]

  • Page 70

    6 6 Chapter 6 Configuring NPort Administrator NPort Adm inistrator a nd Web Console a re two power ful tools that ca n be used to configure t he settings of your NPorts. Choose th e method that is most convenient for you. No te that this chapter uses NPort 5230 as an example to introduce the installatio n and configuration of NPort Administ ration [...]

  • Page 71

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-2 Overview NPort Administrator lets you easily install and configure your NPort 5600 Series product o ver the network. N Port Admini strator provides fi ve function g roups that ease the i nstallation pr ocess, allow off-li ne COM m apping, and p rovide m onitoring and IP locatio[...]

  • Page 72

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-3 3. Click Next to instal l the program using the default program nam e, or select a differe nt name. 4. Click Install to proceed with the installation . 5. The Installing window reports th e progress of the installation.[...]

  • Page 73

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-4 6. Read through the installation notes and then click Next to procee d. 7. Click Finish to complete the installation of NPort Administration Suite.[...]

  • Page 74

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-5 Configuration The Admi nistrator-Config uration wi ndow is divi ded into fo ur parts. y The top section c ontains the f unction list a nd online hel p area. (Windows NT does not su pport this .chm file format.) y The five Administrator function groups are listed in the left sec[...]

  • Page 75

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-6 Broadcast Search The Broadcast Search function is used to locate all NPorts that are connect ed to the same LAN as your computer . 1. Since the Broadcast Search function searches by MAC address and not IP address, all NPorts connected to the LAN will be located, regardless of w[...]

  • Page 76

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-7 3. When the search is c omplete, the Broadcast Sear c h window closes, and the NPorts t hat were located are displ ayed in the ri ght pane of the Adm inistrator windo w. For the example sho wn here, NPort Adm inistrator found 4 NP ort Serial Device Serve rs on the LAN. As you c[...]

  • Page 77

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-8 2. Instead, select an NPort with “Lock” status, right click the lo cked NPort, and then select the Unlock button. 3. After entering the correct password, the Administrator will display a message box as shown here. The NPort is now unlocked .[...]

  • Page 78

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-9 4. The previous “Lock” statu s will switch to “Unlock” status. Administrator will keep this NPort in the Unlock status throughout this Ad ministrator session. The six states are as follows (note that the term Fi xed is borrowe d from the stan dard fixed IP address netwo[...]

  • Page 79

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-10 Configuring NPort 5600 1. To start NPort Administrator, click Start Æ NPort A dminist ration Suite Æ NP ort Administrator. 2. Input the password to Unlo ck the NPort. Right click a specific NPort and select confi gure to start the configuration. 3. The progress bar shows tha[...]

  • Page 80

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-11 4. Refer to Chapter 5 for each parameter’s function definition. To modify the configuration, you must first click in the modify box to activate the parameter setting box.[...]

  • Page 81

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-12 ATTENTION You can simultaneously modify th e configurations of multiple NPor t 5600s that are of the same model. To select multiple NPort 5600s, hold down the Ctrl key when selecting add itional NPort 5600s, or hold down the Shif t key to select a group of NPort 5600s. Upgradi[...]

  • Page 82

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-13 3. Wait patiently while the Upgrade Firmware action is being processed. ATTENTION You can simultaneously upgrade the firmware of multiple NPort 5600s that are of the same model. To select multiple NPort 5600s, hold down the Ctrl key when selecting an additional NPort 5600, or [...]

  • Page 83

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-14 2. The Import Configuration function is used to im port an NPort configuration from a file into one or m ore of the same model NPort. To import a configuration, first select the target servers (use the left mouse butto n to select servers; simply hold down t h e Ctrl key whe n[...]

  • Page 84

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-15 4. Click Monitor . 5. Select Add Target . When you select add target, you will see an NPort list th at looks the same as when using Configuration Æ Broadcast Search. 6. Check the NPort you would like to Monitor, and th en click OK .[...]

  • Page 85

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-16 7. The NPort list will now appear on the Monitor screen. 8. Right click t he panel and sele ct Settings . 9. Select or de-select Moni tor Items . Use the single arr owhead butt ons to m ove highlighted items from one box to the other. Use the double arrowhead buttons to move a[...]

  • Page 86

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-17 10. Select a Re fresh Rate (the d efault is 3 seconds). 11. Select Displ ay warning mes sage for new event or Play warning music for new ev ent. In th e second case, you must enter the path to the WAV file that you wan t to be played. “New event” means that one of the 5600[...]

  • Page 87

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-18 12. Ri ght click and sel ect Go to start the Monitor. 13. For this example, the 5 NPorts shown in the list will be monitored. 14. When one of the NPorts loses connection with the Monitor program, a warning alert will display automatically. The warning music will be played at t[...]

  • Page 88

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-19 15. In the M onitor screen, you can see that the “ N ot Alive” NPort is marked with red color. 16. Click the Alive column. The Monitor program will sort the NPort list and put all “No t Alive” NPorts at the top of the list. 17. If t he NPort gets reconnected, a warning[...]

  • Page 89

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-20 Port Monitor 1. The process de scribed here is the same as in the previous “Mon itor” section. The only difference i s that you can select more item s under Port M onitor tha n under Mo nitor. 2. Select or de-se lect Monitor It ems. Use the si ngle arrowhea d buttons t o m[...]

  • Page 90

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-21 On-line COM Mapping 1. Broadcast Search for NPorts on the network. 2. Select the COM Mappin g function grou p. 3. Add the target to which you would like to map COM ports. 4. The NPort list that appears is the list generated by the previous Broadcast Search. Select the NPort to[...]

  • Page 91

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-22 5. Select COM Setting to m odify COM No., default setting, etc. 6. Select the COM No. COM ports that are “In use” or “Assigned” will also be indicated in this drop-down list. If you select multiple serial ports or multiple NPorts, remember to check the “Auto Enumerat[...]

  • Page 92

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-23 Fast Flush (only flus h local buffer) We have adde d one optio nal Fast Flush function to M oxa’s new NP ort Real COM d river. NPort Adm inistrator Suit e for 2G NPort a dds it after version 1.2. For some applications, the user’s program will use th e Win32 “PurgeComm()?[...]

  • Page 93

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-24 7. After setting the COM Mapping, remember to select Apply Ch ange to save the information in the host system registry. The host computer will not have the ability to use the COM port until after Apply Change is selected. 8. Select Discard Ch ange to tell Administrator NOT to [...]

  • Page 94

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-25 Off-line COM Mapping 1. Add a target by entering the IP address and selectin g the Model Name without physically connecting the NPort to th e network. 2. Select Apply chan ge to effect the changes immediately.[...]

  • Page 95

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-26 IP Location When NPort 5600 series products are used in a dynamic IP envi ronment, user s must spend m ore time wit h IP management tasks. NPort 5 600 series product s help out by periodi cally reporting their IP address to the IP location se rv er, in case the dyna mic IP has[...]

  • Page 96

    NPort 5600 Series User’ s Manual Configuring NPort Administra tor 6-27[...]

  • Page 97

    7 7 Chapter 7 IP Serial LIB The following topics are covered in this chapter:  Overview  IP Serial LIB Function Groups  Example Program[...]

  • Page 98

    NPort 5600 Series User’s Manual IP Serial LIB 7-2 Overview What is IP Seri al Library? IP Serial Library is a Windows library w ith freq uently used serial comm and sets and subrouti nes. IP Serial Library is designed to reduce t he comple xity and poor efficiency of serial comm unication over TCP/IP. For exam ple, Telnet can only transfer data, [...]

  • Page 99

    NPort 5600 Series User’s Manual IP Serial LIB 7-3 IP Serial LIB Function Groups Server Control Port Co ntrol I nput/O utput Data Po rt Status Inquiry Miscellaneous nsio_init nsio_end nsio_resetserv er nsio_checkalive nsio_ope n nsio_close nsio_ioctl nsio_flowct rl nsio_DTR nsio_RTS nsio_lctrl nsio_baud nsio_resetp ort nsio_read nsio_SetReadTim eo[...]

  • Page 100

    A A Appendix A Pinouts and Cable Wiring In this appendix, we cover th e following topics.  Port Pinout Diagrams ¾ Ethernet Port Pinouts ¾ Serial Port Pinouts  Cable Wiring Diagrams ¾ Ethernet Cables ¾ Serial Cables for NPort 5610/5650 (RS-2 32) ¾ Serial Cables for NPort 5630 (RS-422/ 4-wire RS-485) ¾ Serial Cables for NPort 5630 (2-wire[...]

  • Page 101

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-2 Port Pinout Diagrams Ethernet Port Pinouts Pin RS-232 1 Tx+ 2 Tx- 3 Rx+ 6 Rx- 18 Serial Port Pinouts RS-232 Port Pino uts for NPort 561 0 Pin RS-232 1 DSR (in) 2 R TS (out) 3 GND 4 TxD (out) 5 RxD (in) 6 DCD (in) 7 CTS (i n) 8 DTR (out ) 18 RS-422/485 Port Pinout s for NPort 5630 Pin R[...]

  • Page 102

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-3 Cable Wiring Diagrams Ethernet Cables Straight-Through Cable RJ45 Plug Pin 1 Cable Wiring 3 3 6 6 1 1 2 2 Cross-Over Cable RJ45 Plug Pin 1 Cable Wiring 3 1 6 2 1 3 2 6 Serial Cables for NPort 5610/5650 (RS-232) RJ45 (8-pins) to Female DB9 NPort 5610 NPort 5650 DSR RTS GND TxD RxD DCD C[...]

  • Page 103

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-4 RJ45 (8-pins) to Male DB9 NPort 5610 NPort 5650 DSR RTS GND TxD RxD DCD CTS DTR RS-232 Device DTR CTS GND RxD TxD DCD RTS DSR Cable Wiring 1 2 3 4 5 6 7 8 6 7 5 3 2 1 8 4 Male DB9 Female DB9 RJ45 Connector RJ45 Port 9 pins 8 pins RJ45 (8-pins) to Female DB25 NPort 5610 NPort 5650 DSR R[...]

  • Page 104

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-5 Serial Cables for NPort 5630 (RS-422/4-wire RS -485) RJ45 (8-pins) to Female DB9 NPort 5630 RS-422/ 4-wire RS-485 Device Cable Wiring 3 4 5 6 7 5 2 3 1 7 Male DB9 Female DB9 RJ45 Connector RJ45 Port 9 pins 8 pins TxD + TxD - RxD - RxD + GND RxD + RxD - TxD - TxD + GND RJ45 (8-pins) to [...]

  • Page 105

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-6 RJ45 (8-pins) to Male DB25 NPort 5630 RS-422/ 4-wire RS-485 Device Cable Wiring 3 4 5 6 7 7 2 3 8 5 Male DB25 Female DB25 RJ45 Connector RJ45 Port 25 pins 8 pins TxD + TxD - RxD - RxD + GND RxD + RxD - TxD - TxD + GND Serial Cables for NPort 5630 (2-wire RS -485) RJ45 (8-pins) to Femal[...]

  • Page 106

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-7 RJ45 (8-pins) to Male DB25 NPort 5630 2-wire RS-485 Device Cable Wiring Male DB25 Female DB25 RJ45 Connector RJ45 Port 25 pins 8 pins 5 6 7 3 8 5 Data - Data + GND Data - Data + GND Serial Cables for NPort 5650 (RS-422/4-wire RS -485) RJ45 (8-pins) to Female DB9 NPort 5650 RS-422/ 4-wi[...]

  • Page 107

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-8 RJ45 (8-pins) to Female DB25 NPort 5650 RS-422/ 4-wire RS-485 Device Cable Wiring 5 7 3 2 8 Male DB25 Female DB25 RJ45 Connector RJ45 Port 25 pins 8 pins 2 3 4 5 6 TxD + GND TxD - RxD + RxD - RxD + GND RxD - TxD + TxD - RJ45 (8-pins) to Male DB25 NPort 5650 RS-422/ 4-wire RS-485 Device[...]

  • Page 108

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-9 RJ45 (8-pins) to Female DB25 NPort 5650 2-wire RS-485 Device Cable Wiring Male DB25 Female DB25 RJ45 Connector RJ45 Port 25 pins 8 pins 3 5 6 7 2 8 GND Data + Data - GND Data + Data - RJ45 (8-pins) to Male DB25 NPort 5650 2-wire RS-485 Device Cable Wiring Male DB25 Female DB25 RJ45 Con[...]

  • Page 109

    NPort 5600 Series User’ s Manual Pinouts and Cable Wiring A-10 Pin Assignments for DB25 Male and Female Connectors DB25 Male Connector DB25 Female Connector 1 2 TxD (out) 3 RxD (in) 4 RTS (out) 5 CTS (in) 6 DSR (in) 7 GND 8 DCD (in) 13 DTR (out) 20 25 14 1 RxD (in) 2 TxD (out) 3 CTS (in) 4 RTS (out) 5 DTR (out) 6 GND 7 DCD (in) 8 13 20 DSR (in) 2[...]

  • Page 110

    B B Appendix B Well Known Port Numbers In this appendix, which is in cluded for your re ference, we pr ovide a list of Well Known p ort numbers that may cause network problems if you set NPort 560 0 to one of these ports. Refer to RFC 1700 for Well Known port numbers, or refer to the follo wing introduction from the IANA. The port num bers are divi[...]

  • Page 111

    NPort 5600 Series User’ s Manual Well Known Port Numbers B-2 TCP Socket Application Service 53 Domain Nam e Server (dom ain) 79 Finger protocol (Finger) 80 W orld W ide W eb HTTP 1 19 Network ne ws T ransfer Proto col (NNTP) 123 Network T im e Protocol 213 IPX 160 – 223 Reserve d for future use UDP Socket Application Service 0 reserved 2 Manage[...]

  • Page 112

    C C Appendix C SNMP Agent with MIB II & RS-232 Like Group NPort 5600 has built-in SNMP (Simple Network Management Protocol) ag ent software. It supports SNMP Tr ap, RFC1317 RS-232 lik e group and RFC1213 MIB-II. The fo llowing table lists the standard MIB-II group, as well as the variable implementation for NPort 5600. RFC1213 MIB-II supp orted[...]

  • Page 113

    NPort 5600 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group C-2 System MIB Interfaces MIB IP MIB ICMP MIB ifOutQLen ipAdEntNetMask IcmpOutT imestamps ifSpecific ipAdEntBcastAddr IcmpOutT imestampReps ipAdEntReasmMaxSi ze IcmpOutAddrMasks IpNetT oMediaIfIn dex IcmpOutAddrMaskReps IpNetT oMediaPhysAddress IpNetT oMediaNetAddress [...]

  • Page 114

    NPort 5600 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group C-3 Addre ss T ranslatio n MIB TCP MIB SNMP MIB snmpOutGetResponses snmpOutT raps snmpEnableAuth enT raps RFC1317: RS-232 MIB objects Generic RS-232-like Group RS-232-like General Port Ta b l e RS-232-like Asynchr onous Port Gr oup rs232Number rs 232PortT ab le rs232As[...]

  • Page 115

    D D Appendix D Auto IP Report Protocol NPort Series provides sev eral ways to conf igure Ethernet IP addresses. One of them is DHCP Client. When you set u p the NPort to us e DHCP Clie nt to configure Ethernet IP addresses, it will automatically send a DHCP request over the Ethe rnet to find the DHCP Server. And then the DHCP Server will send an av[...]

  • Page 116

    NPort 5600 Series User’ s Manual Auto IP Report Protocal D-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 you r own programs. Y ou can find t his example on M oxa’s websi te. Auto IP Repo rt Format “Moxa” , [...]