Home

NPort 5100A Series User`s Manual

image

Contents

1. 10 If the NPort 5100A gets reconnected a warning will be displayed to remind the user that the NPort 5100A is now Alive Alert New Monitor Event 1 Event s Please check Monitor message window for more information 2010 2 28 FF 12 19 12 NPort 51504 192 168 127 254 is alive again 11 The NPort 5100As that were reconnected and are now Alive will be shown in black color lt NPort dministrator Monitor BEA File Function Monitor View Help ia pas a Exit Add Remove Stop Monitor Running 1 NPort s No Model MAC Address IPAddress Aive NPor 5150A 193 166 107 25d Function NPort amp Configuration Monitor Port Monitor tt COM Mapping Q IP Address Report 00 90 E8 99 31 25 6 15 NPort 5100A Series User s Manual Configuring NPort Administrator Port Monitor The process described here is the same as in the previous Monitor section The only difference is that you can select more items under Port Monitor than under Monitor lt NPort dministrator Port Monitor Seles File Function PortMonitor View Help F al a Exit Add Remove Go Function Port Monitor Stopped 1 Port s NPort No Model MAC Address IP Address Port OP Mode Configuration Mi NPort 51504 00 90 9 99 31 25 192 168 127 254 1 Real COM Mode Monitor itis COM Mapping Q IP Address Report Select or de select Monitor Items U
2. lt NPort Admimistator COM Mapping DER File Function COM Mapping View Help 2 A a Emit Add Remove Apply Configure Function COM Mapping 1 COM g NPort No Model IPAddress Pot COM Port Mode i Configuration NPort 51504 a C Hi Perfornance FIFO Er E Monitor lt Add Target Port Monitor Remove Target i COM Mapping AR IP Address Report Enable Disable ff COM Settings EY Apply Change Dixan Change l sha 11 To save the configuration to a text file select Export COM Mapping You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host s NPort Adminishator COM Mapping E ER 1 File Function COM Mapping View Help a Exit Add Remove Apply Configure Function COM Mapping 1 COM IEA NPort No Model IPAddress Pot COM Port Mode i Configuration Goo Port 51504 En ed e COMA Hi Pertomance FIFO En Monitor Add Target i Fort Monitor a i COM Mapping Sper Ree wo P Address Report Enable Disable E COM Settings E Apply Change Discard Change X ExportCOM Mapping Import COM Mapping 6 20 NPort 5100A Series User s Manual Configuring NPort Administrator Off line COM Mapping 1 Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort 5100A to the network Add Port Select From L
3. cccsesseeeeeceeesseeeeeeeensseeeeeeeeaneeeeeaeeeaneeeees B 1 SNMP Agents with MIB Il amp RS 232 422 485 Link Groups 000es C 1 Auto IP Report ProtoCol asssnssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnn D 1 C Mpliante NOUGCC niniin a aa E 1 1 Introduction NPort 5100A and NPort 5100A T are advanced 1 port RS 232 422 485 serial device servers that make it easy to network enable serial devices The following topics are covered in this chapter LJ Overview LJ Package Checklist LJ Product Features LJ Product Specifications NPort 5100A Series User s Manual Introduction Overview NPort 5100A series device servers are designed to make your industrial serial devices Internet ready instantly The compact size of NPort 5100A device servers makes them the ideal choice for connecting your RS 232 422 485 serial devices such as card readers and payment terminals to an IP based Ethernet LAN making it possible for your software to access serial devices located anywhere on a local LAN or the Internet NPort 5100A supports several operation modes including TCP Server TCP Client UDP Server Client Pair Connection and Ethernet Modem ensuring the compatibility of network software that uses a standard network API Winsock BSD Sockets In addition NPort s Real COM TTY drivers allow you to set up your COM TTY port software to work over a TCP IP network in no time This excellent feature preser
4. fe Device A ATTENTION The driver used for Real COM Mode is bundled with NPort Administrator The driver is installed on your computer automatically when you install NPort Administration Suite 4 2 NPort 5100A Series User s Manual Choosing the Proper Operation Mode One of the major conveniences of using Real COM Mode is that Real COM Mode allows users to continue using RS 232 422 485 serial communications software that was written for pure serial communications applications The driver intercepts data sent to the host s COM port packs it into a TCP IP packet and then redirects it through the host s Ethernet card At the other end of the connection the NPort 5100A accepts the Ethernet frame unpacks the TCP IP packet and then sends it transparently sends it to the appropriate serial device attached to one of the NPort 5100A s serial ports A ATTENTION Real COM Mode allows several hosts to have access control to the same NPort 5100A The driver that comes with your NPort 5100A controls host access to attached serial devices by checking the host s IP address Refer to the Accessible IP Settings section of Chapter 5 for more details RFC 2217 Mode RFC 2217 mode is similar to Real COM mode in that a driver is used to establish a transparent connection between a host computer and a serial device by mapping the serial port on the NPort 5100A to a local COM port on the host computer RFC 2217 defines general COM p
5. 500 20000 me b Fast Flush Only Flush Local Butter af OK 3 Cancel 8 The Serial Parameter settings shown here are the default settings when the NPort 5100A is powered on However the program can redefine the serial parameters to different values after the program opens the port via Win 32 API COM Port Settings Port Number 1 Forte Selected 1st port is Port 1 Basic Settings Advanced Settings Serial Parameters COM Grouping Baud Rate Parity Data Bits Stop Bits Flow Control None af OK 3 Cancel 6 19 NPort 5100A Series User s Manual Configuring NPort Administrator 9 After setting the COM Mapping remember to select Apply Change 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 lt NPort Admimistator COM Mapping BR File Function COM Mapping View Help nr 2 a Emit Add Remove Apply Configure Function COM Mapping 1 COM By NPort No Model IPAddress Port COM Port Mode i Configuration OoOO NPort 51504 a O Hi Pertomance FIFO Er Monitor e2 Add Target Fort Monitor E Remove Torei i COM Mapping AR IP Address Report Enable Disable ff COM Settings ml Apply Change Discard Change 10 Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host
6. NPort 5100A Series User s Manual Configuring NPort Administrator IP Address Report When NPort 5100A is used in a dynamic IP environment users must spend more time with IP management tasks NPort 5100A Series products help out by periodically reporting their IP address to the IP location server in case the dynamic IP has changed 1 Configure the NPort 5100A with Dynamic IP settings DHCP BOOTP or DHCP BOOTP Assign the remote Auto IP report server s IP address and UDP port Confizuraton Information Accessible IPs Auto Warming IF Address Report Password Model Mame Network NPort 51504 Sue Serial Operating Mode Modify MAC Address 00 90 68 99 31 25 192 169 127 254 Serial Number wt Modity A Netmask 255 255 2550 Gateway Firmware Version Ver 1 0 IP Configuration DAS Server 1 System Uptime DNS Server 2 0 days 00h Dam H Modify public Click the Modify check box to modify configuration y OF x Cancel 2 Select the IP Address Report and click the right mouse button to select Settings NPort Administrator IP Address Report DE File Function IF Address Report View Help F gt Exit Settings Go Function IP Address Report Stopped Port 4002 0 N Part MAC Address IP Address Count Previous Time E Configuration Monitor ET Port Monitor i fie COM Mapping AE IP Address Report 3 Configure the Local Listen Port to be the s
7. MAC Address IP Address Server Name Status Configuration NPort 51504 00 90 68 99 31 25 192 465 127 254 NP51504_ 71 Monitor Port Monitor A COM Mapping Q IP Address Report Broadcast Search Specify by IP Address pL Bx BP ID a a Oo E a 3 a iz o NPort 5100A Series User s Manual Configuring NPort Administrator 3 The progress bar shows that Administrator is retrieving configuration information from the specific NPort 5100A TT x Please wait EERREERRRRRRRRE 26 7 29 89 XM Cancel 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 Configuration Information Accessible IPs AutoWaming IP Address Repot Password Model Name f i NPort 51504 i Network Serial Operating Mode MAC Address Modify l 00 90 E8 99 31 25 c NP51504_71 Serial Number 71 Y 5 7 Date 20007 FEA l Firmware Version Ver 1 0 EF 12 00 00 T System Uptime 0 days 00h 27m 38s Modify Click the Modify check box to modify configuration Jf OK x Cancel ATTENTION You can simultaneously modify the configurations of multiple NPort 5100As that are of the same model To select multiple NPort 5100As hold down the Ctrl key when selecting additional NPort 5100As or hold down the Shift key to select a group of NPort 5100A
8. Map COMs to your host gt Apply Change gt Connect the NPort 5100A to the network gt Configure NPort 5100A s IP address 6 16 NPort 5100A Series User s Manual Configuring NPort Administrator On line COM Mapping 1 Broadcast Search for NPort 5100As on the network 4 NPort dministrator Configuration File Function Configuration View Help ial 2 Exit Search Search IP Configuration 0 NPort s No 7 Modei MAC Address IP Address Status Function By NPort Configuration Monitor T 7 Port Monitor S _ Broadcast Search fig COM Mapping GR Specify by IP Address 9 IP Address Report St File Function COM Mapping View Help F 2 am Exit Add Remove Apply Pancion COM Mapping 0 COM a NPort No Model IPAddress Port COMPort__ Mode Configuration Monitor Port Monitor iti COM Mapping Q IP Address Report File Function COM Mapping View Help F 2 p a Exit Add Remove Apply COM Mapping 5 o ComM No Model IP Address Port COM Port Mode ri Configuration Monitor aa i Fort Monitor Add Target iti COM Mapping 25 E Q IP Address Report 4 The NPort 5100A list that appears is the list generated by the previous Broadcast Search Select the NPort 5100A to which you would like to map COM ports Add NPort Select From List Rescan Select All Clear All No
9. Model MAC Address IP Address 1 NPort 51504 00 90 E8 99 31 25 192 168 127 254 5 Select COM Settings to modify COM No default setting etc 4 NPort dminishator COM Mapping File Function COM Mapping View Help i a m if Exit Add Remove Apply Configure Function COM Mapping 1 COM NPort No Modi fi IP Address aes COM Port Mode i Configuration NPort 51504 Hi Performance FIFO En Monitor 2 Add Target Port Monitor 2 Remove Target MA COM Mapping Q IP Address Report Enable Disable E amp P COM Settings COM E amp P COM Settings Gy Apply Change 6 17 NPort 5100A Series User s Manual Configuring NPort Administrator 6 Select the COM Number 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 NPort 5100As remember to check the Auto Enumerating function to use the COM No you select as the first COM No COM Port Settings l COM Port Settings Port Number 1 Paortls Selected 1st port is Port 1 Port Number 2 Port s Selected 1st port is Port 1 Basic Settings Advanced Settings Serial Parameters COM Grouping Basic Settings Advanced Settings Cemal Parameters COM Grouping COM Number COMA current assigned COM Number ns Pa COMA current assigned w Auto enumerating COM number for selected ports Grouping se
10. Web Console Configuration WwWww moxa com MAC Address 00 90 E8 99 31 25 NPort 51504 IP NP5150A_71 Serial NO Main Menu y Network Settings Overview Quick Setup IP address Exportlmport Netmask Basic Settings Gateway Network Settings Serial Settings IP configuration Operating Settings DNS server 1 Accessible IP Settings DNS server 2 Auto Warning Settings Upgrade Firmware SNMP Settings Monitor Change Password SNMP Load Factory Default Community name Save Restart Contact Location IP Address Report Auto report to IP Auto report to UDP port Auto report period Firmware Settings 192 168 127 253 255 255 255 0 Static Enable Disable public L 4002 10 seconds You must assign a valid IP address to the NPort 5100A before it will work in your network environment Your network system administrator should provide you with an IP address and related settings for your network The IP address must be unique within the network otherwise the NPort 5100A will not have a valid connection to the network First time users can refer to Chapter 3 Initial IP Address Configuration for more information You can choose from four possible IP Configuration modes Static DHCP DHCP BOOTP and BOOTP located under the web console screen s IP configuration drop down box IP configuration Method Function Definition User defined IP
11. AT Commands NPort 5100A supports the following common AT commands used with a typical modem AT command Description Remarks m ATD lt IP gt lt Port gt Dial up the IP address Port No s ATE1 Echo ON default ATHO On hook default ATH1 Off hook s aro _ Onlinecommand SSCs 10 ATQ ATQI Quiet command defauit ATQ 13 ATV Result code type ATVO for digit code ATV 1 for text code 1 connect default 2 ring 3 No carrier 4 error 14 ATZ Reset disconnect enter command mode and restore the flash settings 15 AT amp C Serial port DCD control AT amp CO DCD always on AT amp C1 DTE detects connection by DCD on off default 16 AT amp D Serial port DTR control AT amp DO0 recognize DTE always ready AT amp D1 AT amp D2 reply DTE when DTR On default 7 arer Restore manufacturer s settings Ee AT amp W Write current settings to flash for next boot ee 5 32 NPort 5100A Series User s Manual Web Console Configuration S Registers 1 so Ring to auto answer default 3 s2 Escape code character Wefan Asen OOOO a ss Remm character efust 13 ASC 5 s Line feed character default 10 Asem 6 ss Backspace character aetates Asc 8 s7 Wait time for carrier fault 3 unit se 9 s8 Pause time for dial delay atways 2 unites no acion applied 1 S10 Delay for hang up after carrier no action applied always 14 unit 1 10 sec DTMF duration and spacing always 100 ms no action applied 13 S12 Escape
12. Change Password Load Factory Default Save Restart Server name Setting Factory Default 1 to 39 characters NP model name _ Serial No Optional This option is useful for specifying the location or application of different NPort 5100As NPort 5100A Series User s Manual Web Console Configuration Web Telnet Console A The Disable option for Web Console and Telnet Console 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 unauthorized users from accessing your NPort 5100A The factory default for both Web console and Telnet console is Enable Web console Setting Factory Default Necessity Enable or Disable Required Telnet console Setting Factory Default Necessity Enable or Disable Required ATTENTION If you disable both the Web console and Telnet console you can still use NPort Administrator to configure NPort 5100A device servers either locally or remotely over the network Refer to Chapter 6 for more details Reset button protect Setting Factory Default Necessity NOTE Select the Yes option to allow limited use of the Reset Button In this case the Reset Button can be used for only 60 seconds I e 60 seconds after booting up the Reset Button will be disabled automatically NPort 5100A Series User s Manual Network Settings Total Solution for Industrial Device Networking
13. Data Data GND RS 485 4 wire Tx Tx Rx Rx GND 15 KV ESD for all signals Level 1 Surge EN61000 4 5 ADDC Automatic Data Direction Control Level 2 Burst EFT EN61000 4 4 Level 3 Surge EN61000 4 5 Watch Dog Timer Serial Communication Parameters Parity Data Bits None Even Odd Space Mark 5 6 7 8 NPort 5100A Series User s Manual Introduction Stop Bit Flow Control Software Features Protocols Utilities OS Drivers Support Configuration Power Requirements Power Input Power Consumption Mechanical Casing Dimensions W x H x D Environment Operating Temperature Storage Temperature Regulatory Approvals EMC Safety WARRANTY Pa es RTS CTS and DTR DSR for RS 232 only XON XOFF ICMP IP TCP UDP DHCP BOOTP Telnet DNS SNMP HTTP SMTP NPort Administrator for Windows 98 ME NT 2000 X P 2003 Vista 2008 7 XP x64 2003 x64 Vista x64 2008 x64 7 x64 Real COM drivers for Windows 95 98 ME NT 2000 XP 2003 Vista 2008 7 XP x64 2003 x64 Vista x64 2008 x64 7 x64 Real TTY driver for Linux 2 4 x 2 6 x kernel Fixed TTY drivers for SCO Unix SCO OpenServer 5 OpenServer 6 UnixWare 7 UnixWare 2 1 SVR4 2 QNX 4 25 QNX 6 Solaris 10 FreeBSD 5 FreeBSD 6 Web Browser Serial Telnet Console or Windows Utility 12 to 48 VDC NPort 5110A 82 5 mA 12V 47 3 mA 24V NPort 5130A 89 1 mA 12V 49 5 mA 24V NPort 5150A 92 4 mA 12V 52 8 mA 24V Aluminu
14. If you can t remember the password the ONLY way to start configuring the NPort 5100A is to load factory defaults by using the Reset button located near the NPort 5100A s RJ45 Ethernet port Remember to export the configuration file when you have finished the configuration After using the Reset button to load factory defaults your configuration can be easily reloaded into the NPort 5100A by using Import function ATTENTION If your NPort 5100A application requires using password protection you must enable the cookie function in your browser If the cookie function is disabled you will not be allowed to enter the Web Console Screen 5 3 NPort 5100A Series User s Manual Web Console Configuration Quick Setup Quick Setup streamlines configuration of your NPort into three basic andquick steps that covers the most commonly used settings At any time while in Quick Setup you may click the Back button to return to the previous step or the Cancel button to reverse all settings For more detailed settings please refer to the Basic Settings Network Settings Serial Settings and Operating Settings sections later in this chapter KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP 254 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Step 1 3 Server Settings Server name NP5S1i504_71 Network Settings IP se
15. MAC Address 00 90 E8 99 31 25 NP5150A_71 7 Firmware Step 3 3 Serial Settings Baud rate 115200 v Data bits 8 w Stop bits 1 Parity None w Interface RS 232 v In the Step 3 3 you can modify the serial settings MOXN Total Solution for Industrial Device Networking www moxa com NPort 51504 IP 25 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO l Firmware Finish Settings Your changes have not been saved Please check that your settings in the following and click Save Restart for the updates to take effect or click Back to modify it Basic Settings Server name NP5150A_71 Network Settings IP settings Static IP 192 168 127 253 Netmask 255 255 255 0 Gateway Operation Mode Settings Mode RealCOM Parameters Serial Settings Baudrate 115200 Parameters Data bits 8 Stop bits 1 Parity None Interface RS 232 Review your settings at the Finish Settings page to confirm that they are correct and then click the Save Restart button to restart the device with the new settings MOXN Total Solution for Industrial Device Networking www moxa com NPort 5150A 15 MAC Address 00 90 E8 9 Serial NO 7 Firmware 1 0 Build 100 Settings saved Restarting Home Note that if you changed the IP address you will not be able to return to the Home Page with the Home button 5 5 NPort 5100A Series User s Manual Web Console Configuration Ex
16. send a character is 10 bits and the time required to transfer one character 1s 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set Force transmit timeout to be larger than 8 3 ms so in this case it must be greater than or equal to 10 ms If the user wants to send a series of characters in the same packet the serial device attached to NPort 5100A should send that series of characters during a time interval less than the Force transmit timeout for NPort 5100A and the total length of data must be less than or equal to NPort 5100A s internal buffer size The serial communication buffer size for NPort 5100A is 1 KB per port Destination IP address 1 Setting Factory Default IP address range Begin Empty E g Begin 192 168 1 1 End Empty Required End 192 168 1 10 Port 4001 5 28 NPort 5100A Series User s Manual Web Console Configuration Destination IP address 2 3 4 Setting Factory Default IP address range Begin Empty E g Begin 192 168 1 11 End Empty Optional End 192 168 1 20 Port 4001 Local listen port Setting Factory Default 1 to 65535 4001 The UDP port that NPort 5100A listens to and that other devices must use to contact NPort 5100A To avoid conflicts with well known UDP ports the default is set to 4001 UDP Multicast A multicast is a packet sent by one host to multiple hosts In multicast each host that belongs to a specific multicast group will receive mul
17. 100 Mbps Ethernet connection Off Ethernet cable is disconnected Orange Serial port is receiving data Tx Rx Serial port is transmitting data Off No data is being transmitted or received through the serial port Adjustable Pull High Low Resistor for RS 485 Port In some critical environments you may need to add termination resistors to prevent the reflection of serial signals When using termination resistors it is important to set the pull high low resistors correctly so that the electrical signal is not corrupted Since a particular pull high low resistor value cannot fit all environments the NPort 5150A 5130A uses jumpers to set the pull high low resistor values for each serial port To set a pull high low resistor to 150 KQO make sure that the two jumpers JP3 and JP4 assigned to the serial port are not shorted by jumper caps This is the default setting To set a pull high low resistor to 1 KQO make sure that the two jumpers JP3 and JP4 assigned to the serial port are shorted by jumper caps 2 3 NPort 5100A Series User s Manual Getting Started ATTENTION Do not use the 1 KQ setting on the NPort 5150A when using the RS 232 interface Doing so will degrade the RS 232 signals and shorten the maximum allowed communication distance NPort 5150A 5130A Jumpers OGOOGO 2 4 3 Initial IP Address Configuration When setting up your NPort 5100A for the first time you should first configure
18. 5100A assumes that the connection was closed down unintentionally NPort 5100A will then force the existing TCP connection to close 5 23 NPort 5100A Series User s Manual Web Console Configuration A ATTENTION The Inactivity time should at least be set larger than that of Force transmit timeout To prevent the unintended loss of data due to the session being disconnected it is highly recommended that this value is set large enough so that the intended data transfer is completed A ATTENTION Inactivity time is ONLY active when TCP connect on is set to Any character Ignore jammed IP Setting Factory Default No or Yes No Optional Previously when Max connections gt 1 and the serial device is transmitting data if any one of the connected hosts is not responding it will wait until the data has been transmitted successfully before transmitting the second group of data to all hosts Currently if you select Yes for Ignore jammed IP the host that is not responding will be ignored but the data will still be transmitted to the other hosts Packing length Setting Factory Default Necessity Default 0 The Delimiter Process will be followed regardless of the length of the data packet If the data length in bytes matches the configured value the data will be forced out The data length can be configured for 0 to 1024 bytes Set to 0 if you do not need to limit the length Delimiter 1 Setting Factory De
19. 5100A can disconnect automatically from the host computer by using the TCP alive check time or Inactivity time settings Refer to Chapter 5 for detailed configuration instructions TCP Client As illustrated in the figure data transmission proceeds as follows OR t l The NPort 5100A configured for TCP Client Gav hection Mode requests a connection from the host Proceed with RS 232 2 Once the connection is established data can data transmission Device be transmitted in both directions from the l l host to the NPort 5100A and from the NPort 51004A to the host UDP Mode Compared to TCP communication UDP is faster UDP Mode and more efficient In UDP mode you can unicast or multicast data from the serial device to one or multiple host computers and the serial device can also receive data from one or multiple host computers making this mode ideal for message display applications Directly proceed with SE data transmission no connection required TCP IP Ethernet RS 232 Device Pair Connection Mode Pair Connection Mode employs two NPort 5100A in tandem and can be used to remove the 15 meter distance limitation imposed by the RS 232 interface One NPort 5100A is connected from its RS 232 422 485 port to the COM port of a PC or other type of computer such as hand held PDAs that have a serial port and the serial device is connected to the RS 232 422 485 port of the other NPort 5100A The two NP
20. B Daime o po 70 Domain Name Server domain Trivial Transfer Protocol TETP a Gopher Protocol 79 Finger Protocol World Wide Web HTTP Remote Telnet Service i an Sun Remote Procedure Call Sunrpc Login Host Protocol Login Network News Transfer Protocol NNTP Network Time Protocol NTP SNMP Simple Network Mail Protocol aooo IPX Used for IP Tunneling 107 111 119 123 161 162 213 B 2 C SNMP Agents with MIB II amp RS 232 422 485 Link Groups NPort 5100A has built in SNMP Simple Network Management Protocol agent software that supports SNMP Trap RFC1317 RS 232 422 485 like groups and RFC 1213 MIB II The following table lists the standard MIB II groups as well as the variable implementation for NPort 5100A RFC1213 MIB II supported SNMP variables System MTB SysName NPort 5100A Series User s Manual SNMP Agents with MIB II amp RS 232 422 485 Link Groups P___fipAdnReasmMaxSize _ TempOutAddrMasks Fperromeaiattindex _ TempOutadrMaskReps Tiperroteciaphysaaress a oo IpNetToMediaNetAddress UdpInDatagrams tcpRtoAlgorithm snmpInPkts tcpConnState snmpInGetRequests tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress tcpConnRemPort snmpInTraps C 2 NPort 5100A Series User s Manual SNMP Agents with MIB II amp RS 232 422 485 Link Groups RFC1317 RS 232 422 485 MIB objects Generic RS 232 422 485 like RS 232 422 485 like General RS 2
21. Default Necessity Do Nothing Delimiter 1 Delimiter 2 Strip Delimiter Do Nothing Optional Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted 1 e stripped and the remaining data is transmitted Do nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default 0 Disable the force transmit timeout 1 to 65535 Forces the NPort 5100A s TCP IP protocol software to try to pack serial data received during the specified time into the same data frame This parameter defines the time interval during which NPort 5100A fetches the serial data from its internal buffer If data is incoming through the serial port NPort 5100A stores the data in the internal buffer NPort 5100A transmits data stored in the buffer via TCP IP but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout The optimal Force transmit timeout depends on your application but it must be at least larger than one character interval within the specified baudrate For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to
22. Hent Modesa een e ete anette ate Tene tee er ewe re tnarer cert rer ten rst ener nee eeiwar Te 5 23 UDP MOUS ren E RS en cane ys apie meant rae NRT ce inner Nene eee OE 5 27 UDP MOITIC AST ss ccy sesseraescnnctsnetesanncancen ease ermd abatnindasee E 5 29 Par ONMECUION VIOUS ei ed 5 29 Chapter 6 Chapter 7 Appendix A Appendix B Appendix C Appendix D Appendix E Ethernet Modem Mode 2 ccccscesceccecceccscceccscesccceccecescescescesescescescesessescescesens 5 31 Reverse Temet Mode sy cxtanseonccuntislowseicissved an tautenvon E T 5 33 Drabbad NOMS ssa tse dapenadainatia cg dene nats E N E A E 5 34 Accessible EP SEMIN Sand ic rahes th cams sa a e ones ni nda vewlak aveshinsneuads dass udsiauttwecet 5 35 AUO Warnie SENA S seeni aE E E E EE 5 36 Auto warning Email and SNMP trap eesssesssssssesseeeenesssessssssssssecereeesssssssssssssssee 5 36 DV Ne B E A A E TN ETO PREE E E I A nada oe teak 5 37 A RAC EET Wie cii A E T A T 5 39 MONOT sonerie ee EE 5 39 Monitor LIne erena aE E OOTO OOOO 5 39 MODORA S YI oana E 5 40 Montor Asyne SSME Skea a ee a a 5 40 Chame S PASC WOP aie e E E EE 5 41 Gad Factory IDG au tenrian a aa a EE et sawech cian dew tacnuasks 5 41 Configuring NPort Administrator ccccceessessseeeeesseeeceeeseeeseeeneeeees 6 1 OCLC Wy anaE mane seh a eng teas eae sense ah eat ines ase ea le enseae ve te eeesesneae oe 6 2 Installing NPort Administrator o2cit cies tideuiaieeashcaveedes ec ches
23. Setting Factory Default Necessity 1 to 65535 4001 Required The Local TCP port is the TCP port that NPort 5100A uses to listen to connections and that other devices must use to contact NPort 5100A To avoid conflicts with well known TCP ports the default is set to 4001 Command port Setting Factory Default The Command port is a listen TCP port for IP Serial Lib commands from the host In order to prevent a TCP port conflict with other applications the user can set the Command port to another port if needed P Serial Lib will automatically check the Command Port on NPort 5100A so that the user does not need to configure the program 5 22 TCP Client Mode NPort 5100A Series User s Manual IP Serial NO Total Solution for Industrial Device Networking Web Console Configuration WwWww moxa com MAC Address 00 90 E8 99 31 25 Firmware 1 0 Build 10022314 Main Menu Port 1 Overview Quick Setup Operation mode TCP Client v Exportlmport TCP alive check time 7 0 99 min Basic Settings Network Settings Operation Modes Inactivity time K0 65535 ms Serial Settings Ignore jammed IP No Oves Port1 Destination IP address 1 Port 4001 Operating Settings Destination IP address 2 Port 4001 Port 1 oe ANN Destination IP address 3 Port 4001 Accessible IP Settings Jestinati f as gate Naming Settings Destination IP address 4 Port 4001 Upgrade Firmware Designated local port 1 5011 Moni
24. Settings d Pone Upgrade Firmware Flow control RTS CTS vi Monitor FIFO Enable Disable Change Password interface RS 232 x Load Factory Default Port alias Setting Factory Default 1 to 15 characters None Optional E g PLC No 1 Port alias is included to allow easy identification of the serial devices that are connected to NPort 5100A s serial port 5 12 NPort 5100A Series User s Manual Web Console Configuration Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device s user s manual You should set up NPort 5100A s serial parameters with the same communication parameters used by your serial devices Baudrate Setting Factory Default Necessity 50 bps to 921 6 Kbps 115 2 Kbps Required Data bits Setting Factory Default Necessity 5 6 7 8 Required When the user sets Data bits to 5 bits the Stop bits setting will automatically change to 1 5 bits Stop bits Setting Factory Default Necessity 1 1 5 2 Required Stop bits will be set to 1 5 when Data bits is set to 5 bits Parity Setting Factory Default Necessity None Even Odd Space Mark None Required Flow control Setting None RTS CTS DTR DSR Xon Xoff Factory Default RTS CTS Necessity Required FIFO Setting Enable Disable Factory Default Enable Necessity Required NPort 5100A s serial ports provide a 16 byte FIFO both in t
25. all of the hosts Ethernet data is sent on a first in first out basis to the serial port when data comes into NPort 5100A from the Ethernet interface Ignore jammed IP Setting Factory Default Previously when Max connections gt 1 and the serial device is transmitting data if any one of the connected hosts is not responding it will wait until the data has been transmitted successfully before transmitting the second group of data to all hosts Currently if you select Yes for Ignore jammed IP the host that is not responding will be ignored but the data will still be transmitted to the other hosts Allow driver control Setting Factory Default 5 20 NPort 5100A Series User s Manual Web Console Configuration A If max connection is greater than 1 the NPort will ignore driver control commands from all connected hosts However 1f you set Allow driver control to YES control commands will be accepted Note that since the NPort 5100A may get configuration changes from multiple hosts the most recent command received will take precedence Packing length Setting Factory Default Necessity Default 0 The Delimiter Process will be followed regardless of the length of the data packet If the data length in bytes matches the configured value the data will be forced out The data length can be configured for 0 to 1024 bytes Set to 0 if you do not need to limit the length Delimiter 1 Setting Fa
26. computer and operation modes that rely on TCP IP socket programming concepts After choosing the proper operation mode in this chapter refer to Chapter 5 for detailed configuration parameter definitions The following topics are covered in this chapter Overview Real COM Mode RFC 2217 Mode TCP Server Mode TCP Client Mode UDP Mode Pair Connection Mode Ethernet Modem Mode Reverse Telnet Mode Disabled Mode DOUUWUUWOOOOUL NPort 5100A Series User s Manual Choosing the Proper Operation Mode Overview NPort 5100A serial device servers network enable traditional RS 232 422 485 devices in which a serial device server is a tiny computer equipped with a CPU real time OS and TCP IP protocols that can bi directionally translate data between the serial and Ethernet formats Your computer can access manage and configure remote facilities and equipment over the Internet from anywhere in the world Traditional SCADA and data collection systems rely on serial ports RS 232 422 485 to collect data from various kinds of instruments Since NPort 5100A Serial Device Servers network enable instruments equipped with an RS 232 422 485 communication port your SCADA and data collection system will be able to access all instruments connected to a standard TCP IP network regardless of whether the devices are used locally or at a remote site The NPort 5100A is an external IP based network device that allows you to expand the number of serial po
27. data received is greater than 1 KB the NPort 5100A will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly Delimiter process Setting Factory Default Necessity Do nothing Delimiter 1 Delimiter 2 l l Strip Delimiter Do Nothing Optional Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted 1 e stripped and the remaining data is transmitted Do nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default 0 Disable the force transmit timeout 1 to 65535 Forces the NPort 5100A s TCP IP protocol software to try to pack serial data received during the specified time into the same data frame This parameter defines the time interval during which NPort 5100A fetches the serial data from its 5 16 NPort 5100A Series User s Manual Web Console Configuration internal buffer If data is incoming through the serial port NPort 5100A stores the data in the internal buffer NPort 5100A transmits data stored in the buffer via TCP IP but only if the internal buffer i
28. gt c6 gt CY LR co ta thb cco qd cu cm tq IP address Hetmask Gateway IP configuration DNS server 1 DNS server 2 SNMP SNMP SNMP SNMP Auto Auto Auto View Back Quit contact location IP report to IP report to settings to main menu community name IP UDP port IF report period Key in your selection ma 9 Type s and then press Enter to Save Restart the system K lt Main menu gt gt 1 gt Basic settings 2 gt Metwork settings C3 gt Serial settings 4 Operating setting 5 gt Accessible IP set 6 gt fAluto warning sett Y Monitor c8 gt Ping 9 gt Change password fa Load factory defa cud View settings s gt Save Restart tg Quit Key in your selection tings ings ult us 3 5 Initial IP Address Configuration NPort 5100A Series User s Manual Initial IP Address Configuration 10 Type y and then press Enter to save the new IP address and restart the NPort 5100A Save change cy Yes cn Mo Key in your selection yo Serial Console 19200 n 8 1 NPort 5110A 5150A only You may use the RS 232 console port to set up the IP address for NPort 5100A We suggest using PComm Terminal Emulator which is available free of charge as part of the PComm Lite program suite found on the Software CD that comes with the product to carry out the installation procedure although other similar utilities may also be used Before you start to
29. import a configuration first select the target servers click the right mouse button and then select Import Configuration Follow the onscreen instructions to locate the configuration file and start downloading the file lt NPort dministator Configuration E File Function Configuration View Help F 2 pe Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort MAC Address IP Address Server Name Configuration TN Port 51508 a eee 27 254 NP5T5S04 71 Monitor 2 Broadcast Search Ea ene Zk Specify by IP Address iti COM Mapping Q IP Address Report EE Locate z0 Unlock Configure E Web ge Upgrade Firmware A Export Configuration Import Configuration Assign IP Address ATTENTION You can simultaneously import the same configuration file into multiple NPort 5100As that are of the same model To select multiple NPort 5100As hold down the Ctrl key when selecting an additional NPort 5100A or hold down the Shift key to select a block of NPort 5100As 6 11 NPort 5100A Series User s Manual Configuring NPort Administrator Monitor Use following method to start the Monitor function Broadcast Search gt Monitor gt Add Target 1 With Configuration selected under Function use Broadcast Search to locate all NPorts on your LAN lt NPort Administrator Configuration Sele Eile Eunction Configuration View Help pe Locate Configure W
30. represents the baudrate of NPort 5100A s serial port After that NPort 5100A immediately enters data mode Dial out NPort 5100A accepts the AT command ATD lt IP gt lt TCP port gt from the serial port and then requests a TCP connection from the remote Ethernet Modem or PC This is where lt IP gt is the IP address of the remote Ethernet modem or PC and lt TCP port gt is the TCP port number of the remote Ethernet modem or PC Once the remote unit accepts this TCP connection NPort 5100A will send out the CONNECT lt baud gt signal via the serial port and then enter data mode Disconnection request from local site NOTE When NPort 5100As is in data mode the user can drive the DTR signal to OFF or send from the local serial port to NPort 5100A NPort 5100A will enter command mode and return NO CARRIER via the serial port and then input ATH to shut down the TCP connection after 1 second The command cannot be divided The character can be changed in register S2 and the guard time which prefixes and suffixes the in order to protect the raw data can be changed in register S12 Disconnection request from remote site After the TCP connection has been shut down by the remote Ethernet modem or PC NPort 5100A will send the NO CARRIER signal via the serial port and then return to command mode 5 31 NPort 5100A Series User s Manual Web Console Configuration
31. together check box COM Port Settings x Port Number 2 Port s Selected 1st port is Port 2 Basic Settings Advanced Settings Serial Parameters COM Grouping COM Number COMe Grouping selected port s together wf OK 3 Cancel On the COM Grouping page you can set Read and Write permissions for every serial port You must set Signal Status in order to control the data transmission ex DTR RTS You can specify one serial port whose signals will be taken into account by the virtual COM 4 port COM Port Settings Port Number 2 Fortis Selected 1st port is Port 2 Basic Settings Advanced Settings Serial Parameters COM Grouping Serial ports IP Address 192 168 127 253 1 192 168 127 252 1 af OK M Cancel Click OK and confirm that the serial ports that were assigned and that the COM Port column confirms that your selected ports are labeled as part of a Group Finally click Apply to apply the settings 5 TER NFort Administator COM Mapping File Ee COM Mapping View Help ri B g Exit Add Apply Function COM Mapping 3 COM IP Address Port COM Port Mode _ COM4 Hi Performance FIFO E NPatt E Configuration 1 NPort 51504 192 168 127 254 1 Monitor 2 NFort 51704 192 168 127 253 1 COMS Group Hi Ferormance FIFO E Port Monitor 3 NFort 5110A 192 168 127 252 1 COM Group Hi Ferormance FIFO E fie COM Mapping AR IP Address Report 6 23
32. you want to send this information to Total Solution for Industrial Device Networking Www moxa com NPort5150A IP 192 168 127 254 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 71 Firmware Network Settings Main Menu Network Settings Overview Quick Setup IP address 54 Exportlmport Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Change Password Load Factory Default Save Restart Netmask Gateway IP configuration DNS server 1 DNS server 2 SNMP Settings SNMP Community name Contact Location IP Address Report Auto report to IP Auto report to UDP port Auto report period Enable Disable public 192 168 1 2 4002 10 seconds NPort 5100A Series User s Manual Auto IP Report Protocol Auto IP Report Format Moxa 4 bytes Info 0 Info 1 2 Info n Field Length 5 7 ID List 1 2 a 2 c 5 C 7 li 1 ServerName _ Variable Hardware ID MAC Address 2 Serial Number 4 IP Address 4 DWORD Little Netmask 4 DWORD Little endian Default Gateway 4 DWORD Little endian Firmware Version l4 AP ID 4 Variable Length is Length Field Note ASCII char Little endian 6 bytes MAC address If the MAC address is 00 90 E8 01 0
33. 00A must be configured with the factory default IP address 192 168 127 254 before executing the ARP command as described below 3 2 NPort 5100A Series User s Manual Initial IP Address Configuration Take the following steps to use ARP to configure the IP address L 2 3 Obtain a valid IP address for your NPort 5100A from your network administrator Obtain the NPort 5100A s MAC address from the label on its bottom panel Execute the arp s command from your computer s MS DOS prompt by typing arp s 192 168 200 100 00 90 E8 xx xx xx This is where 192 168 200 100 is the new IP address and 00 90 E8 xx xx xx is the MAC address for your NPort 5100A be sure to use the numbers determined in steps and 2 Next execute a special Telnet command by typing telnet 192 168 200 100 6000 After issuing this command a Connect failed message will appear as shown here After the NPort 5100A reboots its IP address should be updated to the new address and you can reconnect using either Telnet Web or Administrator to check that the update was successful Connect failed Telnet Console Depending on how your computer and network are configured you may find it convenient to use network access to set up your NPort 5100A s IP address This can be done using the Telnet L 2 From the Windows desktop click Start and then select Run Type telnet 192 168 127 254 use the correct IP address if different from
34. 04 00 90 E8 99 31 25 192 168 127 254 Transmit 30 ATTENTION You can simultaneously upgrade the firmware of multiple NPort 5100As that are of the same model To select multiple NPort 5100As hold down the Ctrl key when selecting an additional NPort 5100A or hold down the Shift key to select a block of NPort 5100As 6 10 NPort 5100A Series User s Manual Configuring NPort Administrator Export Configuration To export the configuration of an NPort 5100A right click the NPort 5100A select Export Configuration and then follow the onscreen instructions The Export Configuration function is a handy tool that can be used to produce a text file containing the current configuration of a particular NPort 5100A lt NPort dministrator Configuration Seles File Function Configuration View Help l 2 po ely a Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort No Model MAC Address IP Address Server Name Configuration fT NPotS1504 oDopanecoast aaea 127254 NPSTSOA 71 Unlock Monitor 2 Broadcast Search aR Meet Specify by IP Address Q IP Address Report EE Locate e Unlock Configure El Web Upgrade Firmware Export Configuration Import Configuration Assign IP Address Import Configuration The Import Configuration function is used to import an NPort 5100A configuration from a file into one or more of the same model NPort 5100A To
35. 1 Serial NO 1 Firmware Upgrade Firmware Main Menu Upgrade firmware Browse Overview Quick Setup Exportimport Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings seteorenssaseecnscasenasansnazesseceasensssseesees y KeA ne ososesoseessse Monitor Change Password Load Factory Default Save Restart Keep your NPort 5100A up to date with the latest firmware from Moxa Occasionally compare your NPort firmware to the version currently available at the Moxa website www moxa com If there is a new firmware version you can download it and click Import to upgrade your firmware Monitor Monitor Line Click Line under Monitor to show the operation mode and status of each TCP IP connection IPx for the serial port MOXN Total Solution for Industrial Device Networking www moxa com Model NPort 51504 IP 192 168 127 253 MAC Address 00 90 E8 99 31 25 Name 50A_ Serial NO F Firmware Monitor Line Main Menu Port Operation Mode Connections Overview Quick Setup 1 RealCOM 192 168 32 41 EJ F 4 Exportimport pA E 4 Ea Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Async Settings Change Password Load Factory Default Save Restart 5 39 NPort 5100A Series User s Manual Web Console Configuration Monito
36. 2 03 the MAC O is 0 MAC 1 is 0x90 hex MAC 2 is OxE8 hex and so on DWORD JLittle endian Length endian DWORD JLittle endian Ver1 3 4 0x0103040 Little endian DWORD AP ID amp Hardware ID Mapping Table AP ID x80015100 x80015100 x80015100 x80015200 x80015200 x80015200 x80005110 x80005100 x80005100 x80005000 x80005000 x80005000 x80000312 x80000312 x80000312 x80000312 x80005610 DeviceID Product 0x0534 0x5618 NPort 5610 8 D 2 NPort 5100A Series User s Manual Auto IP Report Protocol 0x80005610 0x5613 NPort 5610 16 0x80005610 0x5638 NPort 5630 8 0x80005610 0x5633 NPort 5630 16 D 3 E Compliance Notice CE Warming This is a Class A product In a domestic environment this product may cause radio interference in which case the user may be required to take appropriate measures Federal Communications Commission Statement FCC This device complies with part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation FCC Warming This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a comme
37. 3 4 Setting Factory Default N Necessity _ IP address or Domain Name None Required E g 192 168 1 1 Allows NPort 5100A to connect actively to the remote host whose IP address is set by this parameter 5 25 NPort 5100A Series User s Manual Web Console Configuration A ATTENTION Up to 4 connections can be established between the NPort 5100A and hosts The connection speed or throughput may be low if one of the four connections is slow since the 1 slow connection will slow down the other 3 connections ATTENTION The Destination IP address parameter can use both IP address and Domain Name For some applications the user may need to send the data actively to the remote destination domain name Designated Local Port 1 2 3 4 Setting Factory Default Necessity 5011 Port 1 5012 Port 2 5013 Port 3 5014 Port 4 TCP Port No Required Connection control Setting Factory Default Startup None Any Character None Any Character Inactivity Time DSR ON DSR OFF DSR ON None DCD ON DCD OFF DCD ON None Startup None Required The meaning of each of the above settings is given in the table below In general both the Connect condition and Disconnect condition are given Connect Disconnect Description Startup None A TCP connection will be established on startup and will remain active default indefinitely A TCP connection will be established when any character is received Any Chara
38. 32 422 485 like Group Port Table Asynchronous Port Group rs232Number rs232PortTable rs232AsyncPortTable Cd rs232PortEntry rs232AsyncPortEntry i rs232PortIndex rs232 AsyncPortIndex Ys2onttype O Ssys Oooo aosa Oooo Rosa The Input Signal Table The Output Signal Table rs232InSigTable rs232O0utSig Table rs232InSigEntry rs232O0utSigEntry rs232InSigPortIndex rs232O0OutSigPortIndex rs232InSigName rs232OutSigName rs232InSigState rs232O0utSigState C 3 D Auto IP Report Protocol NPort Series provides several ways to configure Ethernet IP addresses One of them is DHCP Client When you set up the NPort to use DHCP Client to configure Ethernet IP addresses it will automatically send a DHCP request over the Ethernet to find the DHCP Server And then the DHCP Server will send an available IP address to the NPort The NPort will use this IP address for a period of time after receiving it But the NPort will send a DHCP request again to the DHCP Server Once the DHCP Server realizes that this IP address is to be released to other DHCP Client the NPort then will receive a different IP address For this reason users sometimes find that the NPort will use different IP addresses not a fixed IP address In order to know what IP address the NPort is using you need to set up parameters in Network Settings via Web browser The figure below is the NPort Web console configuration window Enter the IP address and the Port number of the PC that
39. 92 168 1 0 255 255 255 0 e Any host can access the NPort 5100A Disable this function by un checking the Enable the accessible IP list checkbox Refer to the following table for more configuration examples Disable 192 168 0 1 to 192 168 255 254 192 168 0 0 255 255 0 0 192 168 1 1 to 192 168 1 126 192 168 1 0 255 255 255 128 192 168 1 129 to 192 168 1 254 192 168 1 128 255 255 255 128 5 35 NPort 5100A Series User s Manual Web Console Configuration Auto Warning Settings Auto warning Email and SNMP trap MOXA Total Solution for Industrial Device Networking www moxa com NPort 51504 IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware E mail and SNMP Trap Settings Main Menu Mail Server Overview Quick Setup Mail server i Exportimport F My server requires authentication Basic Settings User name Network Settings Serial Settings Password Port 1 From E mail address NP51504_71 NP5 1504 Operating Settings E mail address 1 Accessible IP Settings E mail address 2 Auto Warning Settings wine svusesvbevussvuseseresuessuaredsurvesubessesessesseusseDen E mail and SNMP Trap E mail address 3 Event Type E mail address 4 Upgrade Firmware Monitor SNMP Trap Server Change Password Load Factory Default SNMP trap server IP or domain name Save Restart Mail Server Mail server Setting Factory Default Us
40. Cancel 3 The Lock status will change to Unlock and the Administrator utility will keep this NPort 5100A in the Unlock status throughout this Administrator session NPort Administrator Configuration File Function Configuration View Help ral 2 as Ey A Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort No Model MAC Address IP Address Server Name 2B Configuration NPort 51504 00 90 E8 99 31 25 192 168 127 254 NP51504_71 Unlock Monitor Port Monitor itis COM Mapping Q IP Address Report 6 7 NPort 5100A Series User s Manual Configuring NPort Administrator The meanings of the six Status states are given below note that the term Fixed 1s borrowed from the standard fixed IP address networking terminology Lock The NPort 5100A is password protected Broadcast Search was used to locate it and the password has not yet been entered from within the current Administrator session Unlock The NPort 5100A is password protected Broadcast Search was used to locate it and the password has been entered from within the current Administrator session Henceforth during this Administrator session activating various utilities for this NPort 5100A will not require re entering the server password Blank The NPort 5100A is not password protected and Broadcast Search was used to locate it Fixed The NPort 5100A is not password protected and Searc
41. Default Necessity 1 to 65535 4001 Required Each of NPort 5100A s serial ports is mapped to a TCP port To avoid conflicts with common TCP port numbers set port numbers to 4001 for port 1 4002 for port 2 etc Map lt CR LF gt Setting Factory Default Necessity CR LF or CR LF CR LF Required If data received through NPort 5100A s Ethernet port is sent using the enter command the data will be transmitted out the serial port with an added 1 carriage return line feed if you select the lt CR LF gt option 1 e the cursor will jump to the next line and return to the first character of the line 2 carriage return if you select the lt CR gt option i e the cursor will return to the first character of the line 3 line feed if you select the lt LF gt option i e the cursor will jump to the next line but not move horizontally Disabled Mode KA OXN Total Solution for Industrial Device Networking www moxa com NPort 51504 192 168 127 253 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu Port 1 Overview Quick Setup Operation mode Disable Exportlmport Basic Settings Network Settings When Operation mode is set to Disabled that particular port will be disabled Check the Apply the above settings to all serial ports to apply this setting to the other port 5 34 NPort 5100A Series User s Manual Web Console Configuratio
42. NPort 5100A Series User s Manual First Edition March 2010 www moxa com product MOXA 2010 Moxa Inc All rights reserved Reproduction without permission is prohibited NPort 5100A 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 2010 Moxa Inc All rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of Moxa Inc 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 thes
43. P connection automatically if there is no TCP activity for the given time Local TCP port Setting Factory Default TCP port No e g 4001 4001 This Port No must be the same port No that you set up for the Pair Connection Master device Server 5 30 NPort 5100A Series User s Manual Web Console Configuration Ethernet Modem Mode KA OXN Total Solution for Industrial Device Networking www moxa com NPort 51504 IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO ri Firmware Operation Modes Main Menu j 5 3 s Port 1 Overview Quick Setup Operation mode Ethernet Modem vi Exportimport TCP alive check time 7 ko 99 min Basic Settings Local TCP port 4001 Network Settings i Serial Settings Port 1 NPort 5100A listens for a TCP IP connection request from the remote Ethernet modem or host NPort 5100A s response depends on the ATSO value as outlined below ATSO 0 default NPort 5100A will temporarily accept the TCP connection and then send the RING signal out through the serial port The serial controller must reply with ATA within 2 5 seconds to accept the connection request after which NPort 5100A enters data mode If no ATA command is received NPort 5100A will disconnect after sending three RING signals ATSO 21 NPort 5100A will accept the TCP connection immediately and then send the CONNECT lt baud gt command to the serial port in which lt baud gt
44. Series User s Manual Web Console Configuration Change Password KA OXN Total Solution for Industrial Device Networking www moxa com Model NPort 51504 IP 3 MAC Address 00 90 E8 99 31 25 Name NP5150A_71 Serial NO 7 Firmware Change Password Main Menu j gt Password Overview Quick Setup Old password Exportimport New password Basic Settings a Retype password Network Settings Serial Settings Submit Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Line Async Async Settings prcecceccesenscencsscensesseacenscescoscenssanens Llessssscnsenst eecssensonscnsccnsssscnsennsensen Input the Old password and New password to change the password Leave the password boxes blank to erase the password If the password is erased then NPort 5100A will not have password protection ATTENTION If you forget the password the ONLY way to configure NPort 5100A is by using the Reset button on NPort 5100A s casing to Load Factory Default Remember to export the configuration file when you finish the configuration By using the Import function your configuration can be re loaded into NPort 5100A after using Load Factory Default Load Factory Default MOXN Total Solution for Industrial Device Networking www moxa com Model NPort 5150A IP MAC Address 00 90 E8 99 31 25 Name NP5150A_71 Serial NO 7 Firmwa
45. a Packing Operating Settings E 7 operaing Sennas Packing length 0 O 1024 Port 1 Delimiter 1 00 Accessible IP Settings j Hex C Enable Auto Warning Settings Delimiter 2 00 Hex C Enable Upgrade Firmware Delimiter process Do Nothing amp Processed only when packing length is 0 Monitor Force transmit D l l ko 65535 ms Change Password Load Factory Default Save Restart TCP alive check time Setting Factory Default 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min The NPort 5100A automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the NPort 5100A starts listening for another host s TCP connection Local TCP port Setting Factory Default 1 to 65535 4001 Required 5 17 NPort 5100A Series User s Manual Web Console Configuration The Local TCP port is the TCP port that NPort 5100A uses to listen to connections and that other devices must use to contact NPort 5100A To avoid conflicts with well known TCP ports the default is set to 4001 Packing length Setting Factory Default Necessity Default 0 The Delimiter Process will be followed regardless of the length of the data packet If the data length in bytes matches the configured value the data will be forced out The data length can be configured for 0 to 1024 bytes Set to 0 if you do not need to limit the length Delimiter 1 Set
46. address Netmask Gateway DHCP Server DHCP Server assigned IP address Netmask Gateway DNS and Time HCP BOOTP DHCP Server assigned IP address Netmask Gateway DNS and Time Server or BOOTP Server assigned IP address if the DHCP Server does not respond BOOTP BOOTP Server assigns IP address 5 8 NPort 5100A Series User s Manual Web Console Configuration A IP address Setting Factory Default E g 192 168 1 1 IP addresses of the form 192 168 127 254 Required x x x 0 and x x x 255 are invalid An IP address is a number assigned to a network device such as a computer as a permanent address on the network Computers use the IP address to identify and talk to each other over the network Choose a proper IP address which is unique and valid in your network environment Netmask Setting Factory Default Necessity E g 255 255 255 0 255 255 255 0 Required A subnet mask represents all of the network hosts at one geographic location in one building or on the same local area network When a packet is sent out over the network the NPort 5100A will use the subnet mask to check whether the desired TCP IP host specified in the packet is on the local network segment If the address is on the same network segment as the NPort 5100A a connection is established directly from the NPort 5100A Otherwise the connection is established through the given default gateway Gateway Setting Factory Default Necessi
47. ame as the NPort 5100A s Auto report to UDP port setting IF Location settings Local UDF Listen Port 4002 aff OK x Cancel 6 24 NPort 5100A Series User s Manual Configuring NPort Administrator 4 Click Go to start receiving the Auto IP address report from the NPort 5100A BR o NPort Administrator IP Address Report File Function IP Address Repot View Help FL l p Exit Settings Go i IP Address Report Stopped Port 4002 0 No Model MAC Address IP Address Count Previous Time Function El HFort E Configuration Monitor Fort Monitor H tie COM Mapping GE IP Address Report 6 25 7 IP Serial LIB The following topics are covered in this chapter Q Overview LJ IP Serial LIB Function Groups Q Example Program NPort 5100A Series User s Manual IP Serial LIB Overview What is IP Serial Library IP Serial Library is a Windows library with frequently used serial command sets and subroutines IP Serial Library is designed to reduce the complexity and poor efficiency of serial communication over TCP IP For example Telnet can only transfer data but it can t monitor or configure the serial line s parameters Why Use IP Serial Library For programmers who are familiar with serial communication IP Serial Library provides well designed function calls that have the same style as Moxa s PComm Library IP Serial Library is amazingly simple and easy to un
48. ation _ NN E TTT ee Monitor Add Target B Port Monitor COM Mapping a Remove Target Q IP Address Report Load Configured COM Port ESF Settings For this example the NPort 5100As shown in the list will be monitored 4 NPort dministrator Monitor BE S FL 2 4 gt Exit Add Remove Function NPort Configuration Monitor Port Monitor A COM Mapping Q IP Address Report Monitor Running 1 NPort s No Model MAC Address IP Address Ho ae 00 90 E9 99 31 25 192 168 127 254 6 14 NPort 5100A Series User s Manual Configuring NPort Administrator 8 When one of the NPort 5100As loses connection with the Monitor program a warning alert will display automatically The warning music will be played at the same time Alert New Monitor Event 1 Event s Please check Monitor message window for more information 2010 2 28 FF 12 18 05 NPort 51504 192 168 127 254 is lost connection 9 Inthe Monitor screen you can see that the NPort 5100As that are Not Alive are shown in red color 4 NPort dministrator Monitor E 5 X File Function Monitor View Help F 2 Z e Exit Add Remove Stop Function NPort Configuration Monitor Port Monitor itis COM Mapping Q IP Address Report Monitor Running 1 NPort s No Model MAC Address IPAddress live NPort 5150A 00 90 E8 99 3 192 168 127 Not Alive
49. atirsdtac tet esdlemuctvateann a a a 3 2 INF Of ACC 1s ATOM SUI UE si ai a a S 3 2 ARP gaia cereus ein arcs ya Saeset Se eae ais A a ised haste 3 2 Tener CONS ONG sso se stasis nace a a net iseseadausens a maa aa 3 3 Serial Console 19200 n 8 1 NPort SILOA SI50A only eee ee cccceeeeceeeeeeeeeeeeeeeees 3 6 Choosing the Proper Operation MOode sscccessseeeseessseeseeeseensees 4 1 OV ELV IC Wasira aa bua bau I awailsiunelshaua deautidiulved da Osvatliccaneeaad nt tucsecualrsliauaiuades 4 2 Real COM MOUE rse tes witen cosas eu tauhasaitalvelll TE omen ieecdal satowauiest 4 2 BFO 2LF MOUE odaia aE A E A T 4 3 TEF SCL Vl MOC nrar E a a E eh avenietd 4 3 TCP CATE BEIM Oderio e E E tbowsaawmnacueonauatek 4 4 UDE MOOG apn a E E E E OTOI 4 4 Far Comecon Mode cao E 4 4 Ethernet Modem MIO S55 cps cooscs cavaoncdyeeoet a o a r musa hind sere tseoaesten 4 5 Re Verse Temet IVI OGLE arsaa e E E E 4 5 Disabled Mode cieren e E N EE 4 5 Web Console Configuration ssisicressiavesesuewecieatentcewunsvwucscveweducureveenstevicocsies 5 1 Oppem yont BOWSER enestas 5 2 OUES D aoia E E A 5 4 EXPONO an A 5 6 BASIO OC CIN Son cae Sie dels nc Mesh ea alee sen nS aS let lel 5 6 INGCW Ole Se IMO S cnc eap EE a TE 5 8 SESU a a a A sant aenenGeeteaers atueudana 5 12 COMET AMM SCLIN E Se E a ce E E 5 14 Re COM Mode eiriad a E enemy E 5 14 RFC WT MOda aa E aasheson ma csGctocteapnemenenehts 5 17 TEP SEY Cl NOC Cari torra ted E canis 5 19 TCP C
50. code guard time default 50 unit 1 50 sec to control the idle time for TCP alive check time Setting Factory Default 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NPort 5100A closes the TCP connection automatically if there is no TCP activity for the given time Local TCP port Setting Factory Default 1 to 65535 4001 The TCP port that other devices must use to contact this device To avoid conflicts with standard TCP ports the default is set to 4001 Reverse Telnet Mode KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu ASER Port 1 Overview Quick Setup Operation mode Reverse Telnet v Exporimport TCP alive check time 7 0 99 min Basic Settings i s nactivity time 0 65535 ms Network Settings oS Serial Settings Local TCP port 4001 Port Map lt CR LF gt CR LF Operating Settings Accessible IP Settings 9 33 NPort 5100A Series User s Manual Web Console Configuration Setting Factory Default Necessity 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NPort 5100A automatically closes the TCP connection if there is no TCP activity for Setting Factory Default Necessity Idle time setting for auto disconnection 0 min means it will never disconnect Local TCP port Setting Factory
51. configure the NPort 5100A via serial console turn off the power and connect the serial cable from NPort 5100A to your computer s serial port L Connect NPort 5100A s serial port 1 directly to your computer s male RS 232 422 485 serial port From the Windows desktop click Start gt Programs gt PComm Lite gt Terminal Emulator When the PComm Terminal Emulator window opens first click on the Port Manager menu item and select Open or simply click on the Open icon PComm Terminal Emulator Profile PortManager Help The Property window opens automatically From the Communication Parameter page select the appropriate COM port for the connection COM1 in this example and 19200 for Baud Rate 8 for Data Bits None for Parity and 1 for Stop Bits Communication Parameter Terminal File Transfer Capturing COM Options Pots comi Baud Rate 19200 Data Bits 7 Parity None v Stop Bits ho Flow Contol __ Output State 900000 es DTR ON C OFF M XONAXOFF RTS ON C OFF Corcel From the Property window s Terminal page select ANSI or VT100 for Terminal Type and then click OK If you select Dumb Terminal as the terminal type some of the console functions especially the Monitor function may not work properly 3 6 NPort 5100A Series User s Manual Initial IP Address Configuration 6 Press the key continuously and then power on
52. cter None ace o B from the serial interface and will remain active indefinitely A TCP connection will be established when any character is received from the serial interface and will be disconnected when the Inactivity time out is reached Any Character Inactivity Time A TCP connection will be established when a DSR On signal is DOE DSE received and will be disconnected when a DSR Off signal is received DSR On None A TCP connection will be established when a DSR On signal is received and will remain active indefinitely A TCP connection will be established when a DCD On signal is a Mle ene received and will be disconnected when a DCD Off signal is received DCD On None A TCP connection will be established when a DCD On signal is received and will remain active indefinitely 5 26 NPort 5100A Series User s Manual Web Console Configuration UDP Mode KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu F p Port 1 Overview Quick Setup Operation mode UDP v Exportimport Begin End Port Basic Settings Destination IP address 1 14001 Network Settings l L Serial Settings Destination IP address 2 4001 Port 1 Destination IP address 3 Hi 4001 Operating Settings Destination IP address 4 i 4001 Port 1 3 Local listen port 4001 Accessib
53. ctory Default Necessity Delimiter 2 Setting Factory Default Necessity Once the NPort 5100A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it out the NPort 5100A s Ethernet port ATTENTION Delimiter 2 is optional If left blank then Delimiter alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the NPort 5100A will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly Delimiter process Setting Factory Default Necessity Do Nothing Delimiter 1 Delimiter 2 Strip Delimiter Do Nothing Optional Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted 1 e stripped and the remaining data is transmitted Do Nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default 5 21 NPort 5100A Series User s Manual Web Console Configuration 0 Disable the force transmit timeout 1 to 65535 Forces the NPort 5100A s TCP IP protocol software to try to
54. derstand By including it in your VB C or Delphi programming environment you can program your own TCP IP application with the ability to control serial communication parameters NPort 5100A uses 2 TCP ports for communication between the NPort 5100A and host computer s Real COM driver NPort 5100A uses a data port and command port to provide pure data transfer without decode and encode Compared to using only one TCP port to control serial communication such as RFC 2217 IP Serial Library uses a command port to communicate with NPort 5100A from the user s program IP Serial Library not only runs with excellent efficiency but also runs without any decode or encode problems How to install IP Serial Library IP Serial Lib comes with the NPort Administration Suite Refer to the PSerial directory for more detail about the function definitions EN NPortAdminSuite File Edit view Favorites Tools Help Back gt f Gsearch Qh Folders EBristory WS G2 X A Ea Address i NPortAdminSuite Folders x is Desktop E By My Documents ax My Pictures E My Computer H E Local Disk C TEST D Documents and Settings J Office20005R 1 C Personal Data C Program Files HC Accessories H C Common Files C ComPlus Applications C Internet Explorer C microsoft frontpage C Microsoft Office C Microsoft Visual Studio MWSnap NetMeeting Ey NPortAdminSuite C Outlook Express C Windows Media Play
55. e Reverse Telnet mode Disabled Mode When the Operation Mode for a particular port is set to Disabled that port will be disabled 4 5 5 Web Console Configuration The Web Console is the most user friendly method available to configure NPort 5100A In this chapter we introduce the Web Console function groups and function definitions The following topics are covered in this chapter Opening Your Browser Quick Setup Export Import Basic Settings Network Settings Serial Settings Operating Settings gt Real COM Mode gt RFC 2217 Mode gt TCP Server Mode gt TCP Client Mode gt UDP Mode gt UDP Multicast gt Pair Connection Mode gt Ethernet Modem Mode gt Reverse Telnet Mode gt Disabled Mode LI Accessible IP Settings LJ Auto Warning Settings gt Auto warning Email and SNMP trap gt Event Type OOUOUOUUWUOD Q Upgrade Firmware LJ Monitor gt Monitor Line gt Monitor Async gt Monitor Async Settings Q Change Password gt Load Factory Default NPort 5100A Series User s Manual Web Console Configuration Opening Your Browser 1 Open your browser with the cookie function enabled To enable your browser for cookies right click on your desktop Internet Explorer icon select Properties click on the Security tab and then select the three Enable options as shown in the figure below Internet Options E 2 x Security Settings 21x General Security Content Connections Programs Ad
56. e changes are incorporated into new editions of the publication Technical Support Contact Information Wwww moxa com support Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 10 6872 3958 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Table of Contents BEF OCI CTO I see caaea E E EER 1 1 OV N AET E A E S N 1 2 Packed Chec kis oraa A ek Guiana cen tieasi tard nla Gasvas eh davestaciaes 2 Product PE AUUTCS osioon ra E E E EE 1 2 PEOGUCE SPCC CALIONS oere A E EAE 1 3 Gening Starte Ossia a a a a aE node 2 1 Panel Layout of NPor Ss TOQA Serie Sherone nnna E 2 2 Comnectins the FAG W Ale eae A L AN 2 2 Commeciine Ine POWE ankenn e eee aa ieee rat cs Neti aaes cham araeeatsan eeecaae 2 2 Comnecting 16 1Ne NCW ORK tee ree eters ace ect Uae erence dene eee atlas 2 3 Gonnecnne toa sSernal Devige sessin meee o ena cnnensolersmmeatatands 2 3 EED Mde ALONG ies sense oaths cole sansa ost N 2 3 Adjustable Pull High Low Resistor for RS 485 Port cccsssssssssseeeeeeeeeeeeeees 2 3 Initial IP Address Configuration ccccccsssseeeccssseeeceesseeseeensenseeenneees 3 1 Initializing the NPort STOQA s IP Address inen Bisse 3 2 Factory Deran IP AGGICSS xrecci
57. eb Configuration 1 NPort s Model MAC Address IP Address Status NPort 51504 00 30 E8 99 31 25 192 168 127 254 NP5150A 71 COM Mapping Q IP Address Report i a MAC Address IP Address 1 NPort 51504 00 90 E8 99 31 25 192 168 127 254 gt Input Manually Jf OK X Cancel Once the Monitor function is running 1 The NPort 5100A list will appear on the Monitor screen lt NPort Administrator Monitor Sil x File Function Monitor View Help g gt FL pas Exit Add Remove Go Function NPort i Configuration ion E Port p A COM Mapping Q IP Address Report Monitor Stopped 1 NPort s Noo ee MAC Address IP Address NPort 51504 00 90 E8 99 31 25 192 168 127 254 Not Alive 6 12 NPort 5100A Series User s Manual Configuring NPort Administrator 2 Right click the panel and select Settings lt NPort Administrator Monitor Bf File Function Monitor View Help T a BL pt Exit Add Remove Go Monitor Stopped 1 NPort s NPort No Model MAC Address IP Address Alive Configuration scene Notslive Monitor Add Target Port Monitor tis COM Mapping Q IP Address Report Load Configured COM Port Gio oo b Go Function Remove Target 3 Select or de select Monitor Items Use the single arrowhead buttons to move highlighted items from one box to the o
58. eb Console Configuration TCP alive check time Setting Factory Default O10 99min min Reguired 0 min TCP connection is not closed due to an idle TCP connection 0 to 99 min 1 to 99 min The NPort 5100A closes the TCP connection automatically if there is no TCP activity for the given time Destination IP address Setting Factory Default IP address or Domain Name blank Optional E g 192 168 1 1 TCP port No The Pair Connection Master will contact the network host that has this IP address Data will be transmitted through the port No 4001 by default Note that you must configure the same TCP port No for the device server acting as the Pair Connection Slave Pair Connection Slave Mode When you select Pair Connection Slave Mode for the Operation mode of one of the NPort 5100A device servers this NPort 5100A will be acting as a TCP server KA OXN Total Solution for Industrial Device Networking www moxa com NPort 51504 IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu Port 1 Overview Quick Setup Operation mode Pair Connection Slave v Exporvimport TCP alive checktime 7 0 99 min Basic Settings Local TCP port 4001 Network Settings Serial Settings Port 1 TCP alive check time Setting 0 to 99 min Factory Default 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min The NPort 5100A closes the TC
59. een local modem and remote modem If the DCD signal changes to low it also means that the connection line is down When the DCD changes the NPort 5110A 5150A will immediately send an e mail or send an SNMP trap DSR changed The DSR Data Set Ready signal has changed also indicating that the data communication equipment s power is off For example a DSR change 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 When the DSR changes the NPort 5110A 5150A will immediately send an e mail or send an SNMP trap Mail Setting Factory Default Necessity This feature helps the administrator manage how the NPort 5100A sends e mail to pre defined e mail boxes when the enabled events such as Cold start Warm start Authentication failure etc occur To configure this feature click the Event Type Mail checkbox Trap Setting Factory Default Necessity This feature helps the administrator manage how the NPort 5100A sends SNMP Trap to a pre defined SNMP Trap server when the enabled events such as Cold start Warm start Authentication failure etc occur To configure this feature click the Event Type Trap checkbox 5 38 NPort 5100A Series User s Manual Web Console Configuration Upgrade Firmware KA OXA Total Solution for Industrial Device Networking www moxa com Model NPort 5150A IP 192 168 127 253 MAC Address 00 90 E8 99 31 25 Name NP5150A_7
60. er H Windows NT H WINNT NPortAdminSuite ERSION DAT File 4 28 2003 4 01 PM Text Document uninso00 85KB Application 1 8 2003 12 00 AM Modified 3 17 2003 3 23 AM VERSION 1KB Text Document 3 17 2003 3 23 4M DRE Size 110 bytes m Attributes normal fe fe E 7 2 NPort 5100A Series User s Manual IP Serial LIB IP Serial LIB Function Groups Server Control Port Control Input Output Data nsio_init nsio_open nsio_read nsio_end nsio_close nsio_resetserver nsio_ioctl nsio_ write nsio_checkalive nsio_flowctrl nsio_SetWriteTimeouts nsio DTR nsio_RTS nsio_Ictrl nsio_baud nsio_resetport Example Program char NPort 5 1OOA Nip 192 168 1 10 char buffer 255 int port 1 int portid nsio_init portid nsio_open NPort 5100Aip port nsio_ioctl portid B9600 BIT_8 STOP_1 P_NONE sleep 1000 nsio_read port buffer 200 nsio_close portid nsio_end 7 3 Port Status Miscellaneous Inquiry nsio_Istatus nsio_ break nsio_SetReadTimeouts nsio_data_ status nsio_break_on nsio_break_ off nsio_breakcount data buffer 255 chars Ist port port handle initial IP Serial Library 1st port NPort 5100A IP 192 168 1 10 set 9600 N81 wait for 1000 ms for data read 200 bytes from port 1 close this serial port close IP Serial Library A Pinout
61. er name Setting Factory Default Password Setting Factory Default From E mail address Setting Factory Default E mail address 1 2 3 4 Setting Factory Default Necessity 5 36 NPort 5100A Series User s Manual Web Console Configuration ATTENTION Consult your Network Administrator or ISP for the proper mail server settings The Auto warning function may not work properly if it is not configured correctly NPort 5100A SMTP AUTH supports LOGIN PLAIN CRAM MDS RFC 2554 SNMP Trap Server SNMP trap server IP or domain name Setting Factory Default IP address or Domain Name Optional Event Type KA OXN Total Solution for Industrial Device Networking www moxa com NPort 51504A Ip MAC Address 00 90 E 8 99 31 25 NP5150A_71 Serial NO 7 Firmware Main Menu ra System Event Overview Quick Setup Cold start CI Mail ClTrap Exportlmport Warm start C Mail C Trap Basic Settings Network Settings SV IVES Config Event Serial Settings Port Authentication failure C Mail Trap Operating Settings IP changed E Mail Accessible IP Settings Password changed i Auto Warning Settings EESE C mail E mail and SNMP Trap Event Tyne DCD Changed Upgrade Firmware 5 Port 1 C mail ClTrap Monitor Change Password Load Factory Default DSR Changed Save Restart Port 1 C Mail ElTrap Simt Cold start This refers to starting the system from power off contrast this with warm start When perf
62. fault IP address 192 168 127 254 IP addresses of the form 192 168 xxx xxx are referred to as private IP addresses since it is not possible to access a device configured with a private IP address directly from a public network For example you would not be able to ping such a device from an outside Internet connection NPort 5100A applications that require sending data over a public network such as the Internet require setting up the server with a valid public IP address which can be leased from a local ISP NPort Administration Suite NPort Administration Suite consists of useful utility programs that are used to configure and manage your NPort 5100As See Chapter 6 for details on how to install NPort Administration Suite and how to use this suite of useful utilities to set up IP addresses and configure your NPort 5100A serial device servers ARP You can make use of the ARP Address Resolution Protocol command to set up an IP address for your NPort 5100A The ARP command tells your computer to associate the NPort 5100A s MAC address with the intended IP address You must then use Telnet to access the NPort 5100A at which point the device server s IP address will be reconfigured A ATTENTION In order to use this setup method both your computer and the NPort 5100A must be connected to the same LAN Or you may use a cross over Ethernet cable to connect the NPort 5100A directly to your computer s Ethernet card Your NPort 51
63. fault Necessity Delimiter 2 Setting Factory Default Necessity Once the NPort 5100A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it to the NPort 5100A s Ethernet port A ENTION Delimiter 2 is optional If left blank then Delimiter alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the NPort 5100A will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly 5 24 NPort 5100A Series User s Manual Web Console Configuration Delimiter process Setting Factory Default Necessity Do Nothing Delimiter 1 Delimiter 2 Strip Delimiter Do Nothing Optional Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted 1 e stripped and the remaining data is transmitted Do Nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default 0 Disable the force transmit timeout 1 to 65535 Forces the NPort 5100A s TCP IP protocol software to try to pack seria
64. h by IP address was used to locate it Lock Fixed The NPort 5100A is password protected Specify by IP address was used to locate it and the password has not yet been entered from within the current Administrator session Unlock Fixed The NPort 5100A is password protected Specify by IP address was used to locate it and the password has been entered from within the current Administrator session Henceforth during this Administrator session activating various utilities for this NPort 5100A will not require re entering the server password Configuring the NPort 5100A In this section we illustrate how to access the NPort 5100A s configuration utility You should first make sure that you can connect over the network from your computer to the NPort 5100A 1 To start NPort Administrator click Start gt NPort Administration Suite gt NPort Administrator gt fan Accessories b fn Startup gt I UC Finder gt G NPort Administration Suite b EX IP Serial Lib Reference A T Programs g NPort Administrator Version info 2 Unlock the NPort 5100A you wish to configure if it is password protected Right click the NPort 5100A and select Configure to start the configuration lt NPort Administrator Configuration PER File Function Configuration View Help l s ps Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort No Modi
65. he Tx and Rx directions To prevent data loss during communication disable the FIFO setting when your serial device does not have a FIFO Interface Setting Factory Default Necessity RS 232 NPort 5110A 5150A RS 422 NPort 5130A RS 232 422 485 Required 5 13 NPort 5100A Series User s Manual Web Console Configuration Operating Settings KA OXN Total Solution for Industrial Device Networking www moxa com IP 253 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu J x Packing T T wats Force Overview Port Operating Mode Delimiter 1 Delimiter 2 Delimiter Process g Length Transmit Quick Setup 0 00 Disable 00 Disable Do Nothing 0 Exportimport 1 RealCOM TCP alive checktime 7 Basic Settings Max connection 1 Network Settings Serial Settings Port 1 f Operating Settings Port1 Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Change Password Load Factory Default Save Restart Click Operating Settings located under Main Menu to display the operating settings for both of NPort 5100A s serial ports Real COM Mode MOXA Total Solution for Industrial Device Networking Wwww moxa com NPort 51504 IP 253 MAC Address 00 90 E8 99 31 25 Serial NO i Firmware 1 0 Build 10022314 Operation Modes Main Menu J Port 1 Overview Quick Setup Operation mode RealCOM v Exportvimport TCP ali
66. ight take more time on the order of several hundred milliseconds than a native COM1 because it needs to work via Ethernet That s why the native COM ports on the motherboard can work fast with this function call but the NPort requires much more time In order to accommodate other applications that require a faster response time the new NPort driver implements a new Fast Flush option Note that by default this function is disabled e To begin with make sure there are some PurgeComm functions being used in your application program In this kind of situation you might find that your NPort exhibits a much poorer operation performance than when using the native COM1 port Once you have enabled the Fast Flush function you can check to see if there has been an improvement in performance 6 18 NPort 5100A Series User s Manual Configuring NPort Administrator e By default the optional Fast Flush function is disabled If you would like to enable this function from the NPort Administrator double click the COM ports that are mapped to the NPort and then select the Fast Flush checkbox You should find that when Fast Flush is enabled the NPort driver will work faster with PurgeComm COM Port Settings Port Number 1 Fort Selected 1st port is Port 1 Basic Settings Sdvanced Settings Serial Parameters COM Grouping Tx Mode Hi Performance FIFO Enable kd Network Timeout 5000
67. is usually set to the street address where the NPort 5100A is physically located 5 10 NPort 5100A Series User s Manual Web Console Configuration IP Address Report When NPort 5100A products are used in a dynamic IP environment users must spend more time with IP management tasks For example if NPort 5100A works as a server TCP or UDP then the host which acts as a client must know the IP address of the server If the DHCP server assigns a new IP address to NPort 5100A the host must have some way of determining NPort 5100A s new IP address NPort 5100A products help out by periodically reporting their IP address to the IP location server in case the dynamic IP has changed The parameters shown below are used to configure the Auto IP report function There are two ways to develop an Auto IP report Server to receive NPort 5100A s Auto IP report 1 Use Device Server Administrator s IP Address Report function 2 Auto IP report protocol which can automatically receive the Auto IP report on a regular basis is also available to help you develop your own software Refer to Appendix E for the Auto IP report protocol Auto report to IP Setting Factory Default E g 192 168 1 1 or URL Optional IP addresses of the form x x x 0 and x x x 255 are invalid Reports generated by the Auto report function will be automatically sent to this IP address Auto report to TCP port Setting Factory Default A
68. ist MAC Address IP Address Input Manually IP Address 192 168 127 254 Model H Port 51 1 Oe Ports 1 Portis y OK Cancel 2 Modify the port settings as needed lt NPort Admimistrator COM Mapping E m File Function COM Mapping View Help a F rae Exit Add Remove Apo Configure Function COM Mapping 1 COM ee NPort E Fa Cza COM Pot RA fi Configuration scala COME Hi Pertormance FIFO En i E Monitor Add Toa E Port Monitor B Remove Target i i COM Mapping z L F Address Report Enable Disable E COM Settings E Apply Change 3 Right click in the NPort list section and select Apply Change NPort Adminishator COM Mapping 2 4 Add Remove Apply Configure File Function COM Mapping View Help COM Mapping 1 COM NPort E i Jel IP Address i Pot COM Port E ide Configuration JE Th St CMa Hi Perfomance FIFO En E Monitor 2 Add Target EN E Ren Te AR IP Address Report Enable Disable COM Settings Me ApplyChongs Discard Change 6 21 NPort 5100A Series User s Manual Configuring NPort Administrator COM Grouping COM Grouping allows you to create a virtual COM port and redirect data from it to several physical COM ports Follow the steps below to join multiple COM ports into one group 1 Select serial port s for the group that you are going to create and right c
69. l data received during the specified time into the same data frame This parameter defines the time interval during which NPort 5100A fetches the serial data from its internal buffer If data is incoming through the serial port NPort 5100A stores the data in the internal buffer NPort 5100A transmits data stored in the buffer via TCP IP but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout The optimal Force transmit timeout depends on your application but it must be at least larger than one character interval within the specified baudrate For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send a character is 10 bits and the time required to transfer one character 1s 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set Force transmit timeout to be larger than 8 3 ms so in this case it must be greater than or equal to 10 ms If the user wants to send a series of characters in the same packet the serial device attached to NPort 5100A should send that series of characters during a time interval less than the Force transmit timeout for NPort 5100A and the total length of data must be less than or equal to NPort 5100A s internal buffer size The serial communication buffer size for NPort 5100A is 1 KB per port Destination IP address 1 2
70. le IP Settings Auto Warning Settings Upgrade Firmware Data Packing Monitor Packing length 0 0 1024 Change Password Delimiter 1 00 o elimiter Enable Load Factory Default peg SavefRestart Delimiter 2 00 Hex C Enable Delimiter process Do Nothing Processed only when packing length is 0 Force transmit lo 0 65535 ms Packing length Setting Factory Default Default 0 The Delimiter Process will be followed regardless of the length of the data packet If the data length in bytes matches the configured value the data will be forced out The data length can be configured for 0 to 1024 bytes Set to 0 if you do not need to limit the length Delimiter 1 Setting Factory Default Delimiter 2 Setting Factory Default Once the NPort 5100A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it out the NPort 5100A s Ethernet port ATTENTION Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1 KB the NPort 5100A will automatically pack the data and send it to the Ethernet However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly 5 27 NPort 5100A Series User s Manual Web Console Configuration Delimiter process Setting Factory
71. lec M Cancel y OK M Cancel 7 Hi performance mode is the default for Tx mode If the driver completes sending data out to the NPort 5100A the driver will respond Tx Empty to the program Under classical mode the driver will not notify the user s program that Tx is completed until all Tx data has been sent out from the NPort 5100A this mode will cause lower throughput If you want to ensure that all data is sent out before further processing classical mode is recommended Enable Disable Tx Rx FIFO If disabled the NPort 5100A will send one byte each time the Tx FIFO becomes empty and an Rx interrupt will be generated for each incoming byte This will result in a faster response and lower throughput If you want to use XON XOFF flow control we recommend setting FIFO to Disable Fast Flush only flush local buffer e We have added one optional Fast Flush function to Moxa s new NPort Real COM driver NPort Administrator Suite for NPort adds it after version 1 2 e For some applications the user s program will use the Win32 PurgeComm function before it reads or writes data With our design after the program uses this Purge Comm function the NPort driver will keep querying the NPort s firmware several times to make sure there is really no data queued in the NPort firmware buffer rather than just flushing the local buffer This kind of design is used because of some special considerations However it m
72. lick to select COM Settings NPort Administrator COM Mapping SE File Function COM Mapping View Help F 2 a E Exit Add Remove Apply Configure Function COM Mapping 3 COM NPort Configuration Model IP Address Port COM Port NPort 51504 192 168 127 254 1 COM4 1 Hi Performance FIFO En Monitor NPort 511704 COME Hi Performance FIFO Eng Port Monitor NPort 51704 1192168127252 COM _ _ Hi Performance FIFO Eng Ho tis COM Mapping Q IP Address Report dd Target Fe ena emove Target So ih a BB e pr ia Q OM Settings Apply Change Discard Change Export COM Mapping DE G Import COM Mapping 2 Select a COM number for this COM group You may select one of the ports already assigned to a member of the COM group because once the COM Group is configured all of the original COM number s within the group will be released simultaneously COH Port Sethngs Port Number 2 Port s Selected 1st port is Port 2 Basic Settings Advanced Settings Serial Parameters COM Grouping COM Number COME curent assigned i r COME current assigned COM assigned Grouping selec wf OK 3 Cancel ATTENTION The COM Grouping function only supports Windows 2000 and later The maximum number of ports for each group is 32 6 22 NPort 5100A Series User s Manual Configuring NPort Administrator 3 Select the Grouping selected port s
73. losed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the Inactivity time is set to 0 the current TCP connection is kept active until a connection close request is received Although Inactivity time is disabled the NPort 5100A will check the connection status between the NPort 5100A and remote host by sending keep alive packets periodically If the remote host does not respond to the packet NPort 5100A assumes that the connection was closed down unintentionally NPort 5100A will then force the existing TCP connection to close ATTENTION The Inactivity time should at least be set larger than that of Force transmit timeout To prevent the unintended loss of data due to the session being disconnected it is highly recommended that this value is set large enough so that the intended data transfer is completed Max connection Setting Factory Default Max connection is usually used when the user needs to receive data from different hosts simultaneously The factory default only allows 1 connection at a time Max connection 1 NPort only allows 1 host to open the TCP connection to the specific serial port Max connection 2 to 8 Allows 2 to 8 host s TCP connection request to open this NPort 5100A serial port at the same time When multiple hosts establish a TCP connection to the specific serial port at the same time NPort 5100A will duplicate the serial data and transmit to
74. m case 1 mm 50 x 80 x 22 mm 1 97 x 3 15 x 0 87 inch 0 to 60 C 32 to 140 F 5 to 95 RH 40 to 75 C 40 to 167 F for T models 40 to 85 C 40 to 185 F 5 to 95 RH FCC Class A CE Class A UL CUL LVD 5 years 2 Getting Started This chapter includes information about installing NPort 5100A The following topics are covered LJ Panel Layout of NPort 5100A Series LI Connecting the Hardware gt Connecting the Power gt Connecting to the Network gt Connecting to a Serial Device gt LED Indicators Getting Started NPort 5100A Series User s Manual Panel Layout of NPort 5100A Series Rear Panel View RJ45 10 100M Ethernet port Reset button Power input amp p j gt DIN Rail aT screw hole i NPort ST10A Senal Device Server Wallmount screw hole Male DBY senal port ae Stick on pad NOTE The layouts of NPort 5130A and NPort 5150A are the same as for NPort 5110A Connecting the Hardware This section describes how to connect the NPort 5100A to serial devices for first time testing purposes We cover Connecting to the Network Connecting to a Serial Device and LED Indicators Connecting the Power Connect the 12 to 48 VDC power code with NPort 5100A s power input If the power is properly supplied the Ready LED will show a solid red color until the system is ready at which time the Ready LED will change to a green color NPo
75. me such as moxa com that it is usually easier to remember A DNS server is a host that translates this kind of text based domain name into the numeric IP address used to establish a TCP IP connection In order to use NPort 5100A s DNS feature you need to configure the DNS server Doing so allows NPort 5100A to use a host s domain name to access the host NPort 5100A provides DNS server and DNS server 2 configuration items to configure the IP address of the DNS server DNS Server 2 is included for use when DNS sever 1 is unavailable NPort 5100A plays the role of DNS client in the sense that the NPort 5100A will actively query the DNS server for the IP address associated with a particular domain name NPort 5100A functions that support domain name are Time server Destination IP Address in TCP Client mode Mail Server SNMP trap server and Auto report to IP SNMP Settings Community name Setting Factory Default A community name is a plain text password mechanism that is used to weakly authenticate queries to agents of managed network devices Contact Setting Factory Default 1 to 39 characters None Optional E g Support 886 89191230 300 The SNMP contact information usually includes an emergency contact name and telephone or pager number Location Setting Factory Default 1 to 39 characters None Optional E g Floor 1 office 2 Specify the location string for SNMP agents such as NPort 5100A This string
76. n Accessible IP Settings KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Accessible IP List Main Menu C Enable the accessible IP list Not checking Enable will allow all IPs to connect Overview Quick Setup No Activate the rule IP Address Netmask Exportlmport m 7 Basic Settings Network Settings Serial Settings Port1 Operating Settings Port pocseseosossesosossocceoosossooosoecessoessoesesesessosesssog Auto Warning Settings Upgrade Firmware O O N O A A UU N y a Monitor Change Password h o Load Factory Default _ Save Restart SBSREEARAEESEBEaAS 12 The NPort 5100A uses an IP address based filtering method to control access to itself Accessible IP Settings allows you to add or block remote host IP addresses to prevent unauthorized access Access to NPort 5100A is controlled by IP address That is if a host s IP address is in the accessible IP table then the host will be allowed to access the NPort 5100A You can allow one of the following cases by setting the parameter e Only one host with a specific IP address can access the NPort 5100A Enter IP address 255 255 255 255 e g 192 168 1 1 255 255 255 255 e Hosts on a specific subnet can access the NPort 5100A Enter IP address 255 255 255 0 e g 1
77. ng you need to manage monitor and modify your NPort 5100A from a remote location Installing NPort Administrator 1 Once the Setup program starts running click Next when the Welcome window opens to proceed with the installation iG Setup NPort Administration Suite Welcome to the NPort A Administration Suite Setup Wizard This will install NPort Administration Suite er1 13 on your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup pip fe Setup NPort Administration Suite Select Destination Location Where should NPort Administration Suite be installed Cd Setup will install NPort Administration Suite into the following folder To continue click Next If you would like to select a different folder click Browse c Program FiesWPotadminSutel At least 2 8 MB of free disk space is required 6 2 NPort 5100A Series User s Manual Configuring NPort Administrator 3 Click Next to install the program using the default program name or select a different name fe Setup NPort Administration Suite Select Start Menu Folder Where should Setup place the program s shortcuts Setup will create the program s shortcuts in the following Start Menu folder To continue click Next IF you would like to select a different folder click Browse NPort Administration Suite 4 Click Install to proceed with the installati
78. nndiven aE 6 2 COME OUT AON en a e a a aa cde amecende 6 5 Broadcast SC APC Le vcnies case eceawetscecte a E E E 6 6 Unlock Password Protech Ome oe dsie acca certo tu utente hee 6 7 Contigurins the NPOrt 51 00A eenn cee aeaaoma decade 6 8 Upsradins the Pew ale aaaea r a aa EN 6 9 Export GCOmMOUra ON oeae oee E E E E 6 11 Import Configuration eienen e S EEE A r a eee ake 6 11 MONO oecon a E E N 6 12 PorCNIONIO taroan e a eases 6 16 COM Mappin i aara E E T ven eee eneeaeAt 6 16 Onehne COM MIPPINE seerne a a a a ena a e S EEEE EE 6 17 Off line COM Mappin sitscaceited 222 a hehosetecasaaateheanabiacc aiacebelwaa EE E heehee 6 21 CONFCGFOUD NS apes noe a a aes edeedee 6 22 IPAddress RED OL eco cig vasa ire isecicawiesisnc cask vistas vests ees E E E 6 24 IP SOR aU UB veces ca prise cencetapes a nictnwncemece eines 7 1 OVIN EW a a a a E A E 7 2 IP Senat LIB Foncion Groups sere a a a a s a aeeed 7 3 Examples Pros raia a a a a a a O 7 3 Pinouts and Cable Wiring ccscccceesseeeceesseeceeesseeseenseeeseeseessooeneees A 1 POP PINOUT 1a OT AMS sien E T ETE AEEA E waecnswebinads A 2 theme Pore PinOuts ienes a r r E N A 2 NPort 5110A Serial Port PINGUS os3 cosicasedihessandeioonscassrednacvioostebensandedbecoayapsrernewwbaass A 2 NPort 5130A Serial Port PInouts srosceoroere i narin E E A A A 2 NPort 51 50 A Seral Port PINOUS eniran a a n eia A 2 Cable W Te Dias tIS oa E A S A 3 Eierne e Cab le S irp N E A 3 Well Known Port Numbers
79. on iE Setup NPort Administration Suite Ready to Install Setup is now ready to begin installing NPort Administration Suite on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location C Program Files NPortA4dminSuite Start Menu folder NPort Administration Suite 5 El Setup NPort Administration Suite Installing Please wait while Setup installs NPort Administration Suite on your computer Extracting files C WINDOWS system32 nport dll Cancel NPort 5100A Series User s Manual 6 Click Next to proceed with the installation fe Setup NPort Administration Suite Information Please read the following important information before continuing When you are ready to continue with Setup click Next NPort Administration Suite 1 Component List 1 Utilities 2 Real Com Mode Support Package 3 IP Serial Lib Package 2 Utilities Provides Configure Monitor and COM mapping administration utilities for NPort 3 Real Com Mode Support Package Provides a misc lib for Real COM management 4 IP Serial Lib Package 7 Completing the NPort Administration Suite Setup Wizard Setup has finished installing NPort Administration Suite on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup 6 4 Configuring NPort Administra
80. orming a cold start NPort 5100A will automatically issue an Auto warning message by e mail or send an SNMP trap after booting up Warm start This refers to restarting the computer without turning the power off When performing a warm start NPort 5100A will automatically send an e mail or send an SNMP trap after rebooting Authentication failure The user inputs a wrong password from the Console or Administrator When authentication failure occurs the NPort will immediately send an e mail or send an SNMP trap IP address changed The user has changed NPort 5100A s IP address When the IP address changes NPort 5100A will send an e mail with the new IP address before NPort 5100A reboots If the NPort 5100A is unable to send an e mail message to the mail server within 15 seconds NPort 5100A will reboot anyway and abort the e mail auto warning 5 37 NPort 5100A Series User s Manual Web Console Configuration Password changed The user has changed NPort 5100A s password When the password changes NPort 5100A will send an e mail with the password changed notice before NPort 5100A reboots If the NPort 5100A is unable to send an e mail message to the mail server within 15 seconds NPort 5100A will reboot anyway and abort the e mail auto warning DCD changed The DCD Data Carrier Detect signal has changed also indicating that the modem connection status has changed For example a DCD change to high also means Connected betw
81. ort 5100A are then connected to each other with a cross over Ethernet cable both are connected to the same LAN or in a more advanced setup they communicate with each other over a WAN e through one or more routers Pair Connection Mode transparently transfers both data and modem control signals although it cannot transmit the DCD signal between the two NPorts 4 4 NPort 5100A Series User s Manual Choosing the Proper Operation Mode Ethernet Modem Mode Ethernet Modem Mode is designed for use with legacy operating systems such as MS DOS that do not support TCP IP Ethernet By connecting one of NPort 5100A s serial ports to the MS DOS computer s serial port it is possible to use legacy software originally designed to transmit data via modem but now transmit the data over the Ethernet Reverse Telnet Mode pren Telnet mode BA een PN fo a Windows NT aa y ZA Unix Server ime Ten S Router Console management is commonly used by connecting to Console AUX or COM ports of routers switches and UPS units Rtelnet works the same as TCP Server mode in that only one TCP port is listened to after booting up The system then waits for a host on the network to initiate a connection The difference is that the TCP Server mode does not provide the conversion function provided by Telnet If the connected devices need to use the CR LF conversion function when controlling then users must choos
82. ort control options based on the Telnet protocol Third party drivers supporting RFC 2217 are widely available on the Internet and can be used to implement Virtual COM mapping to your NPort 5100A serial port s TCP Server Mode In TCP Server Mode NPort 5100A is configured TCP Server Mode with a unique IP Port combination on a TCP IP R network In this case NPort 5100A waits passively to be contacted by the host computer After the host computer establishes a connection r A with the serial device it can then proceed with TCP IP Ne data transmission TCP Server mode also supports Ethernet up to 4 simultaneous connections so that multiple hosts can collect data from the same serial device at the same time TCP Server As illustrated in the figure data transmission proceeds as follows MReauest a connection RS 232 1 The host requests a connection from the Proceed with NPort 5100A configured for TCP Server data transmission Beving Mode 2 Once the connection is established data can be transmitted in both directions from the host to the NPort 5100A and from the NPort 5100A to the host 4 3 NPort 5100A Series User s Manual Choosing the Proper Operation Mode TCP Client Mode In TCP Client Mode the NPort 5100A can TCP Client Mode actively establish a TCP connection with a pre determined host computer when serial data arrives After the data has been transferred the NPort
83. pack serial data received during the specified time into the same data frame This parameter defines the time interval during which NPort 5100A fetches the serial data from its internal buffer If data is incoming through the serial port NPort 5100A stores the data in the internal buffer NPort 5100A transmits data stored in the buffer via TCP IP but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout The optimal Force transmit timeout depends on your application but it must be at least larger than one character interval within the specified baudrate For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send a character is 10 bits and the time required to transfer one character 1s 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set Force transmit timeout to be larger than 8 3 ms so in this case it must be greater than or equal to 10 ms If the user wants to send a series of characters in the same packet the serial device attached to NPort 5100A should send that series of characters during a time interval less than the Force transmit timeout for NPort 5100A and the total length of data must be less than or equal to NPort 5100A s internal buffer size The serial communication buffer size for NPort 5100A is 1 KB per port Local TCP port
84. port Import Export Import allows you to back up and recover your settings KA OXN Total Solution for Industrial Device Networking www moxa com Model NPort 5150A IP 27 253 MAC Address 00 90 E8 99 31 25 Name NP5150A_71 Serial NO 71 Firmware Export Import Configuration Main Menu J l Configuration file Export Overview Quick Setup Exportimport Upload configuration file Browse import Necnvedvonesncescensnenedeeunesnser Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Change Password Load Factory Default Save Restart Click Export to store all configuration data into a default file lt Servername gt txt Click the Import button to upload a configuration file to the NPort 5100A Basic Settings KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A 192 168 127 253 MAC Address 00 90 E8 99 31 25 NP5150A 71 Serial NO 7 Firmware Basic Settings Main Menu J _ Server Settings Overview Quick Setup Server name NP5150A_71 Exportimport gocesosossossesososesssossesossesesoseg Embe heana LLLE Eo Console Settings Network Settings Serial Settings Web console Enable Disable Operating Settings Telnet console Enable Disable MecaRs ba P Setings Reset button protect No O Yes Auto Warning Settings i Upgrade Firmware Monitor
85. ps Ethernet Built in 15 KV ESD protection for all serial signals Supports SNMP MIB II for network management Configuration via web Telnet serial console Configuration utility automatically finds NPort devices on the network Supports RFC 2217 and Reverse Telnet modes 1 2 NPort 5100A Series User s Manual Introduction Product Specifications LAN Ethernet Protection NPort 5110A Serial Interface Interface No of Ports Port Type Maximum Transmission Speed Signals Serial Line Protection NPort 5130A Serial Interface Interface No of Ports Port Type Maximum Transmission Speed Signals Serial Line Protection RS 485 Data Direction NPort 5150A Serial Interface Interface No of Ports Port Type Maximum Transmission Speed Signals Serial Line Protection RS 485 Data Direction Power Line Protection Advanced Built in Features 10 100 Mbps RJ45 Built in 1 5 KV magnetic isolation RS 232 1 Male DB9 921 6 Kbps TxD RxD RTS CTS DTR DSR DCD GND 15 KV ESD for all signals Level 1 Surge EN61000 4 5 RS 422 485 1 Male DB9 921 6 Kbps RS 422 Tx Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx Rx GND 15 KV ESD for all signals Level 1 Surge EN61000 4 5 ADDC Automatic Data Direction Control RS 232 422 485 1 Male DB9 921 6 Kbps RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 2 wire
86. r Async Click Asyne under Monitor to show the current status of the serial port KA OXN Total Solution for Industrial Device Networking WWW moxa com Model NPort 51504A IP 253 MAC Address Name NF5150A_71 Serial NO 7 Firmware Monitor Async Main Menu i onw Port TxCnt RxCnt TxTotalCnt RxTotalCnt DSR DTR RTS CTS DCD Quick Setup 1 0 0 0 112 J e P 2 Exportlmport Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Preescenseesenes Async Settings Change Password Load Factory Default Save Restart Monitor Async Settings Click Async Setting under Monitor to show the run time settings for the serial port MOXN Total Solution for Industrial Device Networking www moxa com Model NPort 51504 IP 253 MAC Address 00 90 E8 99 31 25 Name A Serial NO 7 Firmware 1 0 Build 1002231 Monitor Async Settings Main Menu 0 Flow Control EINIGE Port BaudRate Data Bits Stop Bits Parity FIFO Interface Quick Setup RTS CTS XON KOFF DTRIDSR Exportlmport 1 19200 8 1 None OFF OFF OFF Enable RS 232 Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Line gassececasacenscescssasecsessensensoes Nasenseecescenecnscanescscocssned ncs Change Password Load Factory Default Save Restart 5 40 NPort 5100A
87. ransmit timeout 5 18 NPort 5100A Series User s Manual Web Console Configuration The optimal Force transmit timeout depends on your application but it must be at least larger than one character interval within the specified baudrate For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send a character is 10 bits and the time required to transfer one character is 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set Force transmit timeout to a value larger than 8 3 ms so in this case it must be greater than or equal to 10 ms If the user wants to send a series of characters in the same packet the serial device attached to NPort 5100A should send that series of characters during a time interval less than the Force transmit timeout for the NPort 5100A and the total length of data must be less than or equal to the NPort 5100A s internal buffer size The serial communication buffer size for the NPort 5100A is 1 KB per port TCP Server Mode MOXA NPort5150A IP Total Solution for Industrial Device Networking WWww moxa com MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu ne Port 1 Overview Quick Setup Operation mode TCP Server w ExportImport TCP alive checktime 7 ko 99 min Basic Settings Inactivity time 0 0 65535 ms Network Setting
88. rcial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense
89. re Load Factory Default Main Menu J This function will reset all MOXA NPort Server settings to their factory default values Overview Be aware that previous settings will be lost Quick Setup Exportlmport a Basic Settings Network Settings Serial Settings Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor This function will reset all of NPort 5100A s settings to the factory default values Be aware that previous settings will be lost 5 41 6 Configuring NPort Administrator The following topics are covered in this chapter Q Overview L Installing NPort Administrator Q Configuration gt Broadcast Search gt Unlock Password Protection gt Configuring the NPort 5100A gt Upgrading the Firmware gt Export Configuration gt Import Configuration Monitor Port Monitor COM Mapping gt On line COM Mapping gt Off line COM Mapping L IP Address Report m m NPort 5100A Series User s Manual Configuring NPort Administrator Overview Device Server Administrator lets you install and configure your NPort 5100A Series products easily over the network Five function groups are provided to ease the installation process allow off line COM mapping and provide monitoring and IP location server functions Device Server Administrator is an integrated software suite that bundles Device Server Administrator and the IP Serial Library and provides everythi
90. ress IP Address Server Name Status Configuration 1 NPort 51504 00 90 E8 99 31 25 192 168 127 254 NP51504_71 Monitor Port Monitor tt COM Mapping Q IP Address Report 6 6 NPort 5100A Series User s Manual Configuring NPort Administrator ATTENTION Before modifying the NPort 5100A s configuration use Broadcast Search to locate all NPort 5100As connected to the LAN or use Specify by IP Address to locate a particular NPort 5100A Unlock Password Protection If the NPort 5100A is password protected indicated by Lock for Status you will receive the following error and you will not be able to use the right click method to open the configuration page In this case proceed as follows to Unlock the device server 1 Select the NPort 5100A with Lock status click the right mouse button and then select Unlock lt NPort dministrator Configuration File Function Configuration View Help 2 x po ely Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort eote acaden Eades Server Name Configuration TY WNPort 51504 00 90 E9 99 31 25 a a Monitor 42 Broadcast Search Port Monitor k Specify by IP Address itis COM Mapping 9 IP Address Report BE Locate Configure 2 After inputting the correct password the Administrator will display an Unlock ok message Password Enter Password Information x y OK XM
91. rt 5100A Series User s Manual Getting Started Connecting to the Network Connect one end of the Ethernet cable to NPort 5100A s 10 100M Ethernet port and the other end of the cable to the Ethernet network NPort 5100A will indicate a valid connection to the Ethernet in the following ways e The Ethernet LED maintains a solid green color when connected to a 100 Mbps Ethernet network e The Ethernet LED maintains a solid orange color when connected to a 10 Mbps Ethernet network e The Ethernet LED will flash when Ethernet packets are being transmitted or received Connecting to a Serial Device Connect the serial data cable between NPort 5100A and the serial device NPort 5100A s serial port uses the RS 232 422 485 interface to transmit data The port uses a standard male DB9 pin assignment Refer to Appendix A to see the signal definitions for the port LED Indicators NPort 5100A has 3 LED indicators as described in the following table LED Name LED Color LED Function Steady on Power is on and NPort 5100A is booting up Red Blinking Indicates an IP conflict or DHCP or BOOTP server did not respond properly Steady on Power is on and NPort 5100A is functioning normally Blinking The device server has been located by Administrator s Location function Off Power is off or power error condition exists The device is connected to a 10 Mbps Ethernet connection Link Green Green The device is connected to a
92. rt numbers or refer to the following introduction from the IANA The port numbers are divided into three ranges the Well Known Ports the Registered Ports and the Dynamic and or Private Ports The Well Known Ports range from 0 through 1023 The Registered Ports range from 1024 through 49151 The Dynamic and or Private Ports range from 49152 through 65535 The Well Known Ports are assigned by the IANA and on most systems can only be used by system processes or by programs executed by privileged users The following table shows famous port numbers among the well known port numbers For more details please visit the IANA website at http www iana org assignments port numbers TCP Socket Application Service Reserved Management Utility Echo Ce Le E 7 Beh 9 Discard _ Active Users systa O B Daytime o 5 Nasa 20 FTPdatapore o O a 3 5 37 La a ei S FTP CONTROL port Telnet SMTP Simple Mail Transfer Protocol 79 Finger protocol Finge a World Wide Web HTTP l 2 7 11 13 15 20 21 23 25 37 2 3 9 53 79 NPort 5100A Series User s Manual Well Known Port Numbers TCP Socket Application Service 119 Network News Transfer Protocol NNTP 123 Network Time Protocol 213 IPX 160 223 Reserved for future use UDP Socket Application Service 0 Reserved o Management Utility 7 11 Active Users systat 13 Daytime a Oo
93. rt to IP fc Auto IP report to UDP port d gt Auto IP report period fu UWiew settings tm Back to main menu fq Quit Key in your selection 1 6 Use the Backspace key to erase the current IP address type in the new IP address and then press Enter lt lt Main menu Network settings gt gt 1 gt IP address 2 gt MNetmask 3 gt Gateway 4 gt IP configuration 5 gt DNS server 1 6 gt DANS server 2 c7 gt SNMP 8 gt SNMP community name 9 gt SMMP contact ta SNMP location h gt Auto IP report to IP tc Auto IP report to UDP port d gt Auto IP report period qu View settings tm Back to main menu tg Quit Key in your selection 1 IP address 192 168 127 253 3 4 NPort 5100A Series User s Manual 7 Press any key to continue lt lt Main menu gt Network 1 gt IP address t2 Hetmask 3 Gateway 4 gt IP configuration 5 gt DNS server 1 tb DNS server 2 c7 SHMP c8 gt SHMP c9 gt SHMP ta SHMP tb Auto tc Auto d gt Auto tu Uiew cm Hack tga Quit community na contact location IP report to IP report to IP report pe settings to main menu Key in your selection IP address 192 168 127 Set IF address success Press any key to contin ettings gt gt me IP UDP port riod 1 203 Ue Type m and then press Enter to return to the main menu lt lt Main menu SNetwork settings gt gt i c2 gt c3 gt t4 gt c5
94. rts for a host computer on demand As long as your host computer supports the TCP IP protocol you won t be limited by the host computer s bus limitation such as ISA or PCI or lack of drivers for various operating systems In addition to providing socket access the NPort 5100A also comes with a Real COM TTY driver that transmits all serial signals intact This means that your existing COM TTY based software can be preserved without needing to invest in additional software Three different Socket Modes are available TCP Server TCP Client and UDP Server Client The main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an acknowledgement to the sender UDP does not require this type of verification making it possible to offer speedier delivery UDP also allows data to be unicast to only one IP address or multicast to groups of IP addresses Real COM Mode The NPort 5100A comes equipped with COM Real COM Mode drivers that work with Windows systems and also BB 7 TTY drivers for Linux systems The driver a VOMO rod establishes a transparent connection between host and serial device by mapping the IP Port of the NPort 5100A s serial port to a local COM TTY am port on the host computer Real COM Mode also Ethernet supports up to 4 simultaneous connections so that multiple hosts can collect data from the same serial device at the same time Driver Mode RS 232
95. s 7 Serial Settings Max connection s N Port 1 ignore jammed IP No Yes Operating Settings Allow driver control No Yes Port 1 oo T n Local TCP port 4001 Accessible IP Settings 7 Command port 966 Auto Warning Settings L Upgrade Firmware Monitor Data Packing Change Password Packing lengtt D acking length O 1024 Load Factory Default i Save Restart Delimiter 1 OO Hex C Enable Delimiter 2 00 Hex C Enable TCP alive check time Setting 0 to 99 min Delimiter process Force transmit Do Nothing Processed only when packing length is 0 0 0 65635 ms Factory Default Necessity 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min The NPort 5100A automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the NPort 5100A starts listening for another host s TCP connection Inactivity time Setting 0 to 65535 ms Factory Default 5 19 NPort 5100A Series User s Manual Web Console Configuration A 0 ms TCP connection is not closed due to an idle serial line 0 65535 ms The NPort 5100A automatically closes the TCP connection if there is no serial data activity for the given time After the connection is closed the NPort 5100A starts listening for another host s TCP connection This parameter defines the maintenance status as Closed or Listen for the TCP connection The connection is c
96. s Upgrading the Firmware Follow these steps to upgrade the firmware of an NPort 5100A 1 To start NPort Administrator click Start gt NPort Administration Suite gt NPort Administrator fam Accessories gt f Programs Im Startup gt ffi NPort Administration Suite 4 IP Serial Lib Reference NPort Administrator Version info 6 9 NPort 5100A Series User s Manual Configuring NPort Administrator 2A 3 Unlock the NPort 5100A you wish to configure 1f it is password protected Right click a specific NPort 5100A and select the Upgrade Firmware function to start upgrading the firmware 4 NPort dministrator Configuration File Function Configuration View Help Tr 2 E x ely l Exit Search SearchIP Locate Configure Web Function Configuration 1 NPort s NPort No Modi MAC Address IP Address Server Name Configuration NPort 51504 00 90 6 899 3155 192 468 127 254 NP51504 71 Monitor Broadcast Search fies Specify by IP Address Q IP Address Report A Locate 2 Unlock SF Configure Web A Export Configuration Select the correct ROM file to download Select File Select File File Name D NP51004_Verl 0_Build_10022314 rom Browse Jf OK XM Cancel 4 Wait while the Upgrade Firmware action is processed Processing please wait x Cancel No Model MAC Address IP Address Status 1 NPort 515
97. s Real COM drivers to open the specific NPort 5100A serial port at the same time When multiple hosts Real COM drivers open the serial port at the same time the COM driver only provides a pure data tunnel without control ability That is this serial port parameter will use the firmware s settings not depend on your application program AP Application software that is based on the COM driver will receive a driver response of success when the software uses any of the Win32 API functions The firmware will only send the data back to the driver on the host Data will be sent first in first out when data comes into the NPort 5100A from the Ethernet interface ATTENTION When Max connection gt 1 this means that the NPort 5100A will be using a multi connection application 1 e 2 or more hosts are allowed access to the port at the same time When using a multi connection application the NPort 5100A will use the serial communication parameters set in the console All of the hosts connected to that port must use the same serial settings If one of the hosts opens the COM port with parameters that are different from the NPort 5100A s console setting data communication may not work properly Ignore jammed IP Setting Factory Default Previously when Max connections gt 1 and the serial device is transmitting data if any one of the connected hosts is not responding it will wait until the data has been transmitted succe
98. s and Cable Wiring The following topics are covered in this appendix LJ Port Pinout Diagrams gt Ethernet Port Pinouts gt NPort 5110A Serial Port Pinouts gt NPort 5130A Serial Port Pinouts gt NPort 5150A Serial Port Pinouts Q Cable Wiring Diagrams gt Ethernet Cables NPort 5100A Series User s Manual Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts NPort 5110A Serial Port Pinouts DB9 Male RS 232 Port Pinouts for NPort 5110A NPort 5130A Serial Port Pinouts DB9 Male RS 422 485 Port Pinouts for NPort 5130A Pin RS 422 2 wire RS 485 4 wire RS 485 DDA 2 DD 3 RxD B Data B RDA Daw oo o NPort 5150A Serial Port Pinouts DB9 Male RS 422 485 Port Pinouts for NPort 5150A Pin RS 232 RS 422 2 wire RS 485 4 wire RS 485 i DOD TxD A a 2 RxD TxD B eG 3 TxD RxD B Data B EI DR e y a Se N a EE E NPort 5100A Series User s Manual Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables Straight Through Cable T RJ45 Plug Pin 1 ME Cable Wiring Nh amp D OW Nh D OW j Cross Over Cable IE T RJ45 Plug Pin 1 ME Cable Wiring Nh OW OWN B Well Known Port Numbers In this appendix which is included for your reference we provide a list of Well Known port numbers that may cause network problems if you set NPort 5100A to one of these ports Refer to RFC 1700 for Well Known po
99. s full or if the Force transmit time interval reaches the time specified under Force transmit timeout The optimal Force transmit timeout depends on your application but it must be at least larger than one character interval within the specified baudrate For example assume that the serial port is set to 1200 bps 8 data bits 1 stop bit and no parity In this case the total number of bits needed to send a character is 10 bits and the time required to transfer one character 1s 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set Force transmit timeout to be larger than 8 3 ms so in this case it must be greater than or equal to 10 ms If the user wants to send a series of characters in the same packet the serial device attached to NPort 5100A should send that series of characters during a time interval less than the Force transmit timeout for NPort 5100A and the total length of data must be less than or equal to NPort 5100A s internal buffer size The serial communication buffer size for NPort 5100A is 1 KB per port RFC 2217 Mode KA OXN Total Solution for Industrial Device Networking www moxa com NPort 51504 IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Operation Modes Main Menu Port 1 Overview Quick Setup Operation mode RFC2217 v Exporimport TCP alive check time 7 k0 99 min Basic Settings Local TCP port 4001 Network Settings Serial Settings Port1 Dat
100. se the single arrowhead buttons to move highlighted items from one box to the other Use the double arrowhead buttons to move all items in one box to the other Monitor Settings De selected Items Selected Items Conn Status Model Remote IP MAC Address Serial IP Address Line Status Port Tx Rx after Conn OP Mode Tx Rx after Mon Alive Tx Rx Throw Tx Rx Inty Throu COM Number Server Name Alias Load Default wf OK XM Cancel COM Mapping Windows Administration Suite comes with Windows 95 98 ME NT 2000 XP 7 Real COM drivers After you install NPort Administration Suite there are two ways to set up the NPort 5100A serial port as your host s remote COM port The first way is with On line COM Mapping On line COM Mapping will check to make sure that the NPort 5100A is connected correctly to the network and then install the driver on the host computer The second way is with Off line COM Installation without first connecting the NPort 5100A to the network Off line COM Mapping can decrease the system integrator s effort by solving different field problems Via off line installation users can first process software installation for the host and then install the NPort 5100A to different fields Use the following procedure to map COM ports 1 On line COM Mapping Connect NPort 5100A to the network gt Set NPort 5100A to the proper IP address gt Map COMs to your host gt Apply Change 2 Off line COM Mapping
101. ssfully before transmitting the second group of data to all hosts Currently if you select Yes for Ignore jammed IP the host that is not responding will be ignored but the data will still be transmitted to the other hosts Allow driver control Setting Factory Default If max connection is greater than 1 NPort will ignore driver control commands from all connected hosts However if you set Allow driver control to YES control commands will be accepted Note that since NPort 5100A may get configuration changes from multiple hosts the most recent command received will take precedence 9 15 NPort 5100A Series User s Manual Web Console Configuration A Packing length Setting Factory Default Necessity Default 0 The Delimiter Process will be followed regardless of the length of the data packet If the data length in bytes matches the configured value the data will be forced out The data length can be configured for 0 to 1024 bytes Set to 0 if you do not need to limit the length Delimiter 1 Setting Factory Default Necessity 00 to FF hes Delimiter 2 Setting Factory Default 00 to FF hes Once the NPort 5100A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it to the NPort 5100A s Ethernet port ATTENTION Delimiter 2 is optional If left blank then Delimiter alone trips clearing of the buffer If the size of the serial
102. the IP address This chapter introduces the method to configure the device server s IP address For more details about network settings see the Network Settings section from Chapter 5 Web Console Configuration The following topics are covered in this chapter LI Initializing the NPort 5100A s IP Address LJ Factory Default IP Address LJ NPort Administration Suite LJ ARP LJ Telnet Console LJ Serial Console 19200 n 8 1 NPort 5100A Series User s Manual Initial IP Address Configuration Initializing the NPort 5100A s IP Address 1 Determine whether your NPort 5100A needs to use a Static IP or Dynamic IP either DHCP or BOOTP application 2 Ifthe NPort 5100A is used in a Static IP environment you can use NPort Administration Suite ARP Web Console Telnet Console or Serial Console to configure the new IP address 3 Ifthe NPort 5100A ts used in a Dynamic IP environment you can use NPort Administration suite Web Console Telnet Console or Serial Console to configure the NPort 5100A to get an IP address dynamically with DHCP DHCP BOOTP or BOOTP ATTENTION Consult your network administrator on how to reserve a fixed IP address for your NPort 5100A in the MAC IP mapping table when using a DHCP Server or BOOTP Server In most applications you should assign a fixed IP address to your NPort 5100A Factory Default IP Address NPort 5100A products are configured with the following default private IP address De
103. the NPort 5100A fa a x 4 P s d o Der a fe ia 8 ka ia a iD D a E c gS s T Ya n s F e E a z 3 a s s 7 NPort 5100A will receive the string continuously and then auto switch from data mode to console mode 8 Input the password when prompted Note that this page will only appear when the NPort 5100A has been set up for password protection ca ce E COM1 19200 None 8 1 Dumb Terminal Miaka ai odel name z NPort 51504 A _ Mac address gt 00 90 E8 99 31 25 TR serial No gt el T ATS Firmware version 1 0 Build 10022314 __ System uptime 0 days OO0h 00m 035 Please kevin your password eF Fee erere 9 Start configuring the IP address under Network Settings Refer to step 4 in the Telnet Console section for the rest of the IP settings Ek A ee Model name z NPort 51504 ars ma lt 00 90 E8 99 31 25 71 Firmware version 1 0 Build loo f 314 0 days O0h 0lm Ols z Main menu gt 1 Basic settings 2 Network settings 3 Serial settings 4 Operating settings i5 Accessible IP settings 6 Auto Warning settings Yi Monitor 8 Ping 9 Change password 4 Load factory default wi View settings S Save Restart Eey in your selection 4 Choosing the Proper Operation Mode In this section we describe the various NPort 5100A operation modes The options include Real COM Mode which uses a driver installed on the host
104. the default in the Open text input box and then click OK Run EES resource and Windows will open it for you Open telnet 192 168 127 254 Type the name of a program folder document or Internet Cancel Browse When the Telnet window opens if you are prompted to input the Console password input the password and then press Enter Note that this page will only appear if the NPort 5100A is password protected o Telnet 192 168 127 254 Model name z NPort 515A MAG address z BR 9H2 ER 299251225 Serial Wo z 71 Firmware version 1 6 Build 16622314 System uptime 68 days ABH A7mi52s Please keyin your password 3 3 NPort 5100A Series User s Manual Initial IP Address Configuration 4 Type 2 to select Network settings and then press Enter lt lt Main menu gt gt 1 gt Basic settings 2 gt Network settings 3 gt Serial settings 4 gt Operating settings 5 gt Accessible IP settings 6 Auto warning settings Y Monitor c8 gt Ping 9 gt Change password ta Load factory default tu Wiew settings ts Save Restart tg Quit Key in your selection 2 5 Type 1 to select IP address and then press Enter lt lt Main menu Network settings gt gt 1 gt IP address 2 Metmask 3 gt Gateway 4 gt IP configuration 5 gt DNS server 1 6 gt DHS server 2 c7 gt SNMP A SHME community name C9 SNMP contact ta SHMP location h gt Auto IP repo
105. ther Use the double arrowhead buttons to move all items in one box to the other Monitor Settings De selected Items Selected Items Server Name Model COM Number MAC Address IP Address Alive Load Default of OK XM Cancel 4 Select a Refresh Rate the default is 3 seconds on the General Settings page Monitor Settings Refresh Rate 3 Second s _ Auto save monitored NPort list of OK XM Cancel 6 13 NPort 5100A Series User s Manual Configuring NPort Administrator 6 T On the Advanced Settings page select Display warning message for new event and or Play warning music for new event In the second case you must enter the path to the WAV file that you want to be played New event means that one of the NPort 5100As in the monitor is Alive or Not Alive or has lost connection with the Monitor program Monitor Settings Monitor Items General Settings Advanced Settings Monitor and Port Monitor Message Box Setting w Display warning message for new event vy Play warning music for new event C WINDOW S Media notify way Browse gt Jf OK XM Cancel Right click in the NPort 5100A list section and select Go to start Monitoring the NPort 5100A lt NPort dministrator Monitor DAR File Function Monitor View Help FL p s Exit Add Remove Go Function Monitor Stopped 1 NPort s NPort No Model MAC Address IP Address Configur
106. ticast packets for that group To configure a host as a multicast receiver over the Internet it must inform the routers on its LAN The Internet Group Management Protocol IGMP is used to communicate group membership information between hosts and routers on a LAN NPort 5100A supports IGMP version 2 Port 1 Operation mode LDP w Beqin Endl Port Destination IP address 1 C 23 11 O OoOo 4001 Destination IP address 2 a fF 4001 Destination IP address 3 f fF 4001 Destination IP address 4 fe OoOo 4001 Local listen port You could key in the IP ex 239 1 1 1 that multicast group assigned into the column of Destination IP address and next NPort would automatically add the Group receiving all packets from this group in order to fulfill the function of multicast Pair Connection Mode Pair Connection Master Mode When you select Pair Connection Master Mode for the Operation mode of one of the NPort 5100A device servers this NPort 5100A will be acting as a TCP chent KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware 14 Operation Modes Main Menu a i Port 1 Overview Quick Setup Operation mode Pair Connection Master w Exportlmport TCP alive check time 7 i 0 99 min Basic Settings igi Destination IP address Port 4001 Network Settings Serial Settings Pnrt 1 5 29 NPort 5100A Series User s Manual W
107. ting Factory Default Necessity Delimiter 2 Setting Factory Default Necessity Once the NPort 5100A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it out the NPort 5100A s Ethernet port Delimiter process Setting Factory Default Necessity Do Nothing Delimiter 1 Delimiter 2 Strip Delimiter Do Nothing Optional Delimiter 1 or Delimiter 2 The data will be transmitted when an additional byte for Delimiter 1 or an additional 2 bytes for Delimiter 2 of data is received after receiving the Delimiter Strip Delimiter When the Delimiter is received the Delimiter is deleted 1 e stripped and the remaining data is transmitted Do Nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default Necessity 0 Disable the force transmit timeout 1 to 65535 Forces the NPort 5100A s TCP IP protocol software to try to pack serial data received during the specified time into the same data frame This parameter defines the time interval during which the NPort 5100A fetches the serial data from its internal buffer If data is incoming through the serial port the NPort 5100A stores the data in the internal buffer The NPort 5100A transmits data stored in the buffer via TCP IP but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force t
108. tor NPort 5100A Series User s Manual Configuring NPort Administrator Configuration The Administrator Configuration window is divided into four parts e The top section contains the function list and online help area Windows NT does not support this chm file format e The five Administrator function groups are listed in the left section e A list of NPort 5100A serial device servers each of which can be selected to process user requirements is displayed in the right section e The activity Log which displays messages that record the user s processing history is shown in the bottom section NPort Administrator Configuration Seles File Function Configuration View Help e i Search Search IFP Function Configuration 0 NPort s No s Model MAC Address IP Address server Mame Status Configuration Monitor Port Monitor fis COM Mapping FIP Address Report Message Log 0 Monitor Log 0 Time Description 6 5 NPort 5100A Series User s Manual Configuring NPort Administrator Broadcast Search The Broadcast Search function is used to locate all NPort 5100As that are connected to the same LAN as your computer Since the Broadcast Search function searches by MAC address and not IP address all NPort 5100As connected to the LAN will be located regardless of whether or not they are part of the same subnet as the host 1 Position the cursor in the right middle section of the Administrator windo
109. tor Designated local port 2 5012 Change Password Designated local port 3 5013 Load Factory Default l Designated local port 4 5014 Save Restart z Connection control Startup None Data Packing Packing length 0 0 1024 Delimiter 1 00 Hed C Enable Delimiter 2 00 Hex CI Enable Delimiter process Do Nothing Processed only when packing length is 0 Force transmit 0 0 65535 ms TCP alive check time Setting 0 to 99 min Factory Default 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NPort 5100A automatically closes the TCP connection if there is no TCP activity for the given time Inactivity time Factory Default Necessity Setting 0 to 65535 ms 0 ms TCP connection is not closed due to an idle serial line 0 65535 ms NPort 5100A automatically closes the TCP connection if there is no serial data activity for the given time This parameter defines the maintenance status as Closed or Listen for the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the Inactivity time is set to 0 the current TCP connection is kept active until a connection close request is received Although Inactivity time is disabled the NPort 5100A will check the connection status between the NPort 5100A and remote host by sending keep alive packets periodically If the remote host does not respond to the packet NPort
110. ttings Static v IP address 192 168 127 253 Netmask tota a taetae i Gateway Back es Cance In Step 1 3 you must assign a valid IP address to the NPort 5100A before it will work in your network environment Your network system administrator should provide you with an IP address and related settings for your network In addition the server name field is a useful way to specify the location or application of different NPort 5100As MOxX lt XA Total Solution for Industrial Device Networking www moxa com NPort 5150A IP 2 MAC Address 00 90 E8 33 FF FF NP5150A_1 Serial NO Firmware Step 2 3 Operation Mode Settings Real COM PC communicate with serial device through COM port Remember to install Real COM TTY driver on PC For detail information please refer to User s Manual OTCP PC communicate with serial device through TCP port Device is TCP client Destination IP address Port 4001 Oupp PC communicate with serial device through UDP port Destination IP address Port 4001 Back Not 5 4 NPort 5100A Series User s Manual Web Console Configuration In the Step 2 3 you must specify which operation mode you will use If your operation mode is not Real COM TCP Server TCP Client or UDP mode please click Cancel and to go back to main menu and choose Operating Settings to select your proper setting MOXA Total Solution for Industrial Device Networking www moxa com NPort 51504 25
111. ty A gateway is a network gateway that acts as an entrance to another network Usually the computers that control traffic within the network or at the local Internet service provider are gateway nodes NPort 5100A needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment For correct gateway IP address information consult the network administrator IP configuration Setting Factory Default Necessity Static DHCP DHCP BOOTP BOOTP Required ATTENTION In Dynamic IP environments the firmware will retry 3 times every 30 seconds until network settings are assigned by the DHCP or BOOTP server The Timeout for each try increases from 1 second to 3 seconds to 5 seconds If the DHCP BOOTP Server is unavailable the firmware will use the default IP address 192 168 127 254 Netmask and Gateway for IP settings 5 9 NPort 5100A Series User s Manual Web Console Configuration DNS server 1 DNS server 2 Setting Factory Default E g 192 168 1 1 None Optional IP addresses of the form x x x 0 and x x x 255 are invalid When the user wants to visit a particular website the computer asks a Domain Name System DNS server for the website s correct IP address and then the computer uses the response to connect to the web server DNS is the way that Internet domain names are identified and translated into IP addresses A domain name is an alphanumeric na
112. uto report period Setting Factory Default 5 11 NPort 5100A Series User s Manual Web Console Configuration Serial Settings Click Serial Settings located under Main Menu to display serial port settings for port 1 MOXN Total Solution for Industrial Device Networking www moxa com NPort 5150A IP 253 MAC Address 00 90 E8 99 31 25 NP5150A_71 Serial NO 7 Firmware Serial Settings Main Menu f Overview Quick Setup Exportimport Port Alias Baud rate Data bits Stop bits Parity FIFO Flow ctrl Interface 1 115200 8 1 None Enable RTSICTS RS 232 Basic Settings Network Settings goceosasocoanscosceoasooaseoocosoasesesseon Reccsvecssoorncensosctocucccscessess Maced Port 1 Operating Settings Accessible IP Settings Auto Warning Settings Upgrade Firmware Monitor Change Password Load Factory Default Save Restart To modify serial settings for a particular port click either Port 1 under Serial Settings located under Main Menu on the left side of the browser window KA OXN Total Solution for Industrial Device Networking www moxa com NPort 5150A 253 MAC Address 00 90 E8 99 31 25 NP5150A_71 7 Firmware Serial Settings Main Menu Port 1 Overview Quick Setup Port alias Exportimport pasicgetngs Serial Settings Network Settings Serial Settings Baud rate 115200 Forti Data bits By Operating Settings Stop bits 4 v Accessible IP Settings Parit new Auto Warning
113. vanced Settings Select a Web content zone to specify its security settings Cookes Allow cookies that are stored on your computer Disable Enable Prompt a Localintranet Trustedsites Restricted Allow per session cookies not stored sites Disable Internet Enable A This zone contains all Web sites you Prompt haven t placed in other zones At Downloads ay File download Security level for this zone O Disable Move the slider to set the security level For this zone Medium Safe browsing and still functional Prompts before downloading potentially unsafe content Unsigned ActiveX controls will not be downloaded Enable D gt Cant daunlasel m 4 b Reset custom settings Appropriate for most Internet sites Reset boi Medium stiti lt ts siSY Reset Custom Level Default Level Cancel 2 Type 192 168 127 254 in the Address input box use the correct IP address if different from the default and then press Enter 3 Input the password if prompted The password will be transmitted with MDS5 encryption over the Ethernet Note that you will not be prompted to enter the password if the NPort 5100A is not currently password protected KA OXN Total Solution for Industrial Device Networking www moxa com Model NPort 5150A IP 5a MAC Address 00 90 E8 99 31 25 Name NP5150A_71 Serial NO 7 Firmware Password ATTENTION If
114. ve check time 7 ko 99 min Basic Settings PE Max connection 1 x Network Settings a Serial Settings Ignore jammed IP No Yes Port4 Allow driver control No Yes Operating Settings Port Data Packing Accessible IP Settings Auto Warning Settings Packing length Oo 1024 Upgrade Firmware Delimiter 1 00 Hex C Enable Monitor Delimiter 2 00 Hex C Enable Change Password Delia Do Nothi delimiter process o Nothin v i i Load Factory Default I 3 Processed only when packing length is 0 Save Restart Force transmit 0 Ko 65535 ms TCP alive check time Factory Default Necessity 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NPort 5100A automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed the NPort 5100A starts listening for another Real COM driver connection from another host 5 14 NPort 5100A Series User s Manual Web Console Configuration A Max connection Setting Factory Default Max connection is usually used when the user needs to receive data from different hosts simultaneously The factory default is 1 In this case only one specific host can access this port of the NPort 51004A and the Real COM driver on that host will have full control over the port Max Connection I Allows only 1 host s Real COM driver to open the specific NPort 5100A serial port Max Connection 2 to 8 Allows 2 to 8 host
115. ves your software investment and lets you enjoy the benefits of networking your serial devices instantly NPort 5100A device servers support automatic IP configuration protocols DHCP BOOTP and manual configuration via the handy web browser console Both methods ensure quick and effective installation And with NPort 5100A s Windows Utility installation is very straightforward since all system parameters can be stored and then copied to other device servers simultaneously Package Checklist The NPort 5100A Series products are shipped with the following items Standard Accessories 1 NPort 5100A serial device server Quick Installation Guide 4 stick on pads Document amp Software CD Power Adaptor NPort 5100A T doesn t include this accessory Product Warranty Statement Optional Accessories e DK 35A DIN Rail Mounting Kit 35 mm NOTE Notify your sales representative if any of the above items is missing or damaged Product Features The NPort 5100A have the following features Low cost credit card size Makes your serial devices Internet ready Easy wall and DIN Rail mounting Real COM TTY driver for Windows and Linux Fixed TTY driver for SCO OpenServer SCO Unixware 7 SCO Unixware 2 1 Versatile socket operation modes TCP Server TCP Client UDP and Ethernet Modem Pair Connection mode for connecting two serial devices over a network without a PC Easy to use Windows Utility for mass installation Auto detecting 10 100 Mb
116. w and then click the right mouse button lt NPort dministator Configuration EES File Function Configuration View Help FL 2 ps Fe Exit Search Search IP Function Configuration 0 NPort s NPort No Modi MAC Address IP Address Server Name Status Configuration Monitor Port Monitor a Broadcast Search i COM Mapping Zk Specify by IP Address Q IP Address Report 8 2 The Broadcast Search window will open and display the Model IP Address MAC Address and Progress of the search for that particular device Searching Searching for NPort af Stop Found 1 NPort s remain timeout 4 second s No Models MAC Address IP Address NPort 51504 00 90 E8 99 31 25 192 168 127 254 3 When the search is complete the Broadcast Search window will close and the NPort 5100As that were located will be displayed in the right pane of the Administrator window If you found more than one server connected to this network refer to the MAC address sticker on your server s to determine which server s are the ones you wish to configure To configure an NPort 5100A place the cursor over the row displaying that NPort 5100A s information and then double click the left mouse button lt NPort dministrator Configuration Secs File Function Configuration View Help FL 2 x pry Exit Search Search IP Function Configuration 1 NPort s NPort Model ss MAC Add
117. you use other web browsers remember to Enable the functions to allow cookies that are stored on your computer or allow per session cookies NPort 5100A uses cookies only for password transmission ATTENTION Refer to Chapter 3 Initial IP Address Configuration to see how to configure the IP address Examples shown in this chapter use the Factory Default IP address 192 168 127 254 5 2 NPort 5100A Series User s Manual Web Console Configuration 4 The NPort 5100A homepage will open next There are two buttons on this page Quick setup and Export Import You can click Overview at any time to go back to this page The following sections introduce these two convenient functions and all the other specific settings in the left Main Menu MOXA Total Solution for Industrial Device Networking Wwww moxa com Model NPort 51504 IP MAC Address 00 90 E8 99 31 25 Name NP5150A_71 Serial NO T Firmware Welcome to NPort web console Main Menu Overview se Wom Click Quick Setup to go 5 p Quick Setup x through three simple Exportlmport steps making your NPort Quick Setup Basic Settings ready to work Network Settings Serial Settings oe i l Click ExportAmport to Operating Settings perform configuration Accessible IP Settings Export Import backup or recovery Auto Warning Settings Upgrade Firmware Monitor Change Password Load Factory Default Save Restart ATTENTION

Download Pdf Manuals

image

Related Search

Related Contents

Sony XA-NV300T Instruction Guide  Celestix User Guide  施工説  Sch./Ref./Réf./Typ/Ref 1092/161 Mod. 1092  "取扱説明書"  

Copyright © All rights reserved.
Failed to retrieve file