background image

NPort IA5150A/IA5250A Series   

User’s Manual 

Second Edition, December 2012 

www.moxa.com/product 

 

© 2012 Moxa Inc. All rights reserved. 

Reproduction without permission is prohibited. 

Summary of Contents for NPort IA5150A

Page 1: ...NPort IA5150A IA5250A Series User s Manual Second Edition December 2012 www moxa com product 2012 Moxa Inc All rights reserved Reproduction without permission is prohibited ...

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

Page 3: ...ode 4 3 UDP Mode 4 4 Pair Connection Mode 4 4 Ethernet Modem Mode 4 4 Reverse Telnet Mode 4 4 Disabled Mode 4 5 5 Web Console Configuration 5 1 Opening Your Browser 5 2 Export Import 5 5 Basic Settings 5 5 Network Settings 5 6 SNMP Settings 5 8 IP Address Report 5 8 Serial Settings 5 9 Serial Parameters 5 10 Operating Settings 5 11 Real COM Mode 5 11 RFC2217 Mode 5 14 TCP Server Mode 5 16 TCP Clie...

Page 4: ...M 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 Groups 7 2 Example Program 7 3 A Pinouts and Cable Wiring A 1 Port Pinout Diagrams A 2 Ethernet Port Pinouts A 2 RS 232 422 485 male DB9 Pinouts A 2 RS 422 485 5 contact terminal block Pinouts for the NPort IA5150A Series A 2 Power Inp...

Page 5: ... 1 port RS 232 422 485 industrial automation device server with serial LAN power surge protection two 10 100BaseT X ports 1 IP 40 to 75 C operating temperature 2KV isolation NPort IA5250A 2 port RS 232 422 485 industrial automation device server with serial LAN power surge protection two 10 100BaseT X ports 1 IP 0 to 60 C operating temperature NPort IA5250A T 2 port RS 232 422 485 industrial autom...

Page 6: ... of networking your serial devices instantly The NPort IA5150A IA5250A serial device servers support automatic IP configuration protocols DHCP BOOTP and manual configuration via a handy web browser console Both methods ensure quick and effective installation And with the NPort IA5150A IA5250A s Windows Utility installation is very straightforward since all system parameters can be stored and then ...

Page 7: ... 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 Tx Tx Rx Rx GND RS 485 2w Data Data GND Software Network Protocols ICMP IP TCP UDP DHCP BOOTP Telnet Rtelnet DNS SNMP HTTP SMTP SNTP IGMP Configuration Options Web Console Serial Console Telnet Console Windows Utility Windows Real COM Drivers Windows 95 98 ME NT 2000 Wind...

Page 8: ...L508 LVD Hazardous Location UL cUL Class 1 Division 2 Groups A B C and D ATEX Class I Zone 2 EMS EN61000 4 2 ESD Criteria B Level 3 EN61000 4 3 RS Criteria A Level 3 EN61000 4 4 EFT Criteria B Level 4 EN61000 4 5 Surge Criteria B Level 3 for power line Level 2 for communication line EN61000 4 6 CS Criteria A Level 3 EN61000 4 8 Criteria A Level 3 EN61000 4 11 Shock IEC60068 2 27 Freefall IEC60068 ...

Page 9: ...nstallation 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 Connecting to a Serial Device LED Indicators Adjust the Pull high Pull low Resistors and Terminators for RS 422 RS 485 Ports ...

Page 10: ...NPort IA5150A IA5250A Series Getting Started 2 2 Panel Layout NPort IA5150A Series NPort IA 5250A ...

Page 11: ...t dissipation You should heed the following Use separate paths to route wiring for power and devices If power wiring and device wiring paths must cross make sure the wires are perpendicular at the intersection point NOTE Do not run signal or communication wiring and power wiring in the same wire conduit To avoid interference wires with different signal characteristics should be routed separately Y...

Page 12: ...ords NPort IA does NOT support a closed chain Connecting to a Serial Device Connect the serial data cable between the NPort IA5150A IA5250A and the serial device Serial data cables are optional accessories for NPort LED Indicators The top panels of all NPort IA5150A IA5250As have four LED indicators as described in the following table LED Name LED Color LED Function PWR1 PWR2 red Power is being su...

Page 13: ... the various environments and this is why the NPort IA5150A IA5250A series provides DIP switches for setting the pull high low resistor values for each serial port The DIP switches are located on the PCB board you will need to take off the covers to access them To set the pull high resistor to 150 KΩ flip DIP1 to OFF and then set the pull low resistor to 150 KΩ and then flip DIP2 to OFF To set the...

Page 14: ...ce server s IP address Select one of the initial IP Address configuration methods to configure the NPort IA5150A IA5250A 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 Initializing the NPort s IP Address Factory Default IP Address NPort Administration Suite ARP Telnet Co...

Page 15: ...or example you would not be able to ping such a device from an outside Internet connection NPort IA5150A IA5250A 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 some useful utility programs that are use...

Page 16: ...er issuing this command 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 check that the update was successful 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 IA5...

Page 17: ...P 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 the new IP address and then press Enter ...

Page 18: ...rt IA5150A IA5250A 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: ...Before you start to configure the NPort IA5150A IA5250A via serial console turn off the power and connect the serial cable from the NPort IA5150A IA5250A to your computer s serial port 1 Connect the NPort IA5150A IA5250A s serial port 1 directly to your computer s male RS 232 serial port From the Windows desktop click on Start Programs PComm Lite Terminal Emulator 2 When the PComm Terminal Emulato...

Page 20: ...or function may not work properly 6 Press the key continuously and then power on the NPort IA5150A IA5250A 7 NPort IA5150A IA5250A will automatically switch from data mode to console mode as it receives a continuous string of 8 Input the password when prompted Note that this page will only appear when the NPort IA5150A IA5250A has been set up for password protection ...

Page 21: ...NPort IA5150A IA5250A 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: ...mputer 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 RFC2217 Mode TCP Server Mode TCP Client Mode UDP Mode Pair Connection Mode Ethernet Modem Mode Reverse Telnet Mode Disabled Mode...

Page 23: ...e 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 unicast or multicast of data to only one IP or groups of IP addresses Rea...

Page 24: ...omputer 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 collect data from the same serial device at the same time As illustrated in the figure data transmission proceeds as follows 1 The host requests a connection from the NPort IA5150A IA5250A configured ...

Page 25: ... held PDA and the serial device is connected to the RS 232 port of the other NPort IA5150A IA5250A The two NPort IA5150A IA5250A units 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 i e through one or more routers Pair Connection Mode transparently transfers both data and m...

Page 26: ...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 by Telnet If the connected devices need to use the CR LF conversion function when controlling then users must choose Reverse Telnet mode Disabled Mode When the Operation Mode for a particular port is set ...

Page 27: ...port 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 Mode Ethernet Modem Mode Reverse Telnet Mode Disabled Mode Accessible IP Settings Auto Warning Settings Auto warning Email and SNMP trap Event Type Upgrade Firmware Monitor Monitor Line Monitor ...

Page 28: ...yption over the Ethernet Note if the NPort IA5150A IA5250A 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 allow cookies that are stored on your computer or allow per session cookies functions The NPort IA5150A IA5250A uses cookies only for the purpose of transmitting password ATTENTION Refer to Chapter ...

Page 29: ...t be allowed 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 button at any time to return to the previous step or the Cancel button to reverse all settings For detailed information about the different settings refer to the Basic Settings Network Set...

Page 30: ...the Step 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 settings Note If your IP address changes you will not be able to return to the Home Page with the Home button ...

Page 31: ... name 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 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 IA5150A IA5250A The factory default for both...

Page 32: ...ssign a valid IP address to the NPort IA5150A IA5250A before the NPort can start operating within your network 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 IA5150A IA5250A will not have a valid connection to the network First time users may refer to Chapter 3 Initia...

Page 33: ...e traffic within the network or at the local Internet service provider are gateway nodes The NPort IA5150A IA5250A needs to know 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 administrator IP configuration Setting Factory Default Necessity Static DHCP DHCP...

Page 34: ... name and telephone or pager number Location Setting Factory Default Necessity 1 to 39 characters E g Floor 1 office 2 None Optional Specifies the location string of SNMP agents such as the NPort IA5150A IA5250A This string is usually set to the street address where the NPort IA5150A IA5250A is physically located IP Address Report When NPort IA5150A IA5250A products are used in a dynamic IP enviro...

Page 35: ...the Auto 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 Time interval in seconds 10 Optional Serial Settings Click Serial Settings located under Main Menu to display the serial port settings To modify the serial settings for a specific port click Port...

Page 36: ...tting Factory 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 Required Stop bits will be set to 1 5 when the Data bits is set to 5 bits Parity Setting Factory Default Necessity None Even Odd Space Mark None Required Flow control Setting Factory Default Nec...

Page 37: ...fault 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 IA5150A IA5250A will automatically close the TCP connection if there is no TCP activity during this given time After the connection has closed the NPort IA5150A IA5250A will start listening for another Real COM driver connection from another host Max connection Setting ...

Page 38: ...cation the NPort IA5150A IA5250A 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 IA5150A IA5250A s console setting data communication may not transmit properly Ignore jammed IP Setting Factory Default Necessity No or Yes ...

Page 39: ...rces the NPort IA5150A IA5250A 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 IA5150A IA5250A fetches the serial data from its internal buffer If data is incoming through the serial port the NPort IA5150A IA5250A stores the data in its internal buffer The NPort IA5150A...

Page 40: ...tions and that other devices must use to contact the NPort IA5150A IA5250A To avoid conflicts with well known TCP ports the default is set to 4001 Packing length Setting Factory Default Necessity 0 to 1024 0 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 d...

Page 41: ...data in its internal buffer The NPort IA5150A IA5250A 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 specified under the Force transmit timeout The ideal Force transmit timeout depends on your application but it must be at least larger than a single character interval within the specified baudrate F...

Page 42: ... another 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 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 disa...

Page 43: ...ot be 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 transmitted to all the other hosts Allow driver control Setting Factory Default Necessity No or Yes No Optional If Max connection is greater than 1 the NPort will ignore driver control commands from all ...

Page 44: ... incoming through the serial port the NPort IA5150A IA5250A stores the data in the internal buffer TheNPort IA5150A IA5250A 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 ideal Force transmit timeout depends on your application but it must be at least larger th...

Page 45: ... IA5250A 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 an idle TCP connection 1 to 99 min The NPort IA5150A IA5250A automatically closes the TCP connection if there is no TCP activity during this given time Inactivity time Setting Factory Default Necessit...

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

Page 47: ...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 is 10 bits ...

Page 48: ...None 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 interface and will remain active indefinitely Any Character Inactivity Time A TCP connection will be established when any character is received from the serial interface and will be disconnected when ...

Page 49: ...Optional Once the NPort IA5150A IA5250A receives both delimiters through its serial port it immediately packs all data currently in its buffer and sends it out the NPort IA5150A IA5250A 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 IA5150A IA5250A will automa...

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

Page 51: ...ld 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 IA5150A IA5250A device server...

Page 52: ...ion Slave Mode When you select Pair Connection Slave Mode for the Operation mode of one of the NPort IA5150A IA5250A device servers this NPort IA5150A IA5250A will be acting as a TCP server TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Required 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min The NPort IA5150A IA5250A closes the TCP connection...

Page 53: ...he CONNECT baud signal via the serial port and then enter data mode Disconnection request from local site When the NPort IA5150A IA5250A is in data mode the user can drive the DTR signal to OFF or send from the local serial port to the NPort IA5150A IA5250A The NPort IA5150A IA5250A will enter command mode and return NO CARRIER via the serial port and then input ATH to shut down the TCP connection...

Page 54: ...13 ASCII 5 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 Pause time for dial delay always 2 unit sec no action applied 10 S9 Carrier detect response time always 6 unit 1 10 sec no action applied 11 S10 Delay for hang up after carrier always 14 unit ...

Page 55: ... Required Each of the NPort IA5150A IA5250A 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 Factory Default Necessity CR LF or CR LF CR LF Required If data received through the NPort IA5150A IA5250A s Ethernet port is sent using the enter command the data will be transmitted out the ser...

Page 56: ...A5150A IA5250A 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 IA5150A IA5250A You can allow one of the following cases by setting the parameter Only one host with a specific IP address can access the NPort IA5150A IA5250A Enter IP address 255 255 255 255 e g 192 168 1 1 255 255 255 255 Hosts on a specif...

Page 57: ...9 to 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 User name Setting Factory Default Necessity 1 to 15 characters None Optional Password Setting Factory Default Necessity 1 to 15 characters None Optional From E mail address Setting Factory Default N...

Page 58: ...ype Cold start This refers to starting the system from power off contrast this with warm start When performing a cold start the NPort IA5150A IA5250A 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 the NPort IA5150A IA5250A will automatically...

Page 59: ...y can still be informed of the status of devices almost instantaneously when exceptions occur The NPort IA5150A IA5250A Series supports different methods for warning engineers automatically such as by email SNMP trap and relay output Users can connect to Monitor Relay Output from the web console to check which Ethernet port is causing the warning The relay output will be canceled if the failed Eth...

Page 60: ... this feature click the Event Type Trap checkbox Upgrade Firmware Keep your NPort IA5150A IA5250A 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 s...

Page 61: ...ies Web 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 settings for the serial port ...

Page 62: ...the password boxes blank to erase the password If the password is erased then NPort IA5150A IA5250A will not have password protection ATTENTION If you forget the password the ONLY way to configure NPort IA5150A IA5250A is by using the Reset to default button on NPort IA5150A IA5250A s top side to Load Factory Default Remember to export the configuration file when you finish the configuration By us...

Page 63: ...y Default This function will reset all of NPort IA5150A IA5250A s settings to the factory default values Be aware that previous settings will be lost Save Restart Click Save Restart will save the current configured settings and restart NPort IA5150A IA5250A to take effect ...

Page 64: ...ort Configuration 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 a Port from a COM Group Modify Ports in a COM Group Changing the COM Number of a COM Group Changing Advanced Settings and Serial Parameters of the COM Group Changing the Serial Port Specified as...

Page 65: ... that bundles NPort Administrator and the IP Serial Library and provides everything you need to manage monitor and modify your NPort IA5150A IA5250A from a remote location In this chapter all the figures are captured by NPort IA5450A Series for demonstration Installing NPort Administrator 1 Once the Setup program starts running click Next when the Welcome window opens to proceed with the installat...

Page 66: ...dministrator 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 the installation of NPort Administration Suite ...

Page 67: ...irements 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 function is used to locate all NPort IA5150A IA5250As 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 IA5150A IA...

Page 68: ...ure an NPort IA5150A IA5250A place the cursor over the row displaying that NPort IA5150A IA5250A s information and then double click the left mouse button ATTENTION Before modifying the NPort IA5150A IA5250A s configuration use Broadcast Search to locate all NPort IA5150A IA5250As connected to the LAN or use Specify by IP Address to locate a particular NPort IA5150A IA5250A Unlock Password Protect...

Page 69: ...5250A will not require re entering the server password Blank The NPort IA5150A IA5250A is not password protected and Broadcast Search was used to locate it Fixed The NPort IA5150A IA5250A is not password protected and Search by IP address was used to locate it Lock Fixed The NPort IA5150A IA5250A is password protected Specify by IP address was used to locate it and the password has not yet been en...

Page 70: ...ion 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 IA5150A IA5250As that are of the same model To select multiple NPort IA5150A IA5250As hold down the Ctrl key when selecting additional NPort IA5150A IA5250As or hold down the Shift key to select a group ...

Page 71: ...e firmware of multiple NPort IA5150A IA5250As that are of the same model To select multiple NPort IA5150A IA5250As hold down the Ctrl key when selecting an additional NPort IA5150A IA5250A or hold down the Shift key to select a block of NPort IA5150A IA5250As Export Configuration To export the configuration of an NPort IA5150A IA5250A right click the NPort IA5150A IA5250A select Export Configurati...

Page 72: ...oading the file ATTENTION You can simultaneously import the same configuration file into multiple NPort IA5150A IA5250As that are of the same model To select multiple NPort IA5150A IA5250As hold down the Ctrl key when selecting an additional NPort IA5150A IA5250A or hold down the Shift key to select a block of NPort IA5150A IA5250As Monitor Use following method to start the Monitor function Broadc...

Page 73: ...ms from one 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 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...

Page 74: ...itoring the NPort IA5150A IA5250A 9 For this example the NPort IA5150A IA5250As shown in the list will be monitored 10 When one of the NPort IA5150A IA5250As loses connection with the Monitor program a warning alert will display automatically The warning music will be played at the same time 11 In the Monitor screen you can see that the NPort IA5150A IA5250As that are Not Alive are shown in red co...

Page 75: ...r Port Monitor 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 one box to the other COM Mapping Windows Administration Suite comes with Windows Real COM drivers After you install NPort Administration Suite there are two ways to set up the NPort IA5150A IA5...

Page 76: ...g Connect NPort IA5150A IA5250A to the network Set NPort IA5150A IA5250A 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 the NPort IA5150A IA5250A to the network Configure NPort IA5150A IA5250A s IP address On line COM Mapping 1 Broadcast Search for NPort IA5150A IA5250As on the network 2 Select the COM Mapping function ...

Page 77: ...ds 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 might take more time on the order of several hundred ...

Page 78: ...edefine the 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 The host computer will not have the ability to use the COM port until after Apply Change is selected 9 Select Discard Change to tell Administrator NOT to save the COM Mapping information to the...

Page 79: ...port 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 physically connecting the NPort IA5150A IA5250A to the network 2 Modify the port settings as needed 3 Right click in the NPort list section and select Apply Change ...

Page 80: ...uping 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 serial port s for the group that you are going to create and right click to select COM Settings 2 Select a COM number for this COM group You may select one of the ports already assigned to a memb...

Page 81: ...r each 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 order to control the data transmission with specified control signals e g DTR RTS You can assign one serial port whose signals will be taken into account by the COM Group ...

Page 82: ...s part 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 steps below to delete a COM Group and then auto assign COM numbers for each port in the Group 1 Select all serial ports in the Group you are deleting and then right click to select COM Settings ...

Page 83: ...up and 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 assigned to and removed from the Group Click Apply to apply the settings 4 Finally click Yes to confirm ...

Page 84: ...up Follow 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 are adding and check mark the Grouping selected port s together check box and then click OK ...

Page 85: ...serial 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 port from a COM Group 1 Select a serial port in the Group and right click to select COM Settings ...

Page 86: ...ministrator 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 apply the settings 4 Finally click Yes to confirm ...

Page 87: ...oup In 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 to select COM Settings 2 Select a COM number that is not in use or assigned to a Group ...

Page 88: ...dministrator 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 the settings 5 Finally click Yes to confirm ...

Page 89: ...rt Administrator 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 then right click and select COM Settings ...

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

Page 91: ...guring 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 selected port s together check box ...

Page 92: ...P Address Report When NPort IA5150A IA5250A is used in a dynamic IP environment users must spend more time with IP management tasks NPort IA5150A IA5250A 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 IA5150A IA5250A with Dynamic IP settings DHCP BOOTP or DHCP BOOTP Assign the remote Auto IP rep...

Page 93: ...t 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 IA5150A IA5250A s Auto report to UDP port setting 4 Click Go to start receiving the Auto IP address report from the NPort IA5150A IA5250A ...

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: ...cation between the NPort IA5150A IA5250A and host computer s Real COM driver The NPort IA5150A IA5250A 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 RFC2217 IP Serial Library uses a command port to communicate with the NPort IA5150A IA5250A in user s program IP Serial Library not...

Page 96: ... nsio_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 port NPort 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 ...

Page 97: ...x 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 Wiring Diagrams Female DB9 to Male DB9 Female DB9 to Male DB25 Ethernet Cables ...

Page 98: ...TxD RxD 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 Series Pin 2 wire RS 485 RS 422 4 wire RS 485 1 TxD B 2 TxD A 3 Data B RxD B 4 Data A RxD A 5 GND GND Power Input and Relay Output Pinouts PWR1 PWR2 RELAY Shielded Ground DC Power Input DC Power...

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

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

Page 101: ...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 http www iana org assignments port numbers TCP Socket Application Service 0 reserved 1 TCP Port Service Multiplexor 2 Management Utility 7 Ec...

Page 102: ...otocol 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 HTTP 107 Remote Telnet Service 111 Sun Remote Procedure Call Sunrpc 119 Network News Transfer Protocol NNTP 123 Network Time Protocol nnp 161 SNMP Simple Network Mail Protocol 162 SNMP Traps 213...

Page 103: ...Address ipInUnknownProtos IcmpInRedirects ifAdminStatus ipInDiscards IcmpInEchos ifOperStatus ipInDelivers IcmpInEchoReps ifLastChange ipOutRequests IcmpInTimestamps ifInOctets ipOutDiscards IcmpTimestampReps ifInUcastPkts ipOutNoRoutes IcmpInAddrMasks ifInNUcastPkts ipReasmTimeout IcmpOutMsgs ifInDiscards ipReasmReqds IcmpOutErrors ifInErrors ipReasmOKs IcmpOutDestUnreachs ifInUnknownProtos ipRea...

Page 104: ...ets snmpInBadValues AtIfIndex tcpCurrEstab snmpInReadOnlys AtPhysAddress tcpInSegs snmpInGenErrs AtNetAddress tcpOutSegs snmpInTotalReqVars Address Translation MIB TCP MIB SNMP MIB AtNetAddress tcpRetransSegs snmpInTotalSetVars tcpConnState snmpInGetRequests tcpConnLocalAddress snmpInGetNexts tcpConnLocalPort snmpInSetRequests tcpConnRemAddress snmpInGetResponses tcpConnRemPort snmpInTraps tcpInEr...

Page 105: ... rs232PortEntry rs232AsyncPortEntry rs232PortIndex rs232AsyncPortIndex rs232PortType rs232AsyncPortBits rs232PortInSigNumber rs232AsyncPortStopBits rs232PortOutSigNumber rs232AsyncPortParity rs232PortInSpeed rs232PortOutSpeed The Input Signal Table The Output Signal Table rs232InSigTable rs232OutSigTable rs232InSigEntry rs232OutSigEntry rs232InSigPortIndex rs232OutSigPortIndex rs232InSigName rs232...

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

Page 107: ...8 01 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 Little endian 8 Firmware Version 4 DWORD Little endian Ver1 3 4 0x0103040 9 AP ID 4 DWORD Little endian AP ID Hardware ID Mapping Table AP ID Hardware ID Product 0x80015400 0x540A NPort IA5450A 0x8...

Page 108: ...use undesired operation FCC Warning 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 commercial environment This equipment generates uses and can radiate radio frequency energy and if not inst...

Reviews: