Moxa Technologies NE-4100 Series User Manual
Moxa Technologies NE-4100 Series User Manual

Moxa Technologies NE-4100 Series User Manual

Serial command mode
Hide thumbs Also See for NE-4100 Series:

Advertisement

Quick Links

NE-4100 Series Serial Command Mode
User Manual
Version 2.1, July 2022
www.moxa.com/products
© 2022 Moxa Inc. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NE-4100 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies NE-4100 Series

  • Page 1 NE-4100 Series Serial Command Mode User Manual Version 2.1, July 2022 www.moxa.com/products © 2022 Moxa Inc. All rights reserved.
  • Page 2 NE-4100 Series Serial Command Mode User 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 © 2022 Moxa Inc. All rights reserved.
  • Page 3: Table Of Contents

    Table of Contents Introduction ............................4 Serial Command Format and Command Set ..................5 Operation Flow Chart ..........................9 Configuring Serial Command Mode by Entering Trigger Type ............. 10 Network Enabler Administrator ......................10 Telnet Console ............................ 12 Web Console ............................13 Serial Console .............................
  • Page 4: Introduction

    The Serial Command Mode function described in this User Manual is built into the firmware of the Command Mode models of Moxa’s NE-4100 Series of Embedded Network Enablers. All five models, which are listed below, support auto-detecting 10/100 Mbps Ethernet.
  • Page 5: Serial Command Format And Command Set

    Get Network Enabler parameter Set Network Enabler parameter Reply Code Settings Comments Command was executed successfully Command not supported OP code not supported Invalid command encapsulation Invalid parameter Invalid return value Enter serial command mode NE-4100 Series Serial Command Mode User Manual...
  • Page 6 Inactivity Timeout 0: Disable 1: Enable 1-character Number of delimiters 2: Enable 2 characters ascii character Delimiter 1 (e.g., “a1”) ascii character Delimiter 2 (e.g., “a1”) 0 – 65535 (ms) Force Tx Timeout NE-4100 Series Serial Command Mode User Manual...
  • Page 7 (e.g., 192.168.1.1) xxx.xxx.xxx.xxx Last IP of range 4 (e.g., 192.168.1.1) 0 – 65535 UDP Port 1 0 – 65535 UDP Port 2 0 – 65535 UDP Port 3 0 – 65535 UDP Port 4 NE-4100 Series Serial Command Mode User Manual...
  • Page 8 1: high Serial Command Mode 0: Disable 1: Enable HW Trigger Enable Serial Command Mode 2: Enable SW Trigger Enter Command Mode Characters 3 4-byte characters (in HEX format; e.g., 2A EE 5F) NE-4100 Series Serial Command Mode User Manual...
  • Page 9: Operation Flow Chart

    This flowchart represents a continual process. You can start trace out a logical flow by starting anywhere on the chart. Diamonds represent decision points. Only one path leading out of any diamond can be followed. NE-4100 Series Serial Command Mode User Manual...
  • Page 10: Configuring Serial Command Mode By Entering Trigger Type

    Enabler and PC must be on the same subnet. Once the NE-4100-CMD is located, click on the product’s Model to highlight it, and then click the right mouse button. Select the Configuration option. NE-4100 Series Serial Command Mode User Manual...
  • Page 11 (in HEX format) that will be used as the trigger characters. NOTE The default setting is HW Trigger Enabled. Only one of the two trigger types (HW or SW) can be set at the same time. NE-4100 Series Serial Command Mode User Manual...
  • Page 12: Telnet Console

    Once all configurations have been made, return to the main Telnet menu, and then type s to save the configuration and restart the NE-4100-CMD. If you quit without saving, any changes you made to the configuration will be lost. NE-4100 Series Serial Command Mode User Manual...
  • Page 13: Web Console

    Web Console, open your browser, type the NE-4100-CMD’s IP address in the Address field (default = 192.168.127.254), and then press Enter. The NE-4100-CMD homepage will open. Click on the Serial Command Mode folder under the left Main Menu. NE-4100 Series Serial Command Mode User Manual...
  • Page 14: Serial Console

    Terminal Emulator) to enter the Console Utility. The serial console port settings are “19200, no, 8, 1”. Details of how to connect via the serial console port can be found in the NE-4100 Series User Manual. The text-based configuration utility works exactly the same as if connecting by Telnet Console. See the Telnet Console section above for details.
  • Page 15: Entering Serial Command Mode

    Enabler Console. For example, from Network Enabler Administrator, open the NE’s Configuration panel, click on the Serial tab, click on the port’s information line to highlight it, and then click on Settings to open the Serial Settings window. NE-4100 Series Serial Command Mode User Manual...
  • Page 16: Comments

    All data communication will cease when the device is in serial command mode.  Any open TCP connection will be closed, for both the client and the server.  No new TCP connections can be establed.  UDP data communication will be disabled. NE-4100 Series Serial Command Mode User Manual...
  • Page 17: Exiting Serial Command Mode

     Save & Restart  Restart only (modifications will not be saved) 3. Auto Restart If 5 minutes elapses without inputting a valid command, then the NE unit will auto-restart without saving modifications. NE-4100 Series Serial Command Mode User Manual...
  • Page 18: Determining The Active Mode

    Command Mode implies that the NE module is being configured. In this case, Ethernet data communication will cease. All data from the serial port will be parsed, and valid commands will be used to change the configuration. NE-4100 Series Serial Command Mode User Manual...
  • Page 19: By Text Via The Serial Port

    Serial Device to NE module command NE Module return code 0x0d (C language: ‘\r’) 0x3c 0x45 0x0d (“<E\r”) 0x0a, 0x0d (C language: ‘\n’ or Enter key) 0x3c 0x45 0x0d (“<E\r”) Error command 0x3c 0x33 0x0c (“<3\r”) NE-4100 Series Serial Command Mode User Manual...
  • Page 20: Sw Reset Function

    The SW Reset function is disabled by default. If SW Reset is enabled, then since “disable” is the default, it will be reset to “disabled” automatically after receiving a 10 sec. SW Reset command. This helps to prevent users from resetting to the default values inadvertently. NE-4100 Series Serial Command Mode User Manual...
  • Page 21: Factory Defaults

    Stop Bit Flow Control FIFO Enabled Ethernet Port Defaults IP Configuration Static IP Address 192.168.127.254 Netmask 255.255.255.0 Gateway none Default Operation Mode Operation Mode TCP Server Mode Default Trigger Method Trigger Method HW Trigger NE-4100 Series Serial Command Mode User Manual...
  • Page 22: Demonstration/Testing Environment

    HyperTerminal displays “<YBNNE-4100-CMD\r” (indicates NE’s Model Name = NE-4100T- CMD). Step 8: Use HyperTerminal to send “>WBR1\n” (command to exit Serial Command Mode). NOTE When using MOXA PComm Terminal, instead of HyperTerminal, use “CR” (carriage return) in place of “Enter”. NE-4100 Series Serial Command Mode User Manual...
  • Page 23: Example 2: Change Ip Address Using Hw Trigger

    HyperTerminal displays “<YNC1\r” (indicates NE’s IP Mode = DHCP). Step 8: Use HyperTerminal to send “>WBR0\n” (command to exit Serial Command Mode). NOTE When using MOXA PComm Terminal, instead of HyperTerminal, use “CR” (carriage return) in place of “Enter”. NE-4100 Series Serial Command Mode User Manual...
  • Page 24: Example 4: Change Tcp Port Number Using Sw Trigger

    Step 11: HyperTerminal displays “<YTL4001\r” (indicates TCP Server’s TCP Port No. = 4001). Step 12: Use HyperTerminal to send “>WBR1\n” (command to exit Serial Command Mode). NOTE When using MOXA PComm Terminal, instead of HyperTerminal, use “CR” (carriage return) in place of “Enter”. NE-4100 Series Serial Command Mode User Manual...

Table of Contents