Table of Contents

Advertisement

Quick Links

NPort IA5000A-I/O
NPort IAW5000A-I/O
User's Manual
Version 5.0, April 2019
www.moxa.com/product
© 2019 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading

Summary of Contents for Moxa Technologies NPort IAW5000A- I/O

  • Page 1 NPort IA5000A-I/O NPort IAW5000A-I/O User’s Manual Version 5.0, April 2019 www.moxa.com/product © 2019 Moxa Inc. All rights reserved.
  • Page 2 NPort IA5000A-I/O NPort IAW5000A-I/O 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 © 2019 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc.
  • Page 3: Table Of Contents

    Table of Contents Introduction ............................1-1 Overview ............................1-2 Package Checklist ..........................1-2 Product Features ..........................1-2 Getting Started ..........................2-1 Overview ............................2-2 Panel Layout ............................2-2 LED Indicators ............................ 2-3 Pull-Up/Down Resistors for RS-422/485 ....................2-3 Connecting the Hardware ........................2-4 Connecting to the Network ......................
  • Page 4 Basic Settings ............................ 7-4 Web Console: Network Settings ......................8-1 Overview ............................8-2 Network Settings ..........................8-2 General Settings ......................... 8-2 Ethernet/Bridge Settings ......................8-3 WLAN Settings (for the NPort IAW5000A-I/O Series) ............... 8-5 Advanced Settings ........................8-21 Web Console: Serial Port Settings ..................... 9-1 Overview ............................
  • Page 5 UDP MIB ............................ A-2 Address Translation ........................A-2 TCP MIB ............................. A-2 SNMP MIB ..........................A-2 RFC1317: RS-232 MIB Objects ......................A-3 Generic RS-232-like Group ......................A-3 RS-232-like General Port Table ..................... A-3 RS-232-like Asynchronous Port Group .................... A-3 The Input Signal Table ......................... A-3 The Output Signal Table .......................
  • Page 6: Introduction

    Introduction The following topics are covered in this chapter:  Overview  Package Checklist  Product Features...
  • Page 7: Overview

    NPort IA and IAW5000A-I/O Introduction Overview The NPort IA5000A-I/O and NPort IAW5000A-I/O Series comprise wired and wireless serial device servers with digital I/O, providing maximum flexibility to integrate serial equipment into Ethernet networks, with rich sets of digital I/O, for a variety of industrial data acquisition applications. The digital input/output (DIO) on the device can be controlled over TCP/IP using the Modbus TCP protocol and can be configured and secured from a web browser.
  • Page 8: Getting Started

    Getting Started The following topics are covered in this chapter:  Overview  Panel Layout  LED Indicators  Pull-Up/Down Resistors for RS-422/485  Connecting the Hardware  Connecting to the Network  Connecting the Power  Connecting to a Serial Device ...
  • Page 9: Overview

    NPort IA and IAW5000A-I/O Getting Started Overview This chapter presents the hardware features of the IA5000A-I/O and IAW5000A-I/O and explains how to connect the hardware. Panel Layout Top View Side View Front View and Back View...
  • Page 10: Led Indicators

    NPort IA and IAW5000A-I/O Getting Started LED Indicators Name Color Function PWR 1, PWR 2 Green Power is being supplied to power input PWR1, PWR2. Ready Steady on: Power is on, and the NPort is booting up. Blinking: Indicates an IP conflict, or DHCP or BOOTP server did not respond properly, or a relay output occurred.
  • Page 11: Connecting The Hardware

    NPort IA and IAW5000A-I/O Getting Started Connecting the Hardware ATTENTION Before connecting the hardware, follow these important wiring safety precautions: Disconnect power source Do not install or wire this unit or any attached devices with the power connected. Disconnect the power before installation by removing the power cord before installing and/or wiring your unit.
  • Page 12: Connecting To A Serial Device

    NPort IA and IAW5000A-I/O Getting Started Connecting to a Serial Device Use a serial cable to connect your serial device to a serial port on the NPort. Pin Assignments The IA5000A-I/O and IAW5000A-I/O Series use DB9 serial ports to connect to serial devices. Each port supports three serial interfaces that select by software: RS-232, RS-422, and RS-485 (both 2 and 4-wire).
  • Page 13: Di/Do Pinouts

    NPort IA and IAW5000A-I/O Getting Started DI/DO Pinouts Digital Digital Ground Digital Digital Digital Digital Common Ground Output 0 Output 1 Input 0 Input 1 Input 2 Input 3 I/O Wiring Diagram A dry dontact is a contact that works without a power source. A wet contact is a contact that must work with a power source.
  • Page 14: Mounting The Unit

    NPort IA and IAW5000A-I/O Getting Started Mounting the Unit 1. Connect the power adapter. Connect the 12–48 VDC power line or DIN-rail power supply to the NPort IA5000A-I/O and IAW5000A-I/O devices’ terminal block. 2. Use a serial cable to connect the NPort to a serial device. 3.
  • Page 15: Initial Ip Configuration

    Initial IP Configuration The following topics are covered in this chapter:  Overview  Factory Default IP Settings  Using ARP to Assign IP Address  Using the Telnet Console to Assign IP Address  Using the Serial Console to Assign IP Address...
  • Page 16: Overview

    NPort IA and IAW5000A-I/O Initial IP Configuration Overview This chapter presents several ways to assign the NPort’s IP address for the first time. Please refer to Chapter 2 for instructions on connecting to the network. The web console is the recommended method for configuring the NPort. Please refer to Chapter 6 to 12 for details on using the web console for configuration.
  • Page 17: Using The Telnet Console To Assign Ip Address

    NPort IA and IAW5000A-I/O Initial IP Configuration 5. You will see a message indicating that the connection failed. The NPort will automatically reboot with the new IP address. You can verify that the configuration was successful by connecting to the new IP address with Telnet, ping, the web console, or the DSU. Using the Telnet Console to Assign IP Address 1.
  • Page 18 NPort IA and IAW5000A-I/O Initial IP Configuration 6. Press E or use the cursor keys to select Ethernet and press ENTER. 7. Use the cursor keys to navigate between the different fields. For IP address, Netmask, and Gateway, enter the desired values directly. For IP configuration and LAN speed, press ENTER to open a submenu and select between the available options.
  • Page 19: Using The Serial Console To Assign Ip Address

    NPort IA and IAW5000A-I/O Initial IP Configuration Using the Serial Console to Assign IP Address Before using the NPort’s serial console, turn off the power and use a serial cable to connect the NPort console port to your computer’s serial port. Port 1 on the NPort serves as the console port. Use Port 1 connecting to the console port with a serial-based terminal or terminal emulator program, such as Windows HyperTerminal.
  • Page 20 NPort IA and IAW5000A-I/O Initial IP Configuration 5. Hold the grave accent key (`) down and power up the NPort. The continuous string of grave accent characters triggers the NPort to switch from data mode to console mode. 6. The serial console will open and will be functionally identical to the Telnet console. Please refer to the Telnet console section for instructions on how to navigate the console and configure the IP settings.
  • Page 21: Introduction To Operation Modes

    Introduction to Operation Modes The following topics are covered in this chapter:  Overview  RealCOM Mode  RFC2217 Mode  TCP Server Mode  TCP Client Mode  UDP Mode  IoT Mode  Pair Connection Modes  Ethernet Modem Mode ...
  • Page 22: Overview

    NPort IA and IAW5000A-I/O Introduction to Operation Modes Overview This chapter introduces the different serial port operation modes that are available on the NPort IA5000A- I/O and IAW5000A-I/O Series. Each serial port on the NPort is configured independently of the other ports, with its own serial communication parameters and operation mode.
  • Page 23: Rfc2217 Mode

    NPort IA and IAW5000A-I/O Introduction to Operation Modes ATTENTION RealCOM drivers are installed and configured through NPort Windows Driver Manager. RealCOM mode allows you to continue using your serial communications software to access devices that are now attached to your NPort device server. On the host, the NPort RealCOM driver automatically intercepts data sent to the COM port, packs it into a TCP/IP packet, and redirects it to the network.
  • Page 24: Tcp Client Mode

    NPort IA and IAW5000A-I/O Introduction to Operation Modes TCP Client Mode In TCP Client mode, the NPort actively establishes a TCP connection to a specific network host when data is received from the attached serial device. After the data has been transferred, the NPort can automatically disconnect from the host computer through the Inactivity time settings.
  • Page 25: Pair Connection Modes

    NPort IA and IAW5000A-I/O Introduction to Operation Modes Pair Connection Modes Pair Connection Master and Slave modes connect two NPort device servers over a network for serial-to-serial communication. A device attached to one NPort can then communicate transparently to a device attached to the other NPort, as if the two devices were connected by a serial cable.
  • Page 26: Reverse Terminal Mode

    NPort IA and IAW5000A-I/O Introduction to Operation Modes Reverse Terminal Mode Reverse terminal applications are similar to terminal applications as they also use an NPort to manage the connection between a terminal and a server. The difference is that with reverse terminal applications, the terminal is connected through the network and the server is connected through the serial port, rather than the other way around.
  • Page 27: Use Real Com Mode To Communicate With Serial Devices

    Use Real COM Mode to Communicate with Serial Devices The following topics are covered in this chapter:  Overview  Device Search Utility  Installing the Device Search Utility  Find a Specific NPort on the Ethernet Network via the DSU ...
  • Page 28: Overview

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Overview This chapter will instruct you on how to install the necessary software and provide the steps to mapping virtual COM port to help user's software keep working as usual. 1.
  • Page 29 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 3. Click Next to install program files to the default directory, or click Browse to select an alternate location. 4. Check the checkbox if you want the DSU to create a desktop icon, or just click Next to install the program's shortcuts in the appropriate Start Menu folder.
  • Page 30 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 5. Click Next to proceed with the installation. The installer then displays a summary of the installation options. 6. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen.
  • Page 31: Find A Specific Nport On The Ethernet Network Via The Dsu

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Find a Specific NPort on the Ethernet Network via the DSU The Broadcast Search function is used to locate all the NPort device servers that are connected to the same LAN as your computer.
  • Page 32: Opening Your Browser

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 2. When the search is complete, all the NPort device servers that were located will be displayed in the DSU window. 3. To modify the configuration of the highlighted NPort device servers, click on the Console icon to open the web console.
  • Page 33 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 3. On the first page of the web console, type admin for the default account name and moxa for the default password. ATTENTION If you use other web browsers, remember to Enable the functions to allow cookies that are stored on your computer or allow per-session cookies.
  • Page 34: Configure Operation Mode To Real Com Mode

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices ATTENTION If you forgot the password, the ONLY way to start configuring the NPort is to load the factory defaults by using the reset button. ATTENTION Remember to export the configuration file when you have finished the configuration. After using the reset button to load the factory defaults, your configuration can be easily reloaded into the NPort by using the Import function.
  • Page 35: Nport Windows Driver Manager

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices NPort Windows Driver Manager Installing the NPort Windows Driver Manager The NPort Windows Driver Manager is intended for use with NPort device server serial ports that are set to Real COM mode.
  • Page 36 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Click Next to install program files to the default directory, or click Browse to select an alternate location. 3. Click Next to install the program’s shortcuts in the appropriate Start Menu folder. 4.
  • Page 37 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 5-11...
  • Page 38 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 5. Click Install to begin the installation. The setup window will report the progress of the installation. To change the installation settings, click Back and navigate to the previous screen. The installer will display a message that the software has not passed Windows Logo testing.
  • Page 39: Using Nport Windows Driver Manager

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Using NPort Windows Driver Manager After you have installed the NPort Windows Driver Manager, you can set up the NPort device server’s serial ports as remote COM ports for your PC host. Make sure that the serial port(s) on your NPort device server are set to Real COM mode before mapping COM ports with the NPort Windows Driver Manager.
  • Page 40 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 4. Alternatively, you can select Input Manually and then manually enter the NPort IP Address, 1st Data Port, 1st Command Port, and Total Ports to which COM ports will be mapped. Click OK to proceed to the next step.
  • Page 41 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 6. A message will display during activation of each port, indicating that the software has not passed Windows Logo certification. Click Continue Anyway to proceed. 7. Ports that have been activated will appear in black. 8.
  • Page 42 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Configure the mapped COM ports with Advanced Functions For Real COM Mode, to reconfigure the settings for a particular serial port on the NPort device server, select the row corresponding to the desired port and then click the Setting icon.
  • Page 43 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 2. Click the Advanced Settings tab to modify Tx Mode, FIFO, and Flash Flush. Tx Mode Hi-Performance is the default for Tx mode. After the driver sends data to the NPort device service, the driver immediately issues a “Tx Empty”...
  • Page 44 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Return error if network is unavailable If this option is disabled, the driver will not return any error even when a connection cannot be established with the NPort device server. With this option enabled, calling the Win32 Comm function will result in the error return code “STATUS_NETWORK_UNREACHABLE”...
  • Page 45 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 3. The Serial Parameters window in the following figure shows the default settings when the NPort device server is powered on. However, the program can redefine the serial parameters to different values after the program opens the port via Win 32 API.
  • Page 46: Linux Real Tty Drivers

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 5. The IPv6 Settings function is available only for the NPort 6000 Series. 6. To save the configuration to a text file, select Export from the COM Mapping menu. You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host.
  • Page 47: Hardware Setup

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices 3. Map the NPort serial port to the host’s tty port Hardware Setup Before proceeding with the software installation, make sure you have completed the hardware installation. Note that the default IP address for the NPort device server is 192.168.127.254, and the default username and password are admin and moxa, respectively.
  • Page 48: Removing Mapped Tty Ports

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices In this example, 16 tty ports will be added, all with IP 192.168.3.4, with data ports from 950 to 965 and command ports from 966 to 981. Mapping tty ports manually To map tty ports manually, you may execute mxaddsvr and manually specify the data and command ports, as in the following example:...
  • Page 49: Configuring The Unix Driver

    NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices # cp moxattyd.tar /usr/etc # cd /usr/etc 3. Extract the source files from the tar file by executing the command: # tar xvf moxattyd.tar The following files will be extracted: README.TXT moxattyd.c --- source code...
  • Page 50 NPort IA and IAW5000A-I/O Use Real COM Mode to Communicate with Serial Devices Adding an additional server 1. Modify the text file moxattyd.cf to add an additional server. Users may use vi or any text editor to modify the file. For more configuration information, look at the file moxattyd.cf, which contains detailed descriptions of the various configuration parameters.
  • Page 51: Upload Serial Data To Cloud Platform

    Upload Serial Data to Cloud Platform With new firmware released, version 2.0 and later, the NPort IA5000A-I/O Series and NPort IAW5000A-I/O Series can easily upload the serial or I/O data to cloud platforms through generic MQTT or with built-in device SDKs to Azure/Alibaba Cloud. The following topics are covered in this chapter: ...
  • Page 52: Select The Cloud Platform

    NPort IA and IAW5000A-I/O Upload Serial Data to Cloud Platform Select the Cloud Platform Before configuring the NPort device server, please make sure you have an account for the cloud platform and the ability to add an IoT device to the cloud platform. Here we take the Microsoft Azure platform as an example.
  • Page 53: Select The Iot Operation Mode

    NPort IA and IAW5000A-I/O Upload Serial Data to Cloud Platform Select the IoT Operation Mode Change the page to Serial Port Settings  Operation Mode, then select IoT mode. Define the Upload Packet Size Since the Cloud platform may count the expenses by the size of each packet the device upload, you may modify the Packet length up to 2,880 bytes to save the expense.
  • Page 54: Web Console: Basic Settings

    Web Console: Basic Settings The following topics are covered in this chapter:  Overview  Basic Settings...
  • Page 55: Overview

    NPort IA and IAW5000A-I/O Web Console: Basic Settings Overview This chapter introduces the NPort web console and explains how to configure the basic settings. The NPort can be configured from anywhere on the network through its web console. Simply point the browser to the device server’s IP address to open the web console.
  • Page 56 NPort IA and IAW5000A-I/O Web Console: Basic Settings ATTENTION If you have forgotten the password, you can use the reset button to load factory defaults, but this will erase all previous configuration information. The web console will appear as shown below. Settings are presented on pages that are organized by folder.
  • Page 57: Basic Settings

    NPort IA and IAW5000A-I/O Web Console: Basic Settings Basic Settings On the Basic Settings page, you can configure: Server Name Default NPortIA5150A-6I/O_<serial no.> or NPort IA5250A-6I/O_<serial no.> NPortIAW5150A-6I/O_<serial no.> or NPort IAW5250A-6I/O_<serial no.> NPortIA5150A- 12I/O_<serial no.> or NPort IA5250A-12I/O_<serial no.> NPortIAW5150A-12I/O_<serial no.>...
  • Page 58 NPort IA and IAW5000A-I/O Web Console: Basic Settings Time Zone Default (GMT)Greenwich Mean Time Options (GMT)Greenwich Mean Time (GMT-01:00)Azores, Cape Verde Is. (GMT-02:00)Mid-Atlantic etc. Description This field shows the currently selected time zone and allows you to select a different time zone.
  • Page 59: Web Console: Network Settings

    Web Console: Network Settings The following topics are covered in this chapter:  Overview  Network Settings  General Settings  Ethernet/Bridge Settings  WLAN Settings  Advanced Settings...
  • Page 60: Overview

    NPort IA and IAW5000A-I/O Web Console: Network Settings Overview This chapter explains how to configure all settings located under the Network Settings folder in the NPort web console. Network Settings General Settings On the General Settings page in the Network Settings folder, you can modify DNS server 1 and 2. DNS Server 1 and 2 Default Options...
  • Page 61: Ethernet/Bridge Settings

    NPort IA and IAW5000A-I/O Web Console: Network Settings Ethernet/Bridge Settings To enable the Ethernet-to-Wireless function, go to the Ethernet/Bridge Settings page and enable Ethernet Bridge. Ethernet Bridge (for NPort IAW5000A-I/O Series) Default Disabled Options Enabled / Disabled This field specifies whether to enable Ethernet Bridge mode or not. When Ethernet Description Bridge is enabled, the LAN and WLAN interfaces are bridged together.
  • Page 62 NPort IA and IAW5000A-I/O Web Console: Network Settings IP Configuration Default Static Options Static, DHCP, DHCP/BOOTP, BOOTP Description This field determines how the NPort’s IP address will be assigned. Static: IP address, netmask, and gateway are user-defined. DHCP: IP address, netmask, gateway, DNS, and time server are assigned by DHCP server. DHCP/BOOTP: IP address, netmask, gateway, DNS, and time server are assigned by DHCP server.
  • Page 63: Wlan Settings (For The Nport Iaw5000A-I/O Series)

    NPort IA and IAW5000A-I/O Web Console: Network Settings WLAN Settings (for the NPort IAW5000A-I/O Series) WLAN The WLAN page is located under WLAN Settings in the Network Settings folder. You can modify IP configuration, IP address, Netmask, and Gateway for your WLAN. The NPort IAW5000A-I/O Series supports IEEE 802.11a/b/g/n wireless network interfaces.
  • Page 64 NPort IA and IAW5000A-I/O Web Console: Network Settings Netmask Default 255.255.255.0 Options Netmask setting (e.g., “255.255.0.0”) Description This field is for the subnet mask. 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 device server will use the subnet mask to check whether the desired TCP/IP host specified in the packet is on the local network segment.
  • Page 65 NPort IA and IAW5000A-I/O Web Console: Network Settings Network Type Default Infrastructure Mode Options Infrastructure Mode, Ad-hoc Mode Description This field specifies whether the NPort will operate in Ad-hoc or Infrastructure Mode. For all wireless networking devices, there are two possible modes for communication with another wireless device.
  • Page 66 NPort IA and IAW5000A-I/O Web Console: Network Settings General Settings for WLAN Profile The General page is opened through the Profile page, under WLAN Settings in the Network Settings folder. You can type a profile name to help you differentiate one profile from another. It does not affect operation of the NPort.
  • Page 67 NPort IA and IAW5000A-I/O Web Console: Network Settings In Infrastructure Mode On the General page, you can configure Profile name, RF Type, and input an SSID provided by your WiFi AP. Additional settings are also available depending on whether you select Ad-hoc Mode or Infrastructure Mode.
  • Page 68 NPort IA and IAW5000A-I/O Web Console: Network Settings RF Type Default 802.11b/g for Ad-Hoc Mode. Auto for Infrastructure Mode. Options 802.11b/g only for Ad-Hoc Mode. Auto, 802.11a, 802.11b/g, 802.11a/n, 802.11b/g/n for Infrastructure Mode. Description This field determines which wireless standard will be used by the selected profile. 802.11a, 802.11b/g, 802.11a/n and 802.11b/g/n are supported.
  • Page 69 NPort IA and IAW5000A-I/O Web Console: Network Settings Site Survey When you click Site Survey, the device server will scan for all the APs it can find nearby. It shows all the signal strengths between the device server and the APs. You may check the checkbox and click OK to create a profile for the specified AP.
  • Page 70 NPort IA and IAW5000A-I/O Web Console: Network Settings Scan channels – 1, Scan channels – 2, Scan channels – 3 (Infrastructure mode only) Default Options 1 through 14, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161 Description This field is for fast roaming under Infrastructure Mode and specifies the radio channel to...
  • Page 71 NPort IA and IAW5000A-I/O Web Console: Network Settings Security Settings for WLAN Profile The Security page is opened through the Profile page, under WLAN Settings in the Network Settings folder. After selecting Ad-hoc or Infrastructure Mode, click [Security] to open the Security page for the selected profile.
  • Page 72 NPort IA and IAW5000A-I/O Web Console: Network Settings In Infrastructure Mode You will need to configure Authentication and Encryption. These settings must match the settings on the wireless device at the other end of the connection (such as the AP). Different settings and options are available depending on how Authentication and Encryption are configured.
  • Page 73 NPort IA and IAW5000A-I/O Web Console: Network Settings Authentication Default Open System Options Open System, Shared Key, WPA, WPA-PSK, WPA2, WPA2-PSK Description This field specifies how wireless devices will be authenticated. Only authenticated devices will be allowed to communicate with the NPort. If a RADIUS server is used, this setting must match the setting on the RADIUS server.
  • Page 74 NPort IA and IAW5000A-I/O Web Console: Network Settings Encryption Default Disable Options Disable, WEP, TKIP, AES-CCMP Description This field specifies the type of encryption to use during wireless communication. Different encryption methods are available depending on the Authentication setting. Also, each encryption method has its own set of parameters that may also require configuration.
  • Page 75 NPort IA and IAW5000A-I/O Web Console: Network Settings Security Settings for WEP Encryption When Encryption is set to WEP on the Security page for the WLAN profile, you will be able to configure WEP key length, WEP key index, and WEP key source. Other settings will be displayed depending on how WEP key source is configured.
  • Page 76 NPort IA and IAW5000A-I/O Web Console: Network Settings WEP Key Format Default ASCII Options ASCII, HEX Description This field is only available if WEP key source is set to “Manual”. It specifies the format you will use to enter the WEP key. WEP Key 1 Through 4 Default Options...
  • Page 77 NPort IA and IAW5000A-I/O Web Console: Network Settings When WPA or WPA2 is used for authentication, you will also need to configure EAP method in the Security settings for the WLAN profile. Other settings will also be displayed depending on how EAP method is configured.
  • Page 78 NPort IA and IAW5000A-I/O Web Console: Network Settings Description This field specifies the username that will be used to gain access to the WLAN. The correct username and password must be provided for access to be granted. Password Default Options free text (e.g., “Password123”) Description This field specifies the password that will be used to gain access to the WLAN.
  • Page 79: Advanced Settings

    NPort IA and IAW5000A-I/O Web Console: Network Settings WLAN Log Setting WLAN Log Settings Default Disable Options Disable, Enable Description When the wireless connection between the device server and the AP is not stable, you may enable this function to have more information available for troubleshooting. You may find System Monitoring ...
  • Page 80 NPort IA and IAW5000A-I/O Web Console: Network Settings Description Gratuitous ARP requests provide duplicate IP address detection. The NPort sends broadcast packets to update ARP tables on other devices (e.g., AP, PC) periodically. We can use this function to notify networked devices that the NPort is still alive. Morever, the NPort can send Gratuitous ARP for legacy devices that do not have this function.
  • Page 81: Web Console: Serial Port Settings

    Web Console: Serial Port Settings The following topics are covered in this chapter:  Overview  Serial Port Settings  Communication Parameters  Data Buffering/Log...
  • Page 82: Overview

    NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Overview This chapter explains how to configure all settings located under the Serial Port Settings folder in the NPort web console. Serial Port Settings Operation Modes Each serial port on the NPort is configured through the hyperlink below the column of Operating mode. Click the link of Real COM, it will show the Port settings page.
  • Page 83 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Operation Mode Default Real COM Options Real COM, RFC2217, TCP Server, TCP Client, UDP, IoT, Pair Connection Master, Pair Connection Slave, Ethernet Modem, Reverse Terminal Description Along with Application, this field specifies the serial port’s operation mode, or how it will interact with network devices.
  • Page 84 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings TCP alive check time Default 7 min Options 0 to 99 min Description This field specifies how long the NPort will wait for a response to “keep alive” packets before closing the TCP connection. The NPort checks connection status by sending periodic “keep alive”...
  • Page 85 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Description This field specifies how the port will proceed if driver control commands are received from multiple hosts that are connected to the port. Disable: Driver control commands will be ignored. Enable: Control commands will be accepted, with the most recent command received taking precedence.
  • Page 86 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Description This field specifies how data is packed when delimiter characters are received. This field has no effect if Delimiter 1 is not enabled. Do nothing: Data accumulated in the serial port’s buffer will be packed, including delimiters.
  • Page 87 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings TCP alive check time Default 7 min Options 0 to 99 min Description This field specifies how long the NPort will wait for a response to “keep alive” packets before closing the TCP connection. The NPort checks connection status by sending periodic “keep alive”...
  • Page 88 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Description This field specifies how data is packed when delimiter characters are received. This field has no effect if Delimiter 1 is not enabled. Do nothing: Data accumulated in the serial port’s buffer will be packed, including delimiters.
  • Page 89 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings jammed IP, Allow driver control, TCP port, Cmd port, Connection goes down, Packet length, Delimiter 1, Delimiter 2, Delimiter process, and Force transmit. TCP alive check time Default 7 min Options 0 to 99 min Description This field specifies how long the NPort will wait for a response to “keep alive”...
  • Page 90 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Ignore jammed IP Default Disable Options Disable, Enable Description This field specifies how an unresponsive IP address is handled when there are simultaneous connections to the serial port. Disable: All transmission will be suspended if one IP address becomes unresponsive. Transmission will only resume when all hosts have responded.
  • Page 91 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Delimiter 1 and 2 Default Disabled Options Disabled, Enabled, 00 to FF Description These fields are used to define special delimiter character(s) for data packing. Enable Delimiter 1 to control data packing with a single character; enable both Delimiter 1 and 2 to control data packing with two characters received in sequence.
  • Page 92 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Settings for TCP Client Mode When Operation Mode is set to TCP Client on a serial port’s Operation Modes page, you will be able to configure additional settings such as TCP alive check time, Inactivity time, Ignore jammed IP , Destination address 1-4, Designated local port 1-4, Connection control, and Packet length, Delimiter 1, Delimiter 2, Delimiter process, and Force transmit.
  • Page 93 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Ignore jammed IP Default Disable Options Disable, Enable Description This field specifies how an unresponsive IP address is handled when there are simultaneous connections to the serial port. Disable: All transmission will be suspended if one IP address becomes unresponsive. Transmission will only resume when all hosts have responded.
  • Page 94 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Packet length Default Options 0 to 1024 Description This field specifies the maximum amount of data that is allowed to accumulate in the serial port buffer before sending. 0: Packet length is disregarded and data in the buffer will be sent as specified by the delimiter settings or when the buffer is full.
  • Page 95 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Force transmit Default 0 ms Options 0 to 65535 Description This field controls data packing by the amount of time that elapses between bits of data. When using this field, make sure that Inactivity time is disabled or set to a larger value. Otherwise the connection may be closed before the data in the buffer can be transmitted.
  • Page 96 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Local listen port Default 4001 Options Description This field specifies the UDP port that the NPort listens to and that other devices must use to contact the attached serial device. Packet length Default Options 0 to 1024...
  • Page 97 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Force transmit Default 0 ms Options 0 to 65535 Description This field controls data packing by the amount of time that elapses between bits of data. When using this field, make sure that Inactivity time is disabled or set to a larger value. Otherwise the connection may be closed before the data in the buffer can be transmitted.
  • Page 98 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Delimiter 1 and 2 Default Disabled Options Disabled, Enabled, 00 to FF Description These fields are used to define special delimiter character(s) for data packing. Enable Delimiter 1 to control data packing with a single character; enable both Delimiter 1 and 2 to control data packing with two characters received in sequence.
  • Page 99 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Settings for Pair Connection Master Mode and Pair Connection Slave Mode When Operation Mode is set to Pair Connection Master or Pair Connection Slave on a serial port’s Operation Modes page, you will be able to configure additional settings such as TCP alive check time, Destination address and TCP port.
  • Page 100 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Description This field specifies the IP address for the NPort at the opposite end of the Pair Connection, and the TCP port number for communication with the serial port. The port number must match with that serial port’s TCP port setting.
  • Page 101 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings TCP alive check time Default 7 min Options 0 to 99 min Description This field specifies how long the NPort will wait for a response to “keep alive” packets before closing the TCP connection. The NPort checks connection status by sending periodic “keep alive”...
  • Page 102: Communication Parameters

    NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Inactivity time Default 0 ms Options 0 to 65535 ms Description This field specifies the time limit for keeping the connection open if no data flows to or from the serial device. 0: The connection will remain open even if data is never received.
  • Page 103 NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Alias Default Options free text (e.g., “Secondary console connection”) Description This is an optional free text field to help you differentiate one serial port from another. It does not affect operation of the NPort device server. ATTENTION Serial communication settings should match the attached serial device.
  • Page 104: Data Buffering/Log

    NPort IA and IAW5000A-I/O Web Console: Serial Port Settings Data Buffering/Log On the serial port’s Data Buffering/Log page, you can enable or disable Port buffering and Serial data logging. Port buffering Default Disable Options Enable, Disable Description This field specifies whether the serial port will use port buffering when the network connection (Ethernet or WLAN) is down.
  • Page 105: Web Console: Iot Management

    Web Console: IoT Management With new firmware released, version 2.0 and later, the NPort IA5000A-I/O Series and NPort IAW5000A-I/O Series can configure cloud-relative settings. The following topics are covered in this chapter:  Overview  IoT Mode  Settings for Alibaba Cloud IoT Platform ...
  • Page 106: Overview

    NPort IA and IAW5000A-I/O Web Console: IoT Management Overview This chapter explains how to configure all settings located under the IoT Management folder in the NPort web console. IoT Mode Change the page to IoT Management  IoT Mode, then IoT mode will show all the cloud platforms that the NPort device server support by default.
  • Page 107 NPort IA and IAW5000A-I/O Web Console: IoT Management Keep alive By this time period, the NPort device server will check if the Alibaba Cloud is still online. The default settings is 60 seconds, and the longest period is 180 seconds. Serial and I/O Message Format Settings Serial message format Default is JSON.
  • Page 108 NPort IA and IAW5000A-I/O Web Console: IoT Management I/O publish trigger mode Default is Any I/O change. There are 3 options: Any I/O change, Specific I/O change and Cyclic It defines when the NPort device server should upload the I/O data to Alibaba Cloud.
  • Page 109: Settings For Azure Iot Hub

    NPort IA and IAW5000A-I/O Web Console: IoT Management Set the Publish Topic on the Alibaba Cloud for the I/O data, so other clients can subscribe to this topic to receive updates from the NPort device server. If the data is important, set the QoS as 1, which means the Alibaba Cloud (MQTT broker) will respond with an ACK to the NPort to ensure it receives the message.
  • Page 110: Settings For Mqtt Broker

    NPort IA and IAW5000A-I/O Web Console: IoT Management I/O publish trigger mode Default is Any I/O change. There are 3 options: Any I/O change, Specific I/O change and Cyclic It defines when the NPort device server should upload the I/O data to Alibaba Cloud.
  • Page 111 NPort IA and IAW5000A-I/O Web Console: IoT Management Basic Settings IoT mode MQTT Broker MQTT Broker Settings Host address The web address (both domain name and IP address are acceptable) of the specific cloud platform to which the NPort device server should connect to; usually it’s also where the MQTT broker is.
  • Page 112 NPort IA and IAW5000A-I/O Web Console: IoT Management I/O publish trigger mode Default is Any I/O change. There are 3 options: Any I/O change, Specific I/O change and Cyclic It defines when the NPort device server should upload the I/O data to Alibaba Cloud.
  • Page 113: Iot Connection Monitoring

    NPort IA and IAW5000A-I/O Web Console: IoT Management 2, the NPort will send another ACK back for the ACK replied by the Cloud for double confirmation. If the Retain function is enabled, the cloud will store the newest message from the publisher (the NPort) while the subscriber (the clients) is offline.
  • Page 114 NPort IA and IAW5000A-I/O Web Console: IoT Management Cloud Connection Information Target The URL of the remote cloud platform. Connection status The status of the connection between the cloud platform and the NPort device server. Diagnostics log The log events recorded between NPort device server and the cloud platform.
  • Page 115: Iot Data Buffering

    NPort IA and IAW5000A-I/O Web Console: IoT Management IoT Data Buffering IoT Data Buffering Settings Buffering on microSD card It defines when the connection with cloud platform is disconnected. If the NPort device server saves the coming serial data to the SD card, the default is Disable.
  • Page 116: Web Console: Modbus Address Mapping & I/O Setting

    Web Console: Modbus Address Mapping & I/O Setting The following topics are covered in this chapter:  Modbus Address Mapping Table  User-Defined Modbus Addressing  Default Modbus Address  I/O Settings  DI Channels  DO Channels...
  • Page 117: Modbus Address Mapping Table

    NPort IA and IAW5000A-I/O Web Console: Modbus Address Mapping & I/O Setting Modbus Address Mapping Table User-Defined Modbus Addressing The NPort IA5000A-I/O and NPort IAW5000A-I/O Series play a role as the Modbus TCP slave and input and output addresses can be configured on this page. Select the Enable User-defined Modbus Addressing checkbox, and then configure the start address of each Modbus function.
  • Page 118: I/O Settings

    NPort IA and IAW5000A-I/O Web Console: Modbus Address Mapping & I/O Setting I/O Settings DI Channels The status of each DI (digital input) channel appears on the DI Channel Settings page. You can also configure each channel’s digital input mode and parameters by clicking on the channel. DI channels can operate in DI mode or Event Counter mode.
  • Page 119: Do Channels

    NPort IA and IAW5000A-I/O Web Console: Modbus Address Mapping & I/O Setting Power On Setting: You may configure DI channels in Event Counter mode whether or not counting begins when powering up. Save Counter On Power Failure: The NPort IA5000A-I/O and IAW5000A-I/O will automatically save the counter value when there is a power failure if this function is selected.
  • Page 120 NPort IA and IAW5000A-I/O Web Console: Modbus Address Mapping & I/O Setting DO channels can operate in DO mode when the status is either ON or OFF. If you select Pulse Output mode, you can specify the ON Width and OFF Width to generate a square wave.
  • Page 121: Web Console: Remote I/O Access

    Web Console: Remote I/O Access The NPort IA(W)5000A-I/O integrates serial device servers with digital inputs and outputs for applications that need to connect serial devices to an Ethernet network and collect field data via DIO at the same time. The NPort has a built-in MTConnect Adapter/Agent, which users can select to retrieve DI data, besides using standard Modbus TCP.
  • Page 122: Access Interface

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access Access Interface Change the page to Remote I/O Access  Access Interface; then select the way NPort device server should upload the data of DI Channels and DO Channels. DI Channels Default Web + Modbus address mapping Options...
  • Page 123: User-Defined Modbus Address

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access User-Defined Modbus Address Please check the checkbox of Enable User-Defined Modbus Addressing before you modify the supported function code and memory address of the DI/DO channels. The number of items a user can change. Description It defines the value of the DI/DO channels that can be user-defined on the start address and function code.
  • Page 124: Mtconnect In Brief

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access MTConnect in Brief MTConnect is designed specifically for shop-floor applications that aim to define shop-floor data into a standard format that can be understood by any MTConnect-compliant software applications. Once the data has been defined by an MTConnect-compliant interface (name, type, description, etc.), it eliminates the need to redefine the data within each application.
  • Page 125 NPort IA and IAW5000A-I/O Web Console: Remote I/O Access For example, a device named CNC-1 is composed of a component: DigitalInput:dev_1. The component then has the event or condition data item defined. In this example, the DigitalInput:dev_1 component has the event data item: “Execution”...
  • Page 126: Mtconnect Data Item Setting On The Nport

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access MTConnect Data Item Setting on the NPort Access the NPort web console and go to Data Item Settings in the MTConnect Setting section. Define how many devices (or machines) you would like to connect with via digital inputs. Users will be able to map the digital inputs to the defined device(s) in the Event Settings page after all the data items are configured.
  • Page 127: Mtconnect Event Setting On The Nport

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access Data Item ID: Plain text ii. Data Item Name: Plain text iii. Data Item Category: Event or Condition iv. Data Item Type: This is defined by MTConnect standard, choose from drop-down menu v.
  • Page 128 NPort IA and IAW5000A-I/O Web Console: Remote I/O Access 1. Condition 1 Here you can configure what events you need the DI adapter to capture and generate the MTConnect tags you require. Input: Choose the DI number that you want to create for the MTConnect tag. Mode/Period(s): Choose the DI State and period you recognize as Active.
  • Page 129: Mtconnect Misc. Setting On The Nport

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access Data Item ID: Choose from the drop-down menu. (The data item IDs are the ones configured by users for the specified device) 4. Triggered Value These are Active/Inactive MTConnect tag values to be generated when the status of DI in Condition 1 (and Condition 2 if applicable) is detected.
  • Page 130: Type Of Requests Supported On The Nport-Mtconnect Agent

    NPort IA and IAW5000A-I/O Web Console: Remote I/O Access 3. Power-On Default States Based on the MTConnect standard, the initial state of all data items should be UNAVAILABLE, but in some circumstances where the user’s client application may require the initial state of the data items to be AVAILABLE or in another state, the user can define his or her preferred power-on default states for the selected data items for specified devices.
  • Page 131 NPort IA and IAW5000A-I/O Web Console: Remote I/O Access Sample command: http://IP of NPort:5000/sample, as an example http://192.168.127.254:5000/sample gives the result as below: 12-11...
  • Page 132: Web Console: System Management

    Web Console: System Management The following topics are covered in this chapter:  Overview  System Management  Misc. Network Settings  Auto Warning Settings  Maintenance  Certificate...
  • Page 133: Overview

    NPort IA and IAW5000A-I/O Web Console: System Management Overview This chapter explains how to configure all settings located under the System Management folder in the NPort web console. System Management Misc. Network Settings Accessible IP List The Accessible IP List page is located under Misc. Network Settings in the System Management folder.
  • Page 134 NPort IA and IAW5000A-I/O Web Console: System Management Refer to the following table for more configuration examples. Desired IP Range IP Address Field Netmask Field Any host Disable Disable 192.168.1.120 192.168.1.120 255.255.255.255 192.168.1.1 to 192.168.1.254 192.168.1.0 255.255.255.0 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...
  • Page 135 NPort IA and IAW5000A-I/O Web Console: System Management Location Default Options free text (e.g., “Building XYZ”) Description This is an optional free text field that can be used to specify the location for SNMP agents such as the NPort. Read Community String Default public Options...
  • Page 136 NPort IA and IAW5000A-I/O Web Console: System Management Read/Write Authentication Mode Default Disable Options Disable, MD5, SHA Description This field specifies the type of authentication to use for read/write access. Read/Write Password Default Options free text (e.g., “password123”) Description This field specifies the password that users must enter for read/write access, if read only authentication is enabled.
  • Page 137 NPort IA and IAW5000A-I/O Web Console: System Management Authentication Server RADIUS server: If you are using a RADIUS server for user authentication, enter its IP address here. RADIUS key: If you are using a RADIUS server for user authentication, enter its password here. UDP port (default=1645): If you are using a RADIUS server, enter its UDP port assignment here.
  • Page 138: Auto Warning Settings

    NPort IA and IAW5000A-I/O Web Console: System Management This is where you select the type of events that will be logged by the NPort. Group Event System System Cold Start, System Warm Start Network DHCP/BOOTP Get IP/Renew, Mail Fail, NTP Connect Fail, IP Conflict, Network Link Down, Modbus/TCP Disconnect, Safe Mode Activated Config Login Fail, IP Changed, Password Changed, Firmware Upgrade, SSL Certificate Import,...
  • Page 139 NPort IA and IAW5000A-I/O Web Console: System Management Serial Event Settings The Serial Event Settings page is located under Auto Warning Settings in the System Management folder. This is where you specify how the NPort will notify you of DCD and DSR events for each serial port. Mail refers to sending an e-mail to a specified address.
  • Page 140 NPort IA and IAW5000A-I/O Web Console: System Management E-mail Alert The E-mail Alert page is located under Auto Warning Settings in the System Management folder. This is where you specify how and where e-mail is sent when e-mail is used for automatic notification of system and serial port events.
  • Page 141 NPort IA and IAW5000A-I/O Web Console: System Management SNMP Trap The SNMP Trap page is located under Auto Warning Settings in the System Management folder. This is where you specify the SNMP trap settings to use for automatic notification of system and serial port events.
  • Page 142: Maintenance

    NPort IA and IAW5000A-I/O Web Console: System Management Maintenance Console Settings The Console Settings page is located under Maintenance in the System Management folder. This is where you enable or disable access to the various NPort configuration consoles, as well as the behavior of the reset button.
  • Page 143 NPort IA and IAW5000A-I/O Web Console: System Management Reset Button Default Always Enable Options Always Enable, Disable after 60 sec Description This field specifies the behavior of the hardware reset button. Always Enable: The reset button will be operate as usual. Disable after 60 sec: The reset button will only be effective for the first 60 seconds that the NPort is powered on.
  • Page 144 NPort IA and IAW5000A-I/O Web Console: System Management Pre-Shared Key The device server can share or back up its configuration by exporting all settings to a file, which can then be imported into another device server. The exported file will be encrypted by a pre-shared key by the user. (The default cipher key is moxa) Configuration Import The Configuration Import page is located under Maintenance in the System Management folder.
  • Page 145 NPort IA and IAW5000A-I/O Web Console: System Management Configuration Export The Configuration Export page is located under Maintenance in the System Management folder. This is where you can save the NPort’s current configuration to a file on the local host. Click [Export] to begin the process.
  • Page 146 NPort IA and IAW5000A-I/O Web Console: System Management Change Password The Change Password page is located under Maintenance in the System Management folder. To change the password, choose the account name first, and then enter the old password in the Old password field.
  • Page 147 NPort IA and IAW5000A-I/O Web Console: System Management SD card Back-up Setting The NPort IA5000A-I/O and IAW5000A-I/O Series are equipped with a microSD card slot for easy configuration. The microSD card can be used to store an NPort’s system configuration settings. Auto load SD card’s configurations when system boots up: By checking this option, the NPort will import the configuration file saved in the SD card to the NPort device when the system boots up.
  • Page 148: Certificate

    NPort IA and IAW5000A-I/O Web Console: System Management Certificate Ethernet SSL Certificate Import (for the NPort IAW5000A-I/O Series) The Ethernet SSL Certificate Import page is located under Certificate in the System Management folder. This is where you can load the Ethernet SSL certificate. Select or browse for the certificate file in the Select SSL certificate/key file field.
  • Page 149 NPort IA and IAW5000A-I/O Web Console: System Management WLAN SSL Certificate Import (for the NPort IAW5000A-I/O Series) The WLAN SSL Certificate Import page is located under Certificate in the System Management folder. By default, the WLAN SSL certificate is automatically generated by the NPort based on the IP address of the wireless interface.
  • Page 150 NPort IA and IAW5000A-I/O Web Console: System Management WPA User Certificate Import (for the NPort IAW5000A-I/O Series) The WPA User Certificate Import page is located under Certificate in the System Management folder. This is where you can load the WPA user certificate. Select or browse for the certificate file in the Select WPA user certificate file field.
  • Page 151 NPort IA and IAW5000A-I/O Web Console: System Management The user private key of the NPort must be installed in the RADIUS server when the NPort uses WPA(WPA2)//TLS. The trusted server certificate of RADIUS server must also be installed on the NPort. Certificate/Key Delete The Certificate/Key Delete page is located under Certificate in the System Management folder.
  • Page 152: Web Console: System Monitoring

    Web Console: System Monitoring The following topics are covered in this chapter:  Overview  System Monitoring  Serial Status  System Status...
  • Page 153: Overview

    NPort IA and IAW5000A-I/O Web Console: System Monitoring Overview This chapter explains how to use the System Monitoring functions on the NPort web console. These functions allow you to monitor many different aspects of operation. System Monitoring Serial Status Serial to Network Connections The Serial to Network Connections page is located under Serial Status in the System Monitoring folder.
  • Page 154 NPort IA and IAW5000A-I/O Web Console: System Monitoring The Serial Port Status page is located under Serial Status in the System Monitoring folder. On this page, you can monitor the signal and data transmission status for each serial port. TxCnt: number of Tx packets (to device) for the current connection RxCnt: number of Rx packets (from device) for the current connection TxTotalCnt: number of Tx packets since the NPort was powered on RxTotalCnt: number of Rx packets since the NPort was powered on...
  • Page 155: System Status

    NPort IA and IAW5000A-I/O Web Console: System Monitoring System Status Network Connections The Network Connections page is located under System Status in the System Monitoring folder. On this page, you can view the current status of any network connection to the NPort. Serial Data Log Data logs for each serial port can be viewed in ASCII or HEX format.
  • Page 156 NPort IA and IAW5000A-I/O Web Console: System Monitoring port field. Select the desired data format in the Download format field. Click [Clear log] to clear the log contents. The data log includes all data sent or received by the specified serial port since the NPort was powered on. The maximum size of the log is 64 KB.
  • Page 157 NPort IA and IAW5000A-I/O Web Console: System Monitoring System Log The System Log page is located under System Status in the System Monitoring folder. This is where you can view the log of NPort system events. Click [Clear log] to clear the log contents. Click [Refresh] to refresh the log contents.
  • Page 158 NPort IA and IAW5000A-I/O Web Console: System Monitoring Click [Download] to save the log to a txt file for an engineer to troubleshoot, e.g., Moxa’s Technical Support Team. Click [Refresh] to refresh the log contents. WLAN Status (for NPort IAW5000A-I/O Series) The WLAN Status page is located under System Status in the System Monitoring folder.
  • Page 159: Web Console: Restart

    Web Console: Restart The following topics are covered in this chapter:  Overview  Restart  Restart System  Restart Ports...
  • Page 160: Overview

    NPort IA and IAW5000A-I/O Web Console: Restart Overview This chapter explains how to use save your configuration changes and restart the NPort using the NPort web console. Configuration changes will not be effective until they are saved and the NPort is rebooted. Restart Restart System The Restart System page is located in the Restart folder.
  • Page 161: Restart Ports

    NPort IA and IAW5000A-I/O Web Console: Restart Restart Ports The Restart Ports page is located in the Restart folder. Select the desired serial and click [Select All] to select all serial ports. Click [Submit] to restart the selected serial ports. 15-3...
  • Page 162: Android Api Instructions

    Android API Instructions The following topics are covered in this chapter:  Overview  How to Start MxNPortAPI  MxNPortAPI Function Groups  Example Program...
  • Page 163: Overview

    NPort IA and IAW5000A-I/O Android API Instructions Overview If you want to remote control your serial devices on an Android platform, then the MxNPortAPI is a simple application programming tool that you can use. The MxNPortAPI helps programmers develop an Android application to access the device server by TCP/IP.
  • Page 164: Mxnportapi Function Groups

    NPort IA and IAW5000A-I/O Android API Instructions For more details about the installation, please refer to the Overview section. MxNPortAPI Function Groups The supported functions in this API are listed below: Port Control Input/Output Port Status Inquiry Miscellaneous open read getBaud setBreak close...
  • Page 165 NPort IA and IAW5000A-I/O Android API Instructions mxNPort.open(); /*open port*/ mxNPort.setIoctlMode(mode); /*serial parameters setting*/ mxNPort.write(buf, buf.length); /*write data*/ mxNPort.close(); /*close port*/ } catch (MxException e){ /*Error handling*/ thread.start(); 16-4...
  • Page 166: Snmp Agents With Mib Ii & Rs-232-Like Groups

    SNMP Agents with MIB II & RS-232-Like Groups The NPort has built-in SNMP (Simple Network Management Protocol) agent software that supports SNMP Trap, RFC1317 RS-232 like groups and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementation for the NPort. RFC1213 MIB-II Supported SNMP Variables System MIB SysDescr...
  • Page 167: Icmp Mib

    NPort IA and IAW5000A-I/O SNMP Agents with MIB II & RS-232-Like Groups ICMP MIB IcmpInMsgs IcmpInTimestamps IcmpOutRedirects IcmpInErrors IcmpTimest ampReps IcmpOutEchos IcmpInDestUnreachs IcmpInAddrMasks IcmpOutEchoReps IcmpInTimeExcds IcmpOutMsgs IcmpOutTimestamps IcmpInParmProbs IcmpOutErrors IcmpOutTimestampReps IcmpInSrcQuenchs IcmpOutDestUnreachs IcmpOutAddrMasks IcmpInRedirects IcmpOutTimeExcds IcmpOutAddrMaskReps IcmpInEchos IcmpOutParmProbs IcmpInEchoReps IcmpOutSrcQuenchs UDP MIB UdpInDatagrams UdpOutDatagrams...
  • Page 168: Rfc1317: Rs-232 Mib Objects

    NPort IA and IAW5000A-I/O SNMP Agents with MIB II & RS-232-Like Groups RFC1317: RS-232 MIB Objects Generic RS-232-like Group rs232Number RS-232-like General Port Table rs232PortTable rs232PortEntry rs232PortIndex rs232PortType rs232PortInSigNumber rs232PortOutSigNumber rs232PortInSpeed rs232PortOutSpeed RS-232-like Asynchronous Port Group rs232AsyncPortTable rs232AsyncPortIndex rs232AsyncPortStopBits rs232AsyncPortEntry rs232AsyncPortBits rs232AsyncPortParity The Input Signal Table...
  • Page 169: Mtconnect Glossary

    MTConnect Glossary Application: A process or set of processes that access the MTConnect® Agent to perform some tasks. Component: A part of a device that also can have sub-components and data items. A component is the basic building block of a device. Current: A snapshot request to the Agent to retrieve the current values of all the data items specified in the path parameter.
  • Page 170: Well-Known Port Numbers

    Well-Known Port Numbers Listed below are well-known port numbers that may cause network problems if they are assigned to an NPort serial port. Refer to RFC 1700 for well-known port numbers or refer to the following introduction from IANA. The port numbers are divided into three ranges: Well-Known Ports, Registered Ports, and Dynamic and/or Private Ports.
  • Page 171 NPort IA and IAW5000A-I/O Well-Known Port Numbers UDP Socket Application Service reserved Management Utility Echo Discard Active Users (systat) Daytime Any private printer server Resource Location Protocol Host name server (names server) Whois (nickname) Login Host Protocol (Login) Domain Name Server (domain) Trivial Transfer Protocol (TETP) Gopher Protocol Finger Protocol...
  • Page 172: Ethernet Modem Commands

    Ethernet Modem Commands A serial port on the NPort can be set to Ethernet Modem mode, allowing a PC or device to connect to the NPort as if it was an Ethernet modem. This section provides additional detail about how the NPort operates in Ethernet Modem mode.
  • Page 173: At Commands

    NPort IA and IAW5000A-I/O Ethernet Modem Commands AT Commands Ethernet Modem mode supports the following common AT commands, as used with a typical modem: Command Description Remarks Answer manually Dial up specified IP address and port number ATD 192.168.1.1:950 (example) ATE0=Echo OFF ATE1=Echo ON (default) ATH0=On-hook (default)
  • Page 174: S Registers

    NPort IA and IAW5000A-I/O Ethernet Modem Commands S Registers Register Description Remarks Ring to auto-answer (default=0) Ring counter (always=0) no action applied Escape code character (default=43 ASCII “+”) Return character (default=13 ASCII) Line feed character (default=10 ASCII) Backspace character (default= 8 ASCII) Wait time for dial tone (always=2, unit=sec) no action applied Wait time for carrier (default=3, unit=sec)
  • Page 175: Federal Communication Commission Interference Statement

    Federal Communication Commission Interference Statement This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
  • Page 176 NPort IA and IAW5000A-I/O Federal Communication Commission Interference Statement Information for the OEMs and Integrators The following statement must be included with all versions of this document supplied to an OEM or integrator, but should not be distributed to the end user. 1.

Table of Contents