Moxa Technologies NPort 5100 Series Скачать руководство пользователя страница 42

NPort 5100 Series User’s Manual 

Web Console Configuration 

 

5-17

TCP alive check time 

Setting 

Factory Default 

Necessity 

0 to 99 min 

7 min 

Optional 

0 min: TCP connection is not closed due to an idle TCP connection. 

1 to 99 min: NPort 5100 automatically closes the TCP connection if there is no TCP activity for 
the given time. 

Inactivity time 

Setting 

Factory Default 

Necessity 

0 to 65535 ms 

0 ms 

Optional 

0 ms: TCP connection is not closed due to an idle serial line. 

0-65535 ms: NPort 5100 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 5100 will check the connection 
status between the NPort 5100 and remote host by sending “keep alive” packets periodically. If the 
remote host does not respond to the packet, NPort 5100 assumes that the connection was closed 
down unintentionally. NPort 5100 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.

 

 

 

ATTENTION 

Inactivity time is ONLY active when “TCP connect on” is set to “Any character.”

 

Ignore jammed IP 

Setting  

Factory Default   

Necessity  

No or Yes  

No  

Optional 

Previously, when Max connections > 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 

0 to 1024 

Optional 

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. 

Содержание NPort 5100 Series

Страница 1: ......

Страница 2: ...Manual Second Edition December 2007 www moxa com product Moxa Inc Tel 886 2 8919 1230 Fax 886 2 8919 1231 Web www moxa com MOXA Technical Support Worldwide support moxa com The Americas support usa m...

Страница 3: ...t 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 imp...

Страница 4: ...efault IP Address 3 2 NPort 5100 Administration Suite 3 2 ARP 3 2 Telnet Console 3 3 Serial Console 19200 n 8 1 3 6 Chapter 4 Choosing the Proper Operation Mode 4 1 Overview 4 2 Real COM Mode 4 2 TCP...

Страница 5: ...uration 6 11 Import Configuration 6 11 Monitor 6 12 Port Monitor 6 18 COM Mapping 6 18 On line COM Mapping 6 19 Off line COM Mapping 6 23 IP Address Report 6 24 Chapter 7 IP Serial LIB 7 1 Overview 7...

Страница 6: ...nd NPort 5110 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 Overview Package Checklist...

Страница 7: ...fective installation And with NPort 5100 s Windows Utility installation is very straightforward since all system parameters can be stored and then copied to other device servers simultaneously Package...

Страница 8: ...Rx GND Serial Line Protection 15 KV ESD for all signals RS 485 Data Direction ADDC Automatic Data Direction Control NPort 5150 Serial Interface Interface RS 232 422 485 No of Ports 1 Port Type Male D...

Страница 9: ...QNX Configuration Web Browser Serial Telnet Console or Windows Utility Power Requirements Power Input 12 to 48 VDC Power Consumption NPort 5110 128 7 mA 12V 72 mA 24V NPort 5130 200 mA 12V 106 mA 24V...

Страница 10: ...apter includes information about installing NPort 5100 The following topics are covered Panel Layout of NPort 5100 Series Connecting the Hardware Connecting the Power Connecting to the Network Connect...

Страница 11: ...k on pad NOTE The layouts of NPort 5130 and NPort 5150 are the same as for NPort 5110 Connecting the Hardware This section describes how to connect the NPort 5100 to serial devices for first time test...

Страница 12: ...P server did not respond properly Steady on Power is on and NPort 5100 is functioning normally Green Blinking The device server has been located by Administrator s Location function Ready Off Power is...

Страница 13: ...ing Started 2 4 ATTENTION Do not use the 1 K setting on the NPort 5150 5130 when using the RS 232 interface Doing so will degrade the RS 232 signals and shorten the maximum allowed communication dista...

Страница 14: ...nfigure 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 chapte...

Страница 15: ...P address directly from a public network For example you would not be able to ping such a device from an outside Internet connection NPort 5100 applications that require sending data over a public net...

Страница 16: ...After issuing this command a Connect failed message will appear as shown here After the NPort 5100 reboots its IP address should be updated to the new address and you can reconnect using either Telnet...

Страница 17: ...IP Address Configuration 3 4 4 Type 2 to select Network settings and then press Enter 5 Type 1 to select IP address and then press Enter 6 Use the Backspace key to erase the current IP address type in...

Страница 18: ...ss Configuration 3 5 7 Press any key to continue 8 Type m and then press Enter to return to the main menu 9 Type s and then press Enter to Save Restart the system 10 Type y and then press Enter to sav...

Страница 19: ...0 s serial port 1 directly to your computer s male RS 232 422 485 serial port 2 From the Windows desktop click Start Programs PComm Lite Terminal Emulator 3 When the PComm Terminal Emulator window ope...

Страница 20: ...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 5100 has been set up for password protection 9 Start configur...

Страница 21: ...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 definitio...

Страница 22: ...f drivers for various operating systems In addition to providing socket access the NPort 5100 also comes with a Real COM TTY driver that transmits all serial signals intact This means that your existi...

Страница 23: ...river that comes with your NPort 5100 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 TCP Se...

Страница 24: ...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 ide...

Страница 25: ...rse Telnet Mode 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 l...

Страница 26: ...are covered in this chapter Opening Your Browser Basic Settings Network Settings Serial Settings Operating Settings Real COM Mode TCP Server Mode TCP Client Mode UDP Mode Pair Connection Mode Ethernet...

Страница 27: ...default and then press Enter 3 Input the password if prompted The password will be transmitted with MD5 encryption over the Ethernet Note that you will not be prompted to enter the password if the NPo...

Страница 28: ...t port Remember to use NPort Administrator to export the configuration file when you have finished the configuration After using the Reset button to load factory defaults your configuration can be eas...

Страница 29: ...factory default for both Web console and Telnet console is Enable Web console Setting Factory Default Necessity Enable or Disable Enable Required Telnet console Setting Factory Default Necessity Enab...

Страница 30: ...onsole screen s IP configuration drop down box IP configuration Method Function Definition Static User defined IP address Netmask Gateway DHCP DHCP Server assigned IP address Netmask Gateway DNS and T...

Страница 31: ...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 Net...

Страница 32: ...as a client must know the IP address of the server If the DHCP server assigns a new IP address to NPort 5100 the host must have some way of determining NPort 5100 s new IP address NPort 5100 products...

Страница 33: ...ncluded to allow easy identification of the serial devices that are connected to NPort 5100 s serial port Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device s...

Страница 34: ...R DSR Xon Xoff RTS CTS Required FIFO Setting Factory Default Necessity Enable Disable Enable Required NPort 5100 s serial ports provide a 16 byte FIFO both in the Tx and Rx directions To prevent data...

Страница 35: ...this port of the NPort 5100 and the Real COM driver on that host will have full control over the port Max Connection 1 Allows only 1 host s Real COM driver to open the specific NPort 5100 serial port...

Страница 36: ...d 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 Necessity No or Yes No Optional If max conne...

Страница 37: ...eived during the specified time into the same data frame This parameter defines the time interval during which NPort 5100 fetches the serial data from its internal buffer If data is incoming through t...

Страница 38: ...if there is no serial data activity for the given time After the connection is closed the NPort 5100 starts listening for another host s TCP connection This parameter defines the maintenance status a...

Страница 39: ...e jammed IP Setting Factory Default Necessity No or Yes No Optional Previously when Max connections 1 and the serial device is transmitting data if any one of the connected hosts is not responding it...

Страница 40: ...nd the remaining data is transmitted Do nothing The data will be transmitted when the Delimiter is received Force transmit Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional 0 Disable the f...

Страница 41: ...ctory Default Necessity 1 to 65535 4001 Required The Local TCP port is the TCP port that NPort 5100 uses to listen to connections and that other devices must use to contact NPort 5100 To avoid conflic...

Страница 42: ...NPort 5100 assumes that the connection was closed down unintentionally NPort 5100 will then force the existing TCP connection to close ATTENTION The Inactivity time should at least be set larger than...

Страница 43: ...he Delimiter is deleted i 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 to...

Страница 44: ...the NPort 5100 to connect actively to the remote host whose IP address is set by this parameter ATTENTION Up to 4 connections can be established between the NPort 5100 and hosts The connection speed o...

Страница 45: ...is 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 DCD On DCD...

Страница 46: ...Delimiter is deleted i 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 to 655...

Страница 47: ...NPort 5100 To avoid conflicts with well known UDP ports the default is set to 4001 Pair Connection Mode Pair Connection Mode employs two NPort 5100 device servers in tandem and can be used to remove...

Страница 48: ...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 using Pair Connection Mode you must select...

Страница 49: ...rt from the serial port and then requests a TCP connection from the remote Ethernet Modem or PC This is where IP is the IP address of the remote Ethernet modem or PC and TCP port is the TCP port numbe...

Страница 50: ...t ATQ0 11 ATSr n Change the contents of S register See S registers 12 ATSr Read the contents of S register See S registers 13 ATV Result code type ATV0 for digit code ATV1 for text code 0 OK 1 connect...

Страница 51: ...esponse time always 6 unit 1 10 sec no action applied 11 S10 Delay for hang up after carrier always 14 unit 1 10 sec no action applied 12 S11 DTMF duration and spacing always 100 ms no action applied...

Страница 52: ...port numbers set port numbers to 4001 for port 1 4002 for port 2 etc Map CR LF Setting Factory Default Necessity CR LF or CR LF CR LF Required If data received through NPort 5100 s Ethernet port is s...

Страница 53: ...th a specific IP address can access the NPort 5100 Enter IP address 255 255 255 255 e g 192 168 1 1 255 255 255 255 Hosts on a specific subnet can access the NPort 5100 Enter IP address 255 255 255 0...

Страница 54: ...ty IP Address or Domain Name None Optional User name Setting Factory Default Necessity 1 to 15 characters None Optional Password Setting Factory Default Necessity 1 to 15 characters None Optional From...

Страница 55: ...rming a warm start NPort 5100 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 auth...

Страница 56: ...E is powered off When the DSR changes the NPort 5210 5230 will immediately send an e mail or send an SNMP trap Mail Setting Factory Default Necessity Enable Disable Disable Optional This feature helps...

Страница 57: ...nk to erase the password If the password is erased then NPort 5100 will not have password protection ATTENTION If you forget the password the ONLY way to configure NPort 5100 is by using the Reset but...

Страница 58: ...5100 Series User s Manual Web Console Configuration 5 33 Load Factory Default This function will reset all of NPort 5100 s settings to the factory default values Be aware that previous settings will b...

Страница 59: ...hapter Overview Installing NPort Administrator Configuration Broadcast Search Unlock Password Protection Configuring the NPort 5100 Upgrading the Firmware Export Configuration Import Configuration Mon...

Страница 60: ...ng 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 everything you need to m...

Страница 61: ...uring NPort Administrator 6 3 3 Click Next to install the program using the default program name or select a different name 4 Click Install to proceed with the installation 5 The Installing window rep...

Страница 62: ...ded into four parts The top section contains the function list and online help area Windows NT does not support this chm file format The five Administrator function groups are listed in the left secti...

Страница 63: ...nected to the same LAN as your computer Since the Broadcast Search function searches by MAC address and not IP address all NPort 5100s connected to the LAN will be located regardless of whether or not...

Страница 64: ...erver s to determine which server s are the ones you wish to configure To configure an NPort 5100 place the cursor over the row displaying that NPort 5100 s information and then double click the left...

Страница 65: ...status will change to Unlock and the Administrator utility will keep this NPort 5100 in the Unlock status throughout this Administrator session The meanings of the six Status states are given below n...

Страница 66: ...the password has not yet been entered from within the current Administrator session Unlock Fixed The NPort 5100 is password protected Specify by IP address was used to locate it and the password has...

Страница 67: ...in the modify box to activate the parameter setting box ATTENTION You can simultaneously modify the configurations of multiple NPort 5100s that are of the same model To select multiple NPort 5100s ho...

Страница 68: ...rmware function to start upgrading the firmware 3 Select the correct ROM file to download 4 Wait while the Upgrade Firmware action is processed ATTENTION You can simultaneously upgrade the firmware of...

Страница 69: ...hat can be used to produce a text file containing the current configuration of a particular NPort 5100 Import Configuration The Import Configuration function is used to import an NPort 5100 configurat...

Страница 70: ...hold down the Ctrl key when selecting an additional NPort 5100 or hold down the Shift key to select a block of NPort 5100s Monitor Use one of the following two methods to start the Monitor function Br...

Страница 71: ...er s Manual Configuring NPort Administrator 6 13 Monitor Add Target Rescan 1 Click Monitor under Function 2 Click Monitor Add Target from the menu bar or click the right mouse button and select Add Ta...

Страница 72: ...l Configuring NPort Administrator 6 14 4 Select your targets from the list and then click OK Once the Monitor function is running 1 The NPort 5100 list will appear on the Monitor screen 2 Right click...

Страница 73: ...Select or de select Monitor Items Use 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 4 Sele...

Страница 74: ...nt 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 5100s in the monitor is Alive or Not Alive or has lost connection with th...

Страница 75: ...automatically The warning music will be played at the same time 9 In the Monitor screen you can see that the NPort 5100s that are Not Alive are shown in red color 10 If the NPort 5100 gets reconnecte...

Страница 76: ...e are two ways to set up the NPort 5100 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 5100 is connecte...

Страница 77: ...work Configure NPort 5100 s IP address On line COM Mapping 1 Broadcast Search for NPort 5100s on the network 2 Select the COM Mapping function group 3 Add the target to which you would like to map COM...

Страница 78: ...ll Tx data has been sent out from the NPort 5100 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 Di...

Страница 79: ...t by default this function is disabled 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 exhibi...

Страница 80: ...st computer will not have the ability to use the COM port until after Apply Change is selected 10 Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host 11 To...

Страница 81: ...or 6 23 Off line COM Mapping 1 Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort 5100 to the network 2 Modify the port settings as needed 3...

Страница 82: ...periodically reporting their IP address to the IP location server in case the dynamic IP has changed 1 Configure the NPort 5100 with Dynamic IP settings DHCP BOOTP or DHCP BOOTP Assign the remote Aut...

Страница 83: ...NPort 5100 Series User s Manual Configuring NPort Administrator 6 25 4 Click Go to start receiving the Auto IP address report from the NPort 5100...

Страница 84: ...7 7 Chapter 7 IP Serial LIB The following topics are covered in this chapter Overview IP Serial LIB Function Groups Example Program...

Страница 85: ...rstand 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 5100 uses 2 TCP port...

Страница 86: ...etWriteTimeouts nsio_lstatus nsio_data_status nsio_break nsio_break_on nsio_break_off nsio_breakcount Example Program char NPort 5100 Nip 192 168 1 10 char buffer 255 int port 1 int portid nsio_init p...

Страница 87: ...Wiring The following topics are covered in this appendix Port Pinout Diagrams Ethernet Port Pinouts NPort 5110 Serial Port Pinouts NPort 5130 Serial Port Pinouts NPort 5150 Serial Port Pinouts Cable...

Страница 88: ...GND 6 DSR 7 RTS 8 CTS 1 5 6 9 NPort 5130 Serial Port Pinouts DB9 Male RS 422 485 Port Pinouts for NPort 5130 5130 T Pin RS 422 2 wire RS 485 4 wire RS 485 1 TxD A 2 TxD B 3 RxD B Data B 4 RxD A Data A...

Страница 89: ...ies User s Manual Pinouts and Cable Wiring A 3 Cable Wiring Diagrams Ethernet Cables Straight Through Cable RJ45 Plug Pin 1 Cable Wiring 3 3 6 6 1 1 2 2 Cross Over Cable RJ45 Plug Pin 1 Cable Wiring 3...

Страница 90: ...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 sh...

Страница 91: ...stat 13 Daytime 35 Any private printer server 39 Resource Location Protocol 42 Host name server names server 43 Whois nickname 49 Login Host Protocol Login 53 Domain Name Server domain 69 Trivial Tran...

Страница 92: ...rrors IcmpInParmProbs SysLocation ifSpeed ipForwDatagrams IcmpInSrcQuenchs SysServices ifPhysAddress ipInUnknownProtos IcmpInRedirects ifAdminStatus ipInDiscards IcmpInEchos ifOperStatus ipInDelivers...

Страница 93: ...tcpActiveOpens snmpInASNParseErrs UdpLocalPort tcpPassiveOpens snmpInTooBigs tcpAttempFails snmpInNoSuchNames Address Translation MIB tcpEstabResets snmpInBadValues AtIfIndex tcpCurrEstab snmpInReadO...

Страница 94: ...e rs232AsyncPortTable rs232PortEntry rs232AsyncPortEntry rs232PortIndex rs232AsyncPortIndex rs232PortType rs232AsyncPortBits rs232PortInSigNumber rs232AsyncPortStopBits rs232PortOutSigNumber rs232Asyn...

Страница 95: ...iod 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...

Страница 96: ...er 4 DWORD Little endian 5 IP Address 4 DWORD Little endian 6 Netmask 4 DWORD Little endian 7 Default Gateway 4 DWORD Little endian 8 Firmware Version 4 DWORD Little endian Ver1 3 4 0x0103040 9 AP ID...

Страница 97: ...l ctrica AGUASCALIENTES MATRIZ GUADALAJARA ventas siesamx com Priv Cerro de la bufa No 105 Fracc Lomas del Campestre Aguascalientes Ags C P 20129 Tel 449 145 6701 Fax 449 145 6703 Siempre Viva No 113...

Отзывы: