Moxa Technologies NPort IA5000A Series User Manual Download Page 40

NPort IA5000A Series 

Web Console Configuration 

 

5-14 

RFC2217 Mode 

 

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: The NPort IA5000A automatically close the TCP connection if there is no TCP activity during this 
given time. After the connection has closed, the NPort IA5000A will start “listening” for another host’s TCP 
connection. 

Local TCP port 
Setting 

Factory Default 

Necessity 

1 to 65535 

4001 

Required 

The “Local TCP port” is the TCP port that the NPort IA5000A uses to listen to connections, and that other 
devices must use to contact the NPort IA5000A. To avoid conflicts with well known TCP ports, the default is set 
to 4001. 

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. 

Delimiter 1 
Setting 

Factory Default 

Necessity 

00 to FF 

None 

Optional 

Delimiter 2 
Setting 

Factory Default 

Necessity 

00 to FF 

None 

Optional 

Once the NPort IA5000A receives both delimiters through its serial port, it immediately packs all data currently 
in its buffer and sends it out the NPort IA5000A’s Ethernet port. 

Summary of Contents for NPort IA5000A Series

Page 1: ...NPort IA5000A Series User s Manual Third Edition April 2013 www moxa com product 2013 Moxa Inc All rights reserved Reproduction without permission is prohibited...

Page 2: ...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...

Page 3: ...Real COM Mode 4 2 RFC2217 Mode 4 3 TCP Server Mode 4 3 TCP Client Mode 4 3 UDP Mode 4 4 Pair Connection Mode 4 4 Ethernet Modem Mode 4 4 Reverse Telnet Mode 4 5 Disabled Mode 4 5 5 Web Console Config...

Page 4: ...s and Serial Parameters of the COM Group 6 26 Changing the Serial Port Specified as Signal Port for the COM Group 6 28 IP Address Report 6 29 7 IP Serial LIB 7 1 Overview 7 2 IP Serial LIB Function Gr...

Page 5: ...1 Introduction Welcome to the NPort IA5000A Series of industrial serial device servers The following topics are covered in this chapter Overview Package Checklist Product Features Product Specificatio...

Page 6: ...erial devices instantly The NPort IA5000A serial device servers support automatic IP configuration protocols DHCP BOOTP and manual configuration via a handy web browser console Both methods ensure qui...

Page 7: ...2 Parity None Even Odd Space Mark Flow Control RTS CTS and DTR DSR RS 232 only XON XOFF Baudrate 50 to 921 6 Kbps Serial Signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 4w...

Page 8: ...A 24 VDC NPort IA5450AI 12 to 48 VDC 512 mA 12 VDC 242 mA 24 VDC Regulatory Approvals EMC CE EN55022 Class A EN55024 FCC Part 15 Subpart B Class A Safety UL508 LVD Hazardous Location UL cUL Class 1 Di...

Page 9: ...lation is covered in subsequent chapters The following topics are covered in this chapter Panel Layout Connecting the Hardware Wiring Requirements Connecting the Power Connecting to the Network Connec...

Page 10: ...NPort IA5000A Series Getting Started 2 2 Panel Layout NPort IA5150A Series NPort IA5250A...

Page 11: ...ize If the current goes above the maximum ratings the wiring could overheat causing serious damage to your equipment Temperature Caution Please take care when handling the NPort IA5000A When plugged i...

Page 12: ...tected Ground contact is the left most contact of the 8 contact power terminal block connector when viewed from the angle shown here Connect the SG wire to an appropriate grounded metal surface Connec...

Page 13: ...ge Serial port is receiving data green Serial port is transmitting data off No data is being transmitted or received through the serial port Adjust the Pull high Pull low Resistors and Terminators for...

Page 14: ...e server s IP address Select one of the initial IP Address configuration methods to configure the NPort IA5000A s IP Address For more details about network settings see the Network Settings section fr...

Page 15: ...twork For example you would not be able to ping such a device from an outside Internet connection NPort IA5000A applications that require sending data over a public network such as the Internet requir...

Page 16: ...ommand a Connect failed message will appear as shown here After the NPort reboots its IP address should be updated to the new address and you can reconnect using either Telnet Web or Administrator to...

Page 17: ...ress 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 the n...

Page 18: ...NPort IA5000A Series Initial IP Address 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...

Page 19: ...efore you start to configure the NPort IA5000A via serial console turn off the power and connect the serial cable from the NPort IA5000A to your computer s serial port 1 Connect the NPort IA5000A s se...

Page 20: ...e Monitor function may not work properly 6 Press the key continuously and then power on the NPort IA5000A 7 NPort IA5000A will automatically switch from data mode to console mode as it receives a cont...

Page 21: ...NPort IA5000A Series Initial IP Address Configuration 3 8 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...

Page 22: ...r 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 f...

Page 23: ...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 acknowledgeme...

Page 24: ...mputer allowing the host computer to establish a connection with and get data from the serial device This operation mode also supports up to eight simultaneous connections so that multiple hosts can c...

Page 25: ...as a hand held PDA and the serial device is connected to the RS 232 port of the other NPort IA5000A The two NPort IA5000A units are then connected to each other with a cross over Ethernet cable both a...

Page 26: ...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 RAW mode does not provide the conversion function provided...

Page 27: ...Basic Settings Network Settings SNMP Settings IP Address Report Serial Settings Serial Parameters Operating Settings Real COM Mode RFC2217 Mode TCP Server Mode TCP Client Mode UDP Mode Pair Connection...

Page 28: ...D5 encryption over the Ethernet Note if the NPort IA5000A is not password protected you will not be prompted to enter a password ATTENTION If you use a web browser other than IE remember to enable the...

Page 29: ...to enter the Web Console screen Quick Setup streamlines the configuration of your NPort into three basic and quick steps that cover commonly used settings While in Quick Setup you may click the Back b...

Page 30: ...tep 3 3 you can modify the serial settings 4 Review your settings on the Finish Settings page If you are sure they are correct then click the Save Restart button to restart the device with these new s...

Page 31: ...Setting Factory Default Necessity 1 to 39 characters NP model name _ Serial No Optional Web Telnet Console The Disable option for Web console and Telnet console is included for security reasons In so...

Page 32: ...sign a valid IP address to the NPort IA5000A before the NPort can start operating within your network Your network system administrator should provide you with an IP address and related settings for y...

Page 33: ...ow the IP address of the default gateway computer in order to communicate with hosts outside the local network environment To obtain correct gateway IP address information consult your network adminis...

Page 34: ...E g Floor 1 office 2 None Optional Specifies the location string of SNMP agents such as the NPort IA5000A This string is usually set to the street address where the NPort IA5000A is physically located...

Page 35: ...uto report function will be automatically sent to this IP address Auto report to TCP port Setting Factory Default Necessity E g 4001 4002 Optional Auto report period Setting Factory Default Necessity...

Page 36: ...tory Default Necessity 5 6 7 8 8 Required When a user sets the 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 1 Req...

Page 37: ...ault 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 the NPort IA5000A will automatically close the TCP connection if there is no TCP...

Page 38: ...ort IA5000A 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 parame...

Page 39: ...t 1 to 65535 Forces the NPort IA5000A 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...

Page 40: ...and that other devices must use to contact the NPort IA5000A To avoid conflicts with well known TCP ports the default is set to 4001 Packing length Setting Factory Default Necessity 0 to 1024 0 Optio...

Page 41: ...he data in its internal buffer The NPort IA5000A transmits the 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 spec...

Page 42: ...her host s TCP connection 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...

Page 43: ...sent until all the data from the first group has been successfully transmitted If you select Yes for Ignore jammed IP hosts that are not responding will be ignored but the data will still be transmit...

Page 44: ...ffer If data is incoming through the serial port the NPort IA5000A stores the data in the internal buffer TheNPort IA5000A transmits data stored in the buffer via TCP IP but only if the internal buffe...

Page 45: ...IA5000A so that users do not need to configure the program TCP Client Mode TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional 0 min TCP connection is not closed due to a...

Page 46: ...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...

Page 47: ...ransmit 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 seri...

Page 48: ...default A TCP connection will be established on startup and will remain active indefinitely Any Character None A TCP connection will be established when any character is received from the serial inter...

Page 49: ...F None Optional Once the NPort IA5000A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it out the NPort IA5000A s Ethernet port ATTENTI...

Page 50: ...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...

Page 51: ...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...

Page 52: ...Connection Slave Mode When you select Pair Connection Slave Mode for the Operation mode of one of the NPort IA5000A device servers this NPort IA5000A will be acting as a TCP server TCP alive check tim...

Page 53: ...ial port and then enter data mode Disconnection request from local site When the NPort IA5000A is in data mode the user can drive the DTR signal to OFF or send from the local serial port to the NPort...

Page 54: ...S4 Line feed character default 10 ASCII 6 S5 Backspace character default 8 ASCII 7 S6 Wait time for dial tone always 2 unit sec no action applied 8 S7 Wait time for carrier default 3 unit sec 9 S8 Pa...

Page 55: ...Required Each of the NPort IA5000A 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 CR LF Setting Fact...

Page 56: ...the NPort IA5000A 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 the NPort IA5000A You can allow one of the follow...

Page 57: ...192 168 1 254 192 168 1 128 255 255 255 128 Auto Warning Settings Auto warning Email and SNMP trap Mail Server Mail server Setting Factory Default Necessity IP Address or Domain Name None Optional Use...

Page 58: ...pe Cold start This refers to starting the system from power off contrast this with warm start When performing a cold start the NPort IA5000A will automatically issue an Auto warning message by e mail...

Page 59: ...of devices almost instantaneously when exceptions occur The NPort IA5000A Series supports different methods for warning engineers automatically such as by email SNMP trap and relay output Users can c...

Page 60: ...feature click the Event Type Trap checkbox Upgrade Firmware Keep your NPort IA5000A up to date with the latest firmware from Moxa Occasionally compare your NPort firmware to the version currently ava...

Page 61: ...eb Console Configuration 5 35 Monitor Async Click Async under Monitor to show the current status of the serial port Monitor Async Settings Click Async Setting under Monitor to show the run time settin...

Page 62: ...word Leave the password boxes blank to erase the password If the password is erased then NPort IA5000A will not have password protection ATTENTION If you forget the password the ONLY way to configure...

Page 63: ...tory Default This function will reset all of NPort IA5000A s settings to the factory default values Be aware that previous settings will be lost Save Restart Click Save Restart will save the current c...

Page 64: ...onfiguration Import Configuration Monitor Port Monitor COM Mapping On line COM Mapping Off line COM Mapping COM Grouping Creating a COM Group Deleting a COM Group Adding a Port to a COM Group Removing...

Page 65: ...bundles NPort Administrator and the IP Serial Library and provides everything you need to manage monitor and modify your NPort IA5000A from a remote location In this chapter all the figures are captu...

Page 66: ...strator 6 3 4 Click Install to proceed with the installation 5 The Installing window reports the progress of the installation 6 Click Next to proceed with the installation 7 Click Finish to complete t...

Page 67: ...rements is displayed in the right section The activity Log which displays messages that record the user s processing history is shown in the bottom section Broadcast Search The Broadcast Search functi...

Page 68: ...configure To configure an NPort IA5000A place the cursor over the row displaying that NPort IA5000A s information and then double click the left mouse button ATTENTION Before modifying the NPort IA500...

Page 69: ...is NPort IA5000A will not require re entering the server password Blank The NPort IA5000A is not password protected and Broadcast Search was used to locate it Fixed The NPort IA5000A is not password p...

Page 70: ...nction definition To modify the configuration you must first click in the modify box to activate the parameter setting box ATTENTION You can simultaneously modify the configurations of multiple NPort...

Page 71: ...usly upgrade the firmware of multiple NPort IA5000As that are of the same model To select multiple NPort IA5000As hold down the Ctrl key when selecting an additional NPort IA5000A or hold down the Shi...

Page 72: ...wnloading the file ATTENTION You can simultaneously import the same configuration file into multiple NPort IA5000As that are of the same model To select multiple NPort IA5000As hold down the Ctrl key...

Page 73: ...ne box to the other Use the double arrowhead buttons to move all items in one box to the other 6 Select a Refresh Rate the default is 3 seconds on the General Settings page 7 On the Advanced Settings...

Page 74: ...Monitoring the NPort IA5000A 9 For this example the NPort IA5000As shown in the list will be monitored 10 When one of the NPort IA5000As loses connection with the Monitor program a warning alert will...

Page 75: ...nitor than under Monitor 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 on...

Page 76: ...line COM Mapping Connect NPort IA5000A to the network Set NPort IA5000A to the proper IP address Map COMs to your host Apply Change 2 Off line COM Mapping Map COMs to your host Apply Change Connect th...

Page 77: ...h 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 bu...

Page 78: ...he serial parameters to different values after the program opens the port via API 8 After setting the COM Mapping remember to select Apply Change to save the information in the host system registry Th...

Page 79: ...ort this configuration file to another host and use the same COM Mapping settings in the other host Off line COM Mapping 1 Add a target by inputting the IP address and selecting the Model Name without...

Page 80: ...you will be able to control multiple physical serial ports simultaneously by operating only one COM port Creating a COM Group Follow the steps below to add multiple COM ports into one group 1 Select...

Page 81: ...h group is 32 3 Select the Grouping selected port s together checkbox 4 On the COM Grouping page you can set Read and Write permissions for every serial port It is necessary to set Signal Status in or...

Page 82: ...t of a Group You will be able to view the serial ports that were assigned to and removed from the Group Click Apply to apply the settings 6 Finally click Yes to confirm Deleting a COM Group Follow the...

Page 83: ...d check the Auto enumerating COM number for selected ports to use the COM number you select as the first starting COM number and then click OK 3 You will be able to view the serial ports that were ass...

Page 84: ...llow the steps below to add a serial port into an existing COM Group 1 Select the serial port that you are adding and right click to select COM Settings 2 Select the COM number of the COM Group you ar...

Page 85: ...l ports that were assigned to and removed from the Group Click Apply to apply the settings 4 Finally click Yes to confirm Removing a Port from a COM Group Follow the steps below to remove a serial por...

Page 86: ...trator 6 23 2 Select a COM number that is not in use or assigned to a Group and click OK 3 You will be able to view the serial ports that were assigned to and removed from the Group Click Apply to app...

Page 87: ...n the following subsections we examine three ways in which the serial ports in a COM Group can be modified Changing the COM Number of a COM Group 1 Select all serial ports in the Group and right click...

Page 88: ...strator 6 25 3 Select the Grouping selected port s together checkbox and then click OK 4 You will be able to view the serial ports that were assigned to and removed from the Group Click Apply to apply...

Page 89: ...ministrator 6 26 Changing Advanced Settings and Serial Parameters of the COM Group 1 Check the port specified on the COM Grouping page as the signal port 2 Select the Signal Status controlled port and...

Page 90: ...NPort IA5000A Series Configuring NPort Administrator 6 27 3 The Advanced Settings and Serial Parameters pages will be available for modification...

Page 91: ...g NPort Administrator 6 28 Changing the Serial Port Specified as Signal Port for the COM Group 1 Selecta serial port in the Group and then right click and select COM Settings 2 Check the Grouping sele...

Page 92: ...port IP Address Report When NPort IA5000A is used in a dynamic IP environment users must spend more time with IP management tasks NPort IA5000A Series products help out by periodically reporting thei...

Page 93: ...lect the IP Address Report and click the right mouse button to select Settings 3 Configure the Local Listen Port to be the same as the NPort IA5000A s Auto report to UDP port setting 4 Click Go to sta...

Page 94: ...7 7 IP Serial LIB The following topics are covered in this chapter Overview IP Serial LIB Function Groups Example Program...

Page 95: ...communication between the NPort IA5000A and host computer s Real COM driver The NPort IA5000A uses a data port and command port to provide pure data transfer without decode and encode Compared to usin...

Page 96: ..._open NPortip port nsio_ioctl portid B9600 BIT_8 STOP_1 P_NONE sleep 1000 nsio_read port buffer 200 nsio_close portid nsio_end data buffer 255 chars 1st port port handle initial IP Serial Library 1st...

Page 97: ...Port Pinout Diagrams Ethernet Port Pinouts RS 232 422 485 male DB9 Pinouts RS 422 485 5 contact terminal block Pinouts for the NPort IA5150A Series Power Input and Relay Output Pinouts Serial Cable W...

Page 98: ...xD B Data B 4 DTR RxD A Data A 5 GND GND GND 6 DSR 7 RTS 8 CTS 9 Note The NPort IA5150A Series s DB9 ports only support RS 232 signals RS 422 485 5 contact terminal block Pinouts for the NPort IA5150A...

Page 99: ...NPort IA5000A Series Pinouts and Cable Wiring A 3 Serial Cable Wiring Diagrams Female DB9 to Male DB9 Female DB9 to Male DB25...

Page 100: ...NPort IA5000A Series Pinouts and Cable Wiring A 4 Ethernet Cables...

Page 101: ...orts 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 po...

Page 102: ...l 42 Host name server names server 43 Whois nickname 49 Login Host Protocol Login 53 Domain Name Server domain 69 Trivial Transfer Protocol TETP 70 Gopler Protocol 79 Finger Protocol 80 World Wide Web...

Page 103: ...ddress ipInUnknownProtos IcmpInRedirects ifAdminStatus ipInDiscards IcmpInEchos ifOperStatus ipInDelivers IcmpInEchoReps ifLastChange ipOutRequests IcmpInTimestamps ifInOctets ipOutDiscards IcmpTimest...

Page 104: ...nmpInBadValues AtIfIndex tcpCurrEstab snmpInReadOnlys AtPhysAddress tcpInSegs snmpInGenErrs AtNetAddress tcpOutSegs snmpInTotalReqVars Address Translation MIB TCP MIB SNMP MIB AtNetAddress tcpRetransS...

Page 105: ...2PortEntry rs232AsyncPortEntry rs232PortIndex rs232AsyncPortIndex rs232PortType rs232AsyncPortBits rs232PortInSigNumber rs232AsyncPortStopBits rs232PortOutSigNumber rs232AsyncPortParity rs232PortInSpe...

Page 106: ...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 NPor...

Page 107: ...02 03 the MAC 0 is 0 MAC 1 is 0x90 hex MAC 2 is 0xE8 hex and so on 4 Serial Number 4 DWORD Little endian 5 IP Address 4 DWORD Little endian 6 Netmask 4 DWORD Little endian 7 Default Gateway 4 DWORD Li...

Page 108: ...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 interferen...

Reviews: