NPort W2150A/W2250A Series User’s Manual Edition 10.1, September 2018 www.moxa.com/product © 2018 Moxa Inc. All rights reserved.
NPort W2150A/W2250A Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2018 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction ............................................................................................................................... ....... 1-1 Overview ........................................................................................................................................... 1-2 Package Checklist ...............................................................................................................................1-2 Product Features ..................
Serial Port Settings ......................................................................................................................8-2 Communication Parameters ........................................................................................................ 8-21 Data Buffering/Log .................................................................................................................... 8-22 9. Web Console: System Management ..........................................................
1 1.
NPort W2150A/W2250A Series Introduction Overview In this chapter, we introduce the basic features and specifications of the NPort W2150A/W2250A and NPort W2150A/W2250A-T, referred to collectively as the NPort W2150A/W2250A Series. The NPort W2150A/W2250A Series of wireless device servers are used to connect RS-232/422/485 serial devices or Ethernet devices, including PLCs, meters, and sensors, to a wireless LAN.
NPort W2150A/W2250A Series Introduction Product Features • Supports wireless client: links any serial or Ethernet device to an IEEE 802.
2 2.
NPort W2150A/W2250A Series Getting Started Overview This chapter presents the hardware features of the NPort W2150/W2250A Series and explains how to connect the hardware.
NPort W2150A/W2250A Series Getting Started LED Indicators Top Panel LED Indicators Name Color Red Green Off Green Serial 2 Orange Green Off Red Signal Strength (5 LEDS) Blinking: An IP conflict exists, or the DHCP/ BOOTP server did not Steady on: The NPort is functioning normally. Blinking: The unit is responding to Locate function. Power is off, or a power error condition exists.
NPort W2150A/W2250A Series Getting Started Pull High/Low Resistors for RS-422/485 You may need to set the pull high/low resistors when termination resistors are used for certain RS-422 or RS-485 environments. S2 (Serial 1) DIP 1 DIP 2 DIP 3 DIP 4 S3 (Serial 2) Pull high resistor Pull low resistor Terminal resistor Reserved ON .ƻ .ƻ ƻ – .ƻ *N/A – OFF .ƻ *Default S3 is for NPort W2250A only ATTENTION 'R QRW XVH WKH .ƻ VHWWLQJ ZKLOH LQ 56-232 mode.
NPort W2150A/W2250A Series Getting Started Placement Options The NPort can be placed on a desktop or other horizontal surface. You can also install the NPort on a DINrail or on the wall. Wall Mounting DIN-Rail Mounting 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.
NPort W2150A/W2250A Series Getting Started Connecting to the Network Use the supplied Ethernet cable to connect the NPort to your Ethernet network. If the cable is properly connected, the NPort will indicate a valid connection to the Ethernet as follows: • A green Ethernet LED indicates a valid connection to a 100 Mbps Ethernet network. • An orange Ethernet LED indicates a valid connection to a 10 Mbps Ethernet network.
3 3.
NPort W2150A/W2250A Series 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 5 and 6 for details on using the web console for configuration.
NPort W2150A/W2250A Series 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 Device Search Utility (DSU). Using the Telnet Console to an Assign IP Address 1. Select Run… from the Windows Start menu. 2. Enter telnet 192.168.126.
NPort W2150A/W2250A Series Initial IP Configuration 4. You will login to the Overview page. 5. Press N or use the cursor keys to select Network and press ENTER. 6. Press E or use the cursor keys to select Ethernet and press ENTER.
NPort W2150A/W2250A Series Initial IP Configuration 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. 8. Press ESC to return to the menu. When prompted, press Y to save the configuration changes.
NPort W2150A/W2250A Series Initial IP Configuration The NPort will reboot with the new IP settings. You can telnet to the new IP to login again. Using the Serial Console to an 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.
NPort W2150A/W2250A Series Initial IP Configuration 4. In your terminal emulator program, set the terminal type to ANSI or VT100. If you select Dumb Terminal as the terminal type, some of the console functions—especially the “Monitor” function—may not work properly. 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.
NPort W2150A/W2250A Series Initial IP Configuration 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.
4 4.
NPort W2150A/W2250A Series Introduction to Operation Modes Overview This chapter introduces the different serial port operation modes that are available on the NPort W2150A/W2250A Series. Each serial port on the NPort is configured independently of the other ports, with its own serial communication parameters and operation mode. The serial port’s operation mode determines how it interacts with the network, and different modes are available to encompass a wide variety of applications and devices.
NPort W2150A/W2250A Series Introduction to Operation Modes ATTENTION In Real COM mode, several hosts can have simultaneous access control over the NPort serial port. If necessary, you can limit access by using the NPort’s Accessible IP settings. Please refer to Chapter 8 for additional information on Accessible IP settings. RFC2217 Mode RFC-2217 mode is similar to Real COM mode, since it relies on a driver to transparently map a virtual COM port on a host computer to a serial port on the NPort.
NPort W2150A/W2250A Series Introduction to Operation Modes UDP Mode UDP is similar to TCP but is faster and more efficient. Data can be broadcast to or received from multiple network hosts. However, UDP does not support verification of data and would not be suitable for applications where data integrity is critical. It is ideal for message display applications. Pair Connection Modes Pair Connection Master and Slave modes connect two NPort device servers over a network for serial-toserial communication.
NPort W2150A/W2250A Series Introduction to Operation Modes 4-5
5 5.
NPort W2150A/W2250A Series Installing and Configuring the Software Overview This chapter describes how to install and use the NPort Windows Driver Manager, the Device Search Utility (DSU), and NPort Linux and UNIX drivers. You may download these items from Moxa’s website that is provided with the NPort W2150A/W2250A Series. NPort Windows Driver Manager is a utility that installs and manages NPort COM drivers for COM mapping.
NPort W2150A/W2250A Series Installing and Configuring the Software 3. Select a destination location and click Next to proceed. 4. Indicate if you wish to create a desktop icon and click Next to proceed.
NPort W2150A/W2250A Series Installing and Configuring the Software 5. Verify the installation parameters and click Install to proceed. 6. The wizard will begin installing the files. After the files have been installed, click Finish to complete the installation. Finding NPort Device Servers on a Network You can use the Device Search Utility (DSU) to look up or change the IP address of any NPort device server on the network.
NPort W2150A/W2250A Series Installing and Configuring the Software 2. The utility will being searching for NPort device servers. 3. When the search is complete, the NPort units that were found will be listed in the main window. Modifying NPort IP Addresses 1. Once the Device Search Utility (DSU) has found NPort device servers on the LAN, you can modify any unit’s IP address. Select the desired NPort in the main window and click Assign IP on the main toolbar.
NPort W2150A/W2250A Series Installing and Configuring the Software 3. The selected NPort will be restarted by the Device Search Utility (DSU) with the new IP address. Upgrading NPort Firmware 1. Once the Device Search Utility (DSU) has found NPort device servers on the LAN, you can upgrade any unit’s firmware. Right-click the desired NPort in the main window and select Upgrade. 2. Select the new firmware file and click OK to proceed. To obtain the latest firmware for the NPort W2150A/W2250A, visit www.
NPort W2150A/W2250A Series Installing and Configuring the Software 3. The utility will begin upgrading the firmware for the selected unit. Do not disconnect or power off the unit while the firmware is being upgraded. 4. When the displayed status is OK, click Close to complete the process. ATTENTION The Device Search Utility (DSU) supports upgrading the firmware of multiple units simultaneously if each unit is the same model.
NPort W2150A/W2250A Series Installing and Configuring the Software 2. The installation wizard will open. Click Next to proceed. 3. Select a destination location and click Next to proceed.
NPort W2150A/W2250A Series Installing and Configuring the Software 4. Select a folder for the program shortcuts and click Next to proceed. 5. Verify the installation parameters and click Install to proceed.
NPort W2150A/W2250A Series Installing and Configuring the Software 6. If you see a warning that the software has not passed Windows Logo testing, click Continue Anyway to proceed. 7. The wizard will begin installing the files. When the files have been installed, click Finish to complete the installation. Adding Mapped Serial Ports NPort Windows Driver Manager adds a COM port to your PC that is mapped to an NPort serial port. The destination NPort serial port must be set to Real COM mode. 1.
NPort W2150A/W2250A Series Installing and Configuring the Software 2. Click Search to search the network for NPort device servers. In the list of NPort device servers that were found, select the unit(s) that you will use for COM mapping and click OK. Alternatively, you can select Input Manually and manually enter the NPort IP Address, 1st Data Port, 1st Command Port, and Total Ports for the desired NPort unit. Click OK to proceed.
NPort W2150A/W2250A Series Installing and Configuring the Software 3. NPort Windows Driver Manager will list each available serial port and will automatically assign a new COM port to each one. The new COM port will not be accessible by the host system until it has been activated in NPort Windows Driver Manager. Activating a mapped COM port saves the information in the host system registry and makes the COM port available for use.
NPort W2150A/W2250A Series Installing and Configuring the Software Configuring Mapped Serial Ports 1. To modify the settings of a mapped serial port, select the desired port(s) and click Setting on the main toolbar. 2. On the Basic Setting tab, select the COM Number that will be assigned to the serial port. If you have selected multiple ports, you can assign COM numbers automatically in sequential order by selecting the Auto Enumerating COM Number for Selected Ports function.
NPort W2150A/W2250A Series Installing and Configuring the Software 3. On the Advanced Setting tab, configure Tx Mode, FIFO, and Fast Flush. Tx Mode: In Hi-Performance mode, the driver immediately issues a “Tx Empty” response to the program after sending data to the NPort. In Classical mode, the driver sends the “Tx Empty” response after confirmation is received from the NPort. Classical mode is recommended if you want to ensure that all data is sent out before further processing.
NPort W2150A/W2250A Series Installing and Configuring the Software Drop Writing Data if Network Connection is Lost: This function will assure the data to be kept in the buffer or dropped when network connection is lost. The buffer size is 4 KBytes. 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 to the NPort.
NPort W2150A/W2250A Series Installing and Configuring the Software 5. On the Security tab, select the Enable Data Encryption option to enable data to be encrypted when transmitted over the COM ports. After selecting the encryption option, select the Keep connection option to start encrypting COM port communications immediately without restarting the COM ports.
NPort W2150A/W2250A Series Installing and Configuring the Software 8. To save all COM mapping settings to a text file, right-click a COM port and select Export in the context menu. After the settings have been exported to a file, they can be imported on another host. Command-Line Installation/Removal For NPort Windows Driver Manager v1.19 and above, it comes with command line script tool – npcli.exe for installation, removal of the driver and capability of configuring NPort driver functions.
NPort W2150A/W2250A Series Installing and Configuring the Software Once NPort Windows Driver Manager v1.19 (or above) is installed, call up the cmd screen on your computer. Change the directory to the drive where you placed the above two files. Type npcli /? to get detail information of what command lines are supported and the function descriptions. The usage instructions will show up for a user’s reference.
NPort W2150A/W2250A Series /search /set /port /password /network /ip /mask /gateway /apply Installing and Configuring the Software Search the NPort and store the list to the memory. Specify the ID to set. Users must specify one of the searched NPorts for further operations. The default is 1. Specify the NPort port number (PORT_NO) to set. Specify the password (CIPHER) if the NPort has one. Set to change the network settings. Change the IP address (IP_ADDR) of NPort.
NPort W2150A/W2250A Series Installing and Configuring the Software 4. Copy the driver file npreal2xx.tgz to the / directory. 5. Execute tar xvfz npreal2xx.tgz to extract all files into the system. 6. Execute /tmp/moxa/mxinst. (For Red Hat AS/ES/WS and Fedora Core1, execute “# /tmp/moxa/mxinst SP1”.) The shell script will install the driver files automatically. 7.
NPort W2150A/W2250A Series Installing and Configuring the Software 1. Modify npreal2d.cf. 2. Remove the relevant TTY ports in directory /dev. 3. Restart the driver. If the IP address is not provided in the command line, the program will list the installed servers and total ports on the screen. You will need to choose a server from the list for deletion. Removing Linux Driver Files A utility is included that will remove all driver files, mapped TTY ports, and unload the driver.
NPort W2150A/W2250A Series Installing and Configuring the Software Configuring the UNIX Driver Modify the configuration: The configuration used by moxattyd is defined in the text file moxattyd.cf, which is in the same directory. You may use vi or any text editor to modify the file, as follows: ttyp1 192.168.1.1 950 You can refer to moxattyd.cf for detailed descriptions of the various configuration parameters. Please note that Device Name depends on the OS. See the Device Naming Rule section in README.
6 6.
NPort W2150A/W2250A Series 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. Network settings, operation mode, and other items can all be configured through the browser.
NPort W2150A/W2250A Series 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. Select the desired folder in the left navigation panel to open that page. The page will be displayed in the main window on the right.
NPort W2150A/W2250A Series Web Console: Basic Settings Basic Settings On the Basic Settings page, you can configure Server name, Server location, Time zone (24-hour), Local time, and Time server. Server Name Default NPortW2150A_ or NPortW2250A_ Options free text (e.g., “Server 1”) Description This is an optional free text field to help you differentiate one device server from another. It does not affect operation of the NPort device server.
NPort W2150A/W2250A Series Web Console: Basic Settings Local Time Default Options Date (yy:mm:dd), Time (hh:mm:ss) Description The NPort has a built-in real-time clock that allows you to add time information to functions such as the automatic warning e-mail or SNMP trap. This field shows the current time according to the NPort’s built-in real-time clock. This is not a live field, so you will need to refresh the browser to get an updated reading. Change the correct date or time, and click [Submit].
7 7.
NPort W2150A/W2250A Series 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 IP address (e.g., “192.168.1.1”) Description This field is for the DNS server’s IP address, if applicable.
NPort W2150A/W2250A Series Web Console: Network Settings Ethernet/Bridge Settings To enable the Ethernet-to-Wireless function, also called Wireless Client, go to the Ethernet/Bridge Settings page and enable Ethernet Bridge. When it's enabled, the LAN and WLAN will use the same IP configuration (use the same IP address, netmask and gateway settings).
NPort W2150A/W2250A Series Web Console: Network Settings Ethernet Bridge Default Disabled Options Enabled, Disabled Description This field specifies whether to enable Ethernet Bridge mode or not. When Ethernet Bridge is enabled, the LAN and WLAN interfaces are bridged together. Data can be seamlessly transferred between serial lines, LAN, and WLAN. The LAN and WLAN will use the LAN IP setting, and WLAN IP setting will be disabled. Disabled: When disabled, you can use either the LAN or WLAN.
NPort W2150A/W2250A Series 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 (LAN).
NPort W2150A/W2250A Series Web Console: Network Settings WLAN Settings 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 W2150A/W2250A Series supports IEEE 802.11a/b/g/n wireless network interfaces. The supported IP configurations are static and dynamic (BOOTP, DHCP, or BOOTP+DHCP).
NPort W2150A/W2250A Series Description Web Console: Network Settings This field is for the IP address that will be assigned to your NPort device server. An IP address is a number assigned to a network device (such as a computer) as a permanent address on the network. Computers use the IP address to identify and talk to each other over the network. Choose a proper IP address that is unique and valid in your WLAN environment.
NPort W2150A/W2250A Series Web Console: Network Settings Profile The Profile page is located under WLAN Settings in the Network Settings folder. This is where you configure the NPort for Infrastructure operation. Different settings are available depending on whether you select Ad-hoc Mode or Infrastructure Mode.
NPort W2150A/W2250A Series 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.
NPort W2150A/W2250A Series 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. After selecting Ad-hoc or Infrastructure Mode, click [General] to open the General page for the selected profile. In Ad-hoc Mode and Infrastructure Mode, only one profile is available.
NPort W2150A/W2250A Series 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 Wi-Fi AP. Additional settings are also available depending on whether you select Ad-hoc Mode or Infrastructure Mode. Profile Name Default Ad-hoc (in Ad-hoc Mode) Infrastructure (in Infrastructure Mode) Options free text (e.g.
NPort W2150A/W2250A Series Web Console: Network Settings RF Type Default 802.11b/g for Ad-Hoc Mode. Auto for Infrastructure Mode. Options Auto, 802.11a, 802.11b/g, 802.11a/n, 802.11b/g/n 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. Auto: In Ad-hoc Mode, the NPort will scan the 2.
NPort W2150A/W2250A Series Web Console: Network Settings Channel (Ad-hoc mode only) Default 1 Options 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 Description This field is for Ad-Hoc Mode only and specifies the radio channel to use for the wireless network. Fast Roaming (Infrastructure mode only) Default Disable Options Disable, Enable Description This field is only available in Infrastructure Mode and is used to specify the W2150A/W2250A roaming behavior.
NPort W2150A/W2250A Series Web Console: Network Settings Options numbers Description When the signal strength between the device and the AP is worse than this number, below -70 dBm as the default number, the device server will start to scan for a new AP to establish the connection. Roaming difference (This function is supported by firmware V1.
NPort W2150A/W2250A Series 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. In Ad-hoc Mode, only one profile is available, whereas three profiles are available in Infrastructure Mode.
NPort W2150A/W2250A Series 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.
NPort W2150A/W2250A Series 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. Open System: The NPort will simply announce a desire to associate with another station or access point.
NPort W2150A/W2250A Series 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. Disable: No encryption is applied to the data during wireless communication.
NPort W2150A/W2250A Series 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. WEP Key Length Default 64bits Options 64bits, 128bits Description This field specifies the length of the WEP key.
NPort W2150A/W2250A Series 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 free text in ASCII or HEX Description These fields are only available if WEP key source is set to Manual. Enter each WEP key in ASCII or HEX as specified in WEP key format.
NPort W2150A/W2250A Series Web Console: Network Settings Security Settings for WPA, WPA2 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.
NPort W2150A/W2250A Series Web Console: Network Settings There are two parts to WPA and WPA2 security, authentication, and data encryption. • Authentication occurs before access is granted to a WLAN. Wireless clients such as the NPort W2150A/W2250A Series are first authenticated by the AP according to the authentication protocol used by the RADIUS server. Depending on the WLAN security settings, an EAP tunnel can be used to scramble the username and password that is submitted for authentication purposes.
NPort W2150A/W2250A Series Web Console: Network Settings Password Default Options free text (e.g., “Password123”) Description This field specifies the password that will be used to gain access to the WLAN. The correct username and password must be provided for access to be granted. Anonymous Username Default Options free text (e.g., “Anyuser”) Description This field specifies the anonymous username to use when initiating authentication.
NPort W2150A/W2250A Series Web Console: Network Settings WLAN Log Settings (This function is supported by firmware V1.10 or above) 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 for troubleshooting. You may find System Monitoring Æ System Status Æ WLAN Log for the detail logs.
NPort W2150A/W2250A Series Web Console: Network Settings 7-25
8 8.
NPort W2150A/W2250A Series 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.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Operation Mode Default Real COM Options Real COM, RFC2217, TCP Server, TCP Client, UDP, Pair_Master, Pair_Slave, EModem Description Along with Application, this field specifies the serial port’s operation mode, or how it will interact with network devices. Depending on how Application is configured, different options are available for Mode. Depending on how Mode is configured, additional settings will be available for configuration.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Settings for Real COM Mode When Operation Mode is set to Real COM on a serial port’s Operation Modes page, you will be able to configure additional settings including TCP alive check time, Max connection, Ignore jammed IP, Allow driver Control, Connection goes down, Packet length, Delimiter 1, Delimiter 2, Delimiter process, and Force transmit.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Max connection Default 1 Options 1 to 8 Description This field specifies the maximum number of connections that will be accepted by the serial port. 1: Only one specific host can access this serial port, and the Real COM driver on that host will have full control over the port. 2 to 8: This serial port will allow the specified number of connections to be opened simultaneously.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Packet length Default 0 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. 1 to 1024: Data in the buffer will be sent as soon it reaches the specified length.
NPort W2150A/W2250A Series 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. 0: If serial data is not received, the NPort will wait indefinitely for additional data.
NPort W2150A/W2250A Series Web Console: Serial Port Settings TCP port Default 4001 Options Description This field specifies the TCP port number that the serial port will use to listen to connections, and that other devices must use to contact the serial port. Packet length Default 0 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.
NPort W2150A/W2250A Series 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. 0: If serial data is not received, the NPort will wait indefinitely for additional data.
NPort W2150A/W2250A Series 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” packets. 0: The TCP connection will remain open even if there is no response to the “keep-alive” packets.
NPort W2150A/W2250A Series 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. Enable: Data transmission to the other hosts will not be suspended if one IP address becomes unresponsive.
NPort W2150A/W2250A Series 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.
NPort W2150A/W2250A Series 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.
NPort W2150A/W2250A Series 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. For many applications, the serial device may be idle for long periods of time, so 0 is an appropriate setting.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Connection control Default Startup/None Options Startup/None, Any Character/None, Any Character/Inactivity Time, DSR On/DSR Off, DSR On/None, DCD On/DCD Off, DCD On/None Description This field specifies how connections to the device are established and closed. Startup/None: The connection will be opened as the NPort starts up. The connection will only be closed manually.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Delimiter process Default Do Nothing Options Do Nothing, Delimiter + 1, Delimiter + 2, Strip Delimiter 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.
NPort W2150A/W2250A Series Web Console: Serial Port Settings When Operation Mode is set to UDP on a serial port’s Operation Modes page, you will be able to configure additional settings such as Destination address 1 through 4, Local listen port, Packet length, Delimiter 1, Delimiter 2, Delimiter process, and Force transmit. Destination address 1 to 4 Default Options IP address range and port (e.g., “192.168.1.1” to “192.168.1.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Delimiter process Default Do Nothing Options Do Nothing, Delimiter + 1, Delimiter + 2, Strip Delimiter 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.
NPort W2150A/W2250A Series Web Console: Serial Port Settings 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. A Pair Connection application involves one serial port communicating over an IP network to another serial port as if the two serial ports were connected by a serial cable.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Settings for Ethernet Modem Mode When Application is set to Ethernet Modem Mode, the NPort will accept AT commands such as “ATD 192.127.168.1:4001” from the serial port. A TCP connection will then be requested from the specified remote Ethernet Modem or PC. When the remote unit accepts this TCP connection, the NPort will return the “CONNECT {baudrate}” signal to the serial port and will then enter data mode.
NPort W2150A/W2250A Series Web Console: Serial Port Settings Communication Parameters The Communication Parameters page for each serial port is where serial communication settings are specified, such as Baud rate, Data bits, and Stop bits. 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.