WE-2100T Series User’s Manual First Edition, August 2007 www.moxa.com/product Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support Worldwide: support@moxa.com.tw The Americas: support@moxa.
WE-2100T 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 Copyright © 2007 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ...............................................................................................1-1 Overview .............................................................................................................................. 1-2 Package Checklist................................................................................................................. 1-2 Product Features ...............................................................................
Network Settings> General Settings..................................................................................... 7-2 DNS Server 1 and 2 ...................................................................................................... 7-2 Network Settings> Ethernet Settings.................................................................................... 7-3 IP Configuration ...........................................................................................................
Settings for RealCOM Mode................................................................................................ 8-4 TCP Alive Check Time ................................................................................................ 8-4 Max Connection ........................................................................................................... 8-4 Delimiter 1 and 2 ..........................................................................................................
To E-mail Address 1 to 4 .............................................................................................. 9-7 System Management> Auto Warning Settings> SNMP Trap ............................................... 9-8 SNMP Trap Server IP or Domain Name ...................................................................... 9-8 Trap Version .................................................................................................................
Configuration...................................................................................................................... 12-6 Broadcast Search ........................................................................................................ 12-7 Specify by IP Address ................................................................................................ 12-7 Unlock .....................................................................................................................
Example 1: Use Hardware Trigger, Get Model Name.............................................. 13-15 Example 2: Use Hardware Trigger, Change IP Address .......................................... 13-15 Example 3: Use Software Trigger, Get IP Mode...................................................... 13-16 Example 4: Use SW Trigger, Change TCP Port Number......................................... 13-16 Appendix A Well Known Port Numbers ......................................................................
1 Chapter 1 Introduction The WE-2100T is a small embedded serial-to-WLAN module that gives your serial device the ability to connect to a wireless network. It comes with built-in TCP/IP and wireless security/authentication protocols for fast integration, saving you time and energy on programming.
WE-2100T Series User’s Manual Introduction Overview The WE-2100T is a very compact module that installs in a serial device to connect it to a wireless LAN. With such a small size, around half the size of a credit card., it can be installed into almost any kind of serial device. The WE-2100T also comes with a built-in TCP/IP stack for fast integration with your serial devices.
WE-2100T Series User’s Manual Introduction Product Specifications WLAN Spread Spectrum Technology DSSS,CCK,OFDM Standards Compliance 802.11 a/b/g 5.15~5.25 GHz: 15 dBm@6 Mbps; 12 dBm@54 Mbps 5.725~5.825 GHz: 15 dBm@6 Mbps; 12 dBm@54 Mbps 2.412~2.483 GHz: 17 dBm@6 Mbps; 15 dBm@54 Mbps 2.412~2.472 GHz: 18 dBm@1~11 Mbps Up to 100 meters (in open areas) Tx Power Transmission Distance Security AES, WEP 64/128-bit, WPA, WPA2, 802.11i Infrastructure for 802.11 a/b/g Ad-Hoc for 802.
WE-2100T Series User’s Manual Introduction Web console, serial console, Telnet console, Windows utility, serial command Power Requirements Configuration Power Input 3.3V ± 5% VDC Power 950 mA @ 3.3 VDC (max.
2 Chapter 2 Panel Layout and Pin Assignments This chapter includes information about the panel layouts and pin assignments for WE-2100T. The layouts and reference circuit diagrams for the evaluation boards are also covered. The evaluation boards are used for evaluation and development of applications for WE-2100T.
WE-2100T Series User’s Manual Panel Layout and Pin Assignments Dimensions WE-2100T Unit: mm 2-2
WE-2100T Series User’s Manual Panel Layout and Pin Assignments WE-2100T-ST Unit: mm 2-3
WE-2100T Series User’s Manual Panel Layout and Pin Assignments Pin Assignments Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 Function 3.3V 3.3V 3.
WE-2100T Series User’s Manual Panel Layout and Pin Assignments WE-2100-ST LED Indicators Type Color Off Ready Green Off Fault Red Off WLAN Green Off WLAN Strength Ethernet Serial TXD Serial RXD Green/Off Off Orange Green Off Green Off Yellow Off DO0~DO8 Green Status Meaning Power is off. Off Unit is booting or rebooting. IP error condition occurs. Steady On Unit is functioning normally. Unit is responding to software Locate function. Blinking Reset button is being held down. Power is off.
3 Chapter 3 Getting Started This chapter includes information about installing WE-2100T.
WE-2100T Series User’s Manual Getting Started Wiring Requirements 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. Follow maximum current ratings Calculate the maximum possible current in each power wire and common wire.
WE-2100T Series User’s Manual Getting Started Installing onto the WE-2100T-ST Evaluation Board The WE-2100T-ST evaluation board is a tool to help you develop your WE-2100T application. The module must first be installed on the board before the power supply, network, and serial device are connected. Align the sockets on the WE-2100T module with the pins on the WE-2100T-ST board, as shown in the following figure.
WE-2100T Series User’s Manual Getting Started The bottom row of pins is for connecting a 5V power supply; the next row up is for connecting a 3.3V power supply. Digital I/O pins are located on the right side. The top row of pins is for grounding. Connecting to the Network When developing your application, you may wish to use Ethernet to configure the WE-2100T, especially if your wireless LAN is not functional yet. You may connect to the network using the evaluation board’s RJ45 Ethernet port.
WE-2100T Series User’s Manual Getting Started Min. Max. High-level Minimum voltage when DO is set input voltage to “High” status 2.4 ----The output current for each digital output channel carries only 1 mA. Unit Conditions V On the evaluation board, the DIO mode jumper selects whether a digital channel will be connected to the DIP switch for input testing, or to the LED for output testing.
4 Chapter 4 Selecting an Operation Mode In this section, we describe the available operation modes for the WE-2100T. There is a mode that relies on a driver installed on the host computer, and other modes that rely on TCP/IP socket programming concepts. After determining the proper operation mode for your application, please refer to Chapter 8 for instructions on configuring that mode.
WE-2100T Series User’s Manual Selecting an Operation Mode Overview The WE-2100T connects serial devices to the wireless LAN. It has a built-in TCP/IP stack that saves you the effort of programming networking protocols. Simply select the proper operating mode to allow your computer to access, manage, and configure your serial device over the Internet. Traditional SCADA and data collection systems collect data from various instruments over serial connections (RS-232/422/485).
WE-2100T Series User’s Manual Selecting an Operation Mode TCP Client Mode In TCP Client mode, the module 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 module can automatically disconnect from the host computer through the Inactivity time settings. Please refer to Chapter 8 for details on these parameters. Data transmission proceeds as follows: 1.
WE-2100T Series User’s Manual Selecting an Operation Mode ATTENTION Real COM drivers are installed and configured through the included Windows utility. Real COM mode allows you to continue using your serial communications software to access devices that are now attached to the WE-2100T module. On the host, the Real COM driver automatically intercepts data sent to the COM port, packs it into a TCP/IP packet, and redirects it to the network.
5 Chapter 5 Initial IP Address Configuration When setting up your WE-2100T module for the first time, the first thing you should do is configure the IP address. This chapter introduces the methods that can be used to configure the WE-2100T’s IP address. For more details about network settings, please refer to Chapter 7.
WE-2100T Series User’s Manual Initial IP Address Configuration Selecting an IP Address or Configuration For most applications, you will assign a fixed IP address to the module, which means that you set the IP address directly. However, for certain network environments, your module’s IP address will need to be assigned by a DHCP or BOOTP server.
WE-2100T Series User’s Manual Initial IP Address Configuration 1. Select a valid IP address for your WE-2100T module. Consult with your network administrator if necessary. 2. Obtain the module’s MAC address from the label on the module. 3. From the DOS prompt, execute the arp -s command with the desired IP address and the module’s MAC address, as in the following example: arp -s 192.168.200.100 00-90-E8-xx-xx-xx In this example 192.168.200.
WE-2100T Series User’s Manual Initial IP Address Configuration 3. Select the terminal type and press ENTER. 4. Select Network by pressing N or by using the cursor keys. Press ENTER after making the selection. 5. Select Ethernet or WLAN and press ENTER.
WE-2100T Series User’s Manual Initial IP Address Configuration 6. 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. 7. Press ESC to return to the menu. Press ESC again to return to the main menu. When prompted, press Y to save the configuration changes. 8. Select Restart and then press ENTER.
WE-2100T Series User’s Manual 9. Initial IP Address Configuration Select System and then press ENTER. 10. Press Enter to restart the module. It will reboot with the new IP settings. Assigning IP Address with Serial Console You may use the module’s console port to configure the IP address. As soon as the connection is open, you will be presented with a text menu identical to the Telnet console. 1. 2. Connect your PC’s serial port to the module’s console port.
WE-2100T Series User’s Manual Initial IP Address Configuration 3. In your terminal emulator program, configure the communication parameters for the serial port on the PC. The parameters should be set to 19200 for baud rate, 8 for data bits, None for parity, and 1 for stop bits. 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 may not work properly. 5.
6 Chapter 6 Web Console: Basic Settings The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
WE-2100T Series User’s Manual Web Console: Basic Settings Overview Web Browser Settings In order to use the web console, you will need to have cookies enabled for your browser. Please note that the web console uses cookies only for password transmission. For Internet Explorer, cookies can be enabled by right-clicking the Internet Explorer icon on your desktop and selecting Properties from the context menu.
WE-2100T Series User’s Manual Web Console: Basic Settings Navigating the Web Console To open the web console, enter your module’s IP address in the website address line. If you are configuring the unit for the first time over an Ethernet cable, you will use the default LAN IP address, 192.168.126.254. Please refer to Chapter 5 for instructions on assigning the IP address. If prompted, enter the console password.
WE-2100T Series User’s Manual Web Console: Basic Settings Basic Settings On the Basic Settings page, you can configure Server name, Server location, Time zone, Local time, and Time server. Server Name Default Options Description free text (e.g., “Server 1”) This is an optional free text field to help you differentiate one module from another. It does not affect operation of the module. Server Location Default Options Description free text (e.g.
WE-2100T Series User’s Manual Web Console: Basic Settings Local Time Default Options Description Date (yy:mm:dd), Time (hh:mm:ss) The module 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 module’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. Click Modify to adjust the real-time clock.
7 Chapter 7 Web Console: Network Settings The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
WE-2100T Series User’s Manual Web Console: Network Settings Overview This chapter explains how to configure all settings located under the Network Settings folder in the 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 Description IP address (e.g., “192.168.1.1”) This field is for the DNS server’s IP address, if applicable.
WE-2100T Series User’s Manual Web Console: Network Settings Network Settings> Ethernet Settings On the Ethernet Settings page in the Network Settings folder, you can modify IP configuration, IP address, Netmask, Gateway, and Speed. You must assign a valid IP address to the WE-2100T before it will work in your network environment. Your network system administrator should provide you with an IP address and related settings for your network.
WE-2100T Series User’s Manual Web Console: Network Settings Netmask Default Options Description 255.255.255.0 Netmask setting (e.g., “255.255.0.0”) 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 WE-2100T module will use the subnet mask to check whether the desired TCP/IP host specified in the packet is on the local network segment.
WE-2100T Series User’s Manual Web Console: Network Settings 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 WE-2100T supports IEEE 802.11a/b/g wireless network interfaces. The supported IP configurations are static and dynamic (BOOTP , DHCP, or BOOTP+DHCP ).
WE-2100T Series User’s Manual Web Console: Network Settings Netmask Default Options Description 255.255.255.0 Netmask setting (e.g., “255.255.0.0”) 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 WE-2100T module will use the subnet mask to check whether the desired TCP/IP host specified in the packet is on the local network segment.
WE-2100T Series User’s Manual Web Console: Network Settings Network Settings> WLAN Settings> Profile The Profile page is located under WLAN Settings in the Network Settings folder. This is where you configure the WE-2100T for Ad-hoc or Infrastructure operation. Different settings are available depending on whether you select Ad-hoc Mode or Infrastructure Mode.
WE-2100T Series User’s Manual Web Console: Network Settings Network Type Default Options Description Infrastructure Mode Infrastructure Mode, Ad-hoc Mode This field specifies whether the WE-2100T will operate in Ad-hoc or Infrastructure Mode. For all wireless networking devices, there are two possible modes for communication with another wireless device.
WE-2100T Series User’s Manual 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. After selecting Ad-hoc or Infrastructure Mode, click General to view or modify the general properties for that profile.
WE-2100T Series User’s Manual Web Console: Network Settings In Infrastructure Mode On the General page, you can configure Profile name, Operation mode, and SSID. Additional settings are also available depending on whether you select Ad-hoc Mode or Infrastructure Mode. Profile Name Default Options Description Ad-hoc (in Ad-hoc Mode) Profile1, Profile2, or Profile 3 (in Infrastructure Mode) free text (e.g.
WE-2100T Series User’s Manual Web Console: Network Settings Operation Mode Default Options Description Auto Auto, 802.11a, 802.11b, 802.11g This field determines which wireless standard will be used by the selected profile. 802.11a, 802.11b, and 802.11g are supported. Auto: In Ad-hoc Mode, the WE-2100T will scan the 2.4G wireless band and will automatically select the appropriate wireless standard for communication with any other wireless devices that are detected.
WE-2100T Series User’s Manual 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 that profile.
WE-2100T Series User’s Manual 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.
WE-2100T Series User’s Manual Web Console: Network Settings Authentication Default Options Description Open System Open System, Shared Key, WPA, WPA-PSK, WPA2, WPA2-PSK This field specifies how wireless devices will be authenticated. Only authenticated devices will be allowed to communicate with the WE-2100T. If a RADIUS server is used, this setting must match the setting on the RADIUS server. Open System: The WE-2100T will simply announce a desire to associate with another station or access point.
WE-2100T Series User’s Manual Web Console: Network Settings Encryption Default Options Description Disable Disable, WEP, TKIP, AES-CCMP 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.
WE-2100T Series User’s Manual 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 Options Description 64bits 64bits, 128bits This field specifies the length of the WEP key.
WE-2100T Series User’s Manual Web Console: Network Settings WEP Key Source Default Options Description Manual Manual, Generate WEP keys by passphrase This field specifies whether the WEP key will be generated manually or through a user-specified passphrase. A passphrase is equivalent to a free-text password that will be used to generate the WEP key. A passphrase is typically easier to remember and enter than a long and complicated WEP key. WEP Passphrase Default Options Description free text (e.g.
WE-2100T Series User’s Manual 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. There are two parts to WPA and WPA2 security, authentication and data encryption. z Authentication occurs before access is granted to a WLAN.
WE-2100T Series User’s Manual Web Console: Network Settings EAP Method Default Options Description PEAP TLS, PEAP, TTLS, LEAP This field specifies the EAP method to use for authentication. Four methods are supported. TLS: Transport Layer Security (TLS) was created by Microsoft and accepted by the IETF as RFC 2716: PPP EAP TLS Authentication Protocol. Passwords and tunneled authentication are not used. A user certificate and user private key are used to identify the WE-2100T.
WE-2100T Series User’s Manual Web Console: Network Settings Anonymous Username Default Options Description free text (e.g., “Anyuser”) This field specifies the anonymous username to use when initiating authentication. After the RADIUS server has been verified by certificate, the true username and password will be used to complete the authentication process. Verify Server Certificate Default Options Description Disable Disable, Enable Disable: The certificate from the RADIUS server will be ignored.
WE-2100T Series User’s Manual Web Console: Network Settings Network Settings> Advanced Settings On the Advanced Settings page in the Network Settings folder, you can modify Gratuitous ARP, Auto report to, Auto report period, and Active interface. Gratuitous ARP Default Options Description Disabled Disabled, Enabled, 10 to 1000 sec This field specifies how often the WE-2100T sends broadcast packets to update the ARP table. This may be required for certain applications.
WE-2100T Series User’s Manual Web Console: Network Settings Auto Report Period Default Options Description 10 0 to 99 This field specifies how often the WE-2100T sends IP address reports. Active Interface Default Options Description Auto Detect Auto Detect, Select by DI8, Force Wired Ethernet, Force Wireless LAN This field specifies how the WE-2100T will select whether to use the wired LAN connection or the wireless (WLAN) connection.
8 Chapter 8 Web Console: Serial Port Settings The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Overview This chapter explains how to configure all settings located under the Serial Port Settings folder in the web console. Serial Port Settings> Port 1> Operation Modes The Operation Modes page is where you configure the serial port’s operation mode and related settings. For an introduction to the different operation modes, please refer to Chapter 4.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Mode Default Options Description (depends on Application) RealCOM, RFC2217, TCP Server, TCP Client, UDP 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.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Settings for RealCOM Mode When Mode is set to RealCOM on the Operation Modes page, you will be able to configure additional settings such as TCP alive check time, Max connection, and Delimiter 1 and 2. TCP Alive Check Time Default Options Description 7 min 0 to 99 min This field specifies how long the module will wait for a response to “keep alive” packets before closing the TCP connection.
WE-2100T Series User’s Manual Web Console: Serial Port Settings ATTENTION When Max connection is 2 or greater, the serial port’s communication settings (i.e., baudrate, parity, data bits, etc.) will be determined by the module. Any host that opens the COM port connection must use identical serial communication settings. Delimiter 1 and 2 Default Options Description Disabled Disabled, Enabled, 00 to FF These fields are used to define special delimiter character(s) for data packing.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Settings for RFC2217 Mode When Mode is set to RFC2217 on the Operation Modes page, you will be able to configure additional settings such as TCP alive check time, TCP port, and Delimiter 1 and 2. TCP Alive Check Time Default Options Description 7 min 0 to 99 min This field specifies how long the module will wait for a response to “keep alive” packets before closing the TCP connection.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Delimiter 1 and 2 Default Options Description Disabled Disabled, Enabled, 00 to FF 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.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Settings for TCP Server Mode When Mode is set to TCP Server on the Operation Modes page, you will be able to configure additional settings such as TCP alive check time, Inactivity time, and Max connection. TCP Alive Check Time Default Options Description 7 min 0 to 99 min This field specifies how long the module will wait for a response to “keep alive” packets before closing the TCP connection.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Max Connection Default Options Description 1 1 to 4 This field specifies the maximum number of connections that will be accepted by the serial port. 1: Only a single host may open the TCP connection to the serial port. 2 to 4: This serial port will allow the specified number of connections to be opened simultaneously. When multiple connections are established, serial data will be duplicated and sent to all connected hosts.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Force Transmit Default Options Description 0 ms 0 to 65535 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 module will wait indefinitely for additional data.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Settings for TCP Client Mode When Mode is set to TCP Client on the Operation Modes page, you will be able to configure additional settings such as TCP alive check time, Inactivity time, and Connection control. TCP Alive Check Time Default Options Description 7 min 0 to 99 min This field specifies how long the module will wait for a response to “keep alive” packets before closing the TCP connection.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Destination Address 1 to 4 Default Options Description IP address and port (e.g., “192.168.1.1” and “4001”) This field specifies the remote host(s) that will access the attached device. At least one destination must be provided. This field supports the use of domain names and names defined in the host table. ATTENTION In TCP Client mode, up to 4 connections can be established between the serial port and TCP hosts.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Force Transmit Default Options Description 0 ms 0 to 65535 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 module will wait indefinitely for additional data.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Settings for UDP Mode When Mode is set to UDP on the Operation Modes page, you will be able to configure additional settings such as Destination address 1 through 4, Local listen port, and Delimiter 1 and 2. Destination Address 1 to 4 Default Options Description IP address range and port (e.g., “192.168.1.1” to “192.168.1.64” and “4001”) In UDP mode, you may specify up to 4 ranges of IP addresses for the serial port to connect to.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Delimiter 1 and 2 Default Options Description Disabled Disabled, Enabled, 00 to FF 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.
WE-2100T Series User’s Manual Web Console: Serial Port Settings The Communication Parameters page is where serial communication settings are specified, such as Baud rate, Data bits, and Stop bits. Port Alias Default Options Description free text (e.g., “Secondary console connection”) This is an optional free text field to help you differentiate one serial port from another. It does not affect operation of the module. ATTENTION Serial communication settings should match the attached serial device.
WE-2100T Series User’s Manual Web Console: Serial Port Settings Interface Default Options Description TTL TTL This field specifies the type of interface the serial port will use. The WE-2100T supports TTL only.
9 Chapter 9 Web Console: System Management The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console. This chapter covers the following topics: Overview System Management> Misc.
WE-2100T Series User’s Manual Web Console: System Management Overview This chapter explains how to configure all settings located under the System Management folder in the 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. This page is used this restrict access to the module by IP address. Only IP addresses on the list will be allowed access to the module.
WE-2100T Series User’s Manual Desired IP Range Any host 192.168.1.120 192.168.1.1 to 192.168.1.254 192.168.0.1 to 192.168.255.254 192.168.1.1 to 192.168.1.126 192.168.1.129 to 192.168.1.254 Web Console: System Management IP Address Field Disable 192.168.1.120 192.168.1.0 192.168.0.0 192.168.1.0 192.168.1.128 9-3 Netmask Field Disable 255.255.255.255 255.255.255.0 255.255.0.0 255.255.255.128 255.255.255.
WE-2100T Series User’s Manual Web Console: System Management System Management> Misc. Network Settings> SNMP Agent Settings The SNMP Agent page is located under Misc. Network Settings in the System Management folder. This page is used to configure the SNMP Agent on the WE-2100T. SNMP Default Options Description Enable Enable, Disable This field enables or disables the SNMP Agent. If enabled, you will need to configure other SNMP Agent settings.
WE-2100T Series User’s Manual Web Console: System Management System Management> Auto Warning Settings> Event Settings The Event Settings page is located under Auto Warning Settings in the System Management folder. This is where you specify how the WE-2100T will notify you of system and configuration events. Depending on the event, different options for notification are available, as shown above. Mail refers to sending an e-mail to a specified address. Trap refers to sending an SNMP trap.
WE-2100T Series User’s Manual Web Console: System Management System Management> Auto Warning Settings> 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 WE-2100T will notify you of DCD and DSR events for each serial port. Mail refers to sending an e-mail to a specified address. Trap refers to sending an SNMP trap.
WE-2100T Series User’s Manual Web Console: System Management System Management> Auto Warning Settings> 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 for automatic notification of system and serial port events. ATTENTION Consult your network administrator or ISP for the mail server settings to use for your network.
WE-2100T Series User’s Manual Web Console: System Management System Management> Auto Warning Settings> 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. SNMP Trap Server IP or Domain Name Default Options Description IP address (e.g., “192.168.5.5”) or domain name (e.g.
WE-2100T Series User’s Manual Web Console: System Management 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 module configuration consoles. You may modify HTTP console, HTTPS console, Telnet console, and SSH console. HTTP Console Default Options Description Enable Enable, Disable This field enables or disables access to the HTTP (web) console.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Ping The Ping page is located under Maintenance in the System Management folder. It provides a convenient way to test an Ethernet connection or verify an IP address. Enter the IP address or domain name in the Destination field and click Start. The results will be displayed immediately.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Firmware Upgrade The Firmware Upgrade page is located under Maintenance in the System Management folder. This is where you can update the WE-2100T's firmware. After obtaining the latest firmware from www.moxa.com, select or browse for the firmware file in the Select firmware file field.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Configuration Import The Configuration Import page is located under Maintenance in the System Management folder. This is where you can load a previously saved or exported configuration. Select or browse for the configuration file in the Select configuration file field. If you also wish to import the IP configuration (i.e.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Configuration Export The Configuration Export page is located under Maintenance in the System Management folder. This is where you can save the module's current configuration to a file on the local host. Click Download to begin the process. A window should appear asking you to open or save the configuration text file.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Load Factory Default The Load Factory Default page is located under Maintenance in the System Management folder. Click Submit to reset all settings to the factory defaults. You can preserve the module's existing IP settings (i.e., IP address, netmask, gateway, WLAN profile, and all certificates) by making sure Keep IP settings is checked before clicking Submit.
WE-2100T Series User’s Manual Web Console: System Management System Management> Maintenance> Change Password The Change Password page is located under Maintenance in the System Management folder. To change the password, first enter the old password in the Old password field. Leave this blank if the module is not currently password-protected. Enter the new password twice, once in the New password field and once in the Confirm password field. Leave these fields blank to remove password protection.
WE-2100T Series User’s Manual Web Console: System Management System Management> System Settings> Serial Command Mode The Serial Command Mode page is located under System Settings in the System Management folder. This is where you specify how Serial Command Mode will be enabled. For details on Serial Command Mode, please refer to Chapter 13.
WE-2100T Series User’s Manual Web Console: System Management System Management> System Settings> Digital IO The Digital IO page is located under System Settings in the System Management folder. This is where you configure the 9 built-in DIO channels. DIO0 through DIO8 Default Options Description Input (Mode), Low (State) Input, Output (for Mode) Low, High (for State) This field specifies the mode and state of the DIO channel.
WE-2100T Series User’s Manual Web Console: System Management TCP Port Default Options Description 5001 0 to 9999 This specifies the TCP port number that will be reserved for DIO commands. DIO commands may be used to control and obtain data from the module’s DIO channels. Please refer to Appendix C for additional information on DIO commands.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> Ethernet SSL Certificate Import 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.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> WLAN SSL Certificate Import 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 WE-2100T based on the IP address of the wireless interface. You can also import a certificate. Select or browse for the certificate file in the Select SSL certificate/key file field.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> WPA Server Certificate Import The WPA Server Certificate Import page is located under Certificate in the System Management folder. This is where you can load the WPA server certificate. Select or browse for the certificate file in the Select WPA server certificate file field.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> WPA User Certificate Import 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. The user certificate of the WE-2100T must be installed in the RADIUS server when the WE-2100T uses WPA (WPA2)/TLS.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> WPA User Key Import The WPA User Key Import page is located under Certificate in the System Management folder. This is where you can load the WPA user key. Select or browse for the user private key file in the Select WPA user privacy key file field and enter the Password for the private key. The user private key of the WE-2100T must be installed in the RADIUS server when the WE-2100T uses WPA(WPA2)//TLS.
WE-2100T Series User’s Manual Web Console: System Management System Management> Certificate> Certificate/Key Delete The Certificate/Key Delete page is located under Certificate in the System Management folder. This page is where you can delete certificates or WPA keys that have been installed on the WE-2100T. When you click Submit, any certificate or key that has been set to “Delete” will be deleted from the module.
10 Chapter 10 Web Console: System Monitoring The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
WE-2100T Series User’s Manual Web Console: System Monitoring Overview This chapter explains how to use the System Monitoring functions on the 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. On this page, you can monitor the serial port's operation mode and host connection status.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> Serial Status> Serial Port Status The Serial Port Status page is located under Serial Status in the System Monitoring folder. On this page, you can monitor the serial signal and data transmission status.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> Serial Status> Serial Port Error Count The Serial Port Error Count page is located under Serial Status in the System Monitoring folder. On this page, you can view the current number of frame, parity, overrun and break errors.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> Serial Status> Serial Port Settings The Serial Port Settings page is located under Serial Status in the System Monitoring folder. On this page, you can view the current serial communication settings.
WE-2100T Series User’s Manual Web Console: System Monitoring 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 WE-2100T.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> System Status> Network Statistics The Network Statistics page is located under System Status in the System Monitoring folder. On this page, you can view current network transmission statistics.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> System Status> WLAN Status The WLAN Status page is located under System Status in the System Monitoring folder. This is where you can view the current WLAN settings and status.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> System Status> WLAN Site Survey The WLAN Site Survey page is located under System Status in the System Monitoring folder. This is where you can view live data on wireless signal strength and characteristics. It is a useful tool to help you complete a wireless site survey without installing additional software.
WE-2100T Series User’s Manual Web Console: System Monitoring Procedure 1. Open web browser WLAN Site Survey with WE-2100T 2. Measure AP signal from web console. Advantages y Signal strength is read from module y Additional software not required Please note that Java must be enabled in your web browser for the WLAN Site Survey page to display properly.
WE-2100T Series User’s Manual Web Console: System Monitoring System Monitoring> System Status> Digital IO State The Digital IO State page is located under System Status in the System Monitoring folder. This is where you can view the current settings and status for all DIO channels.
11 Chapter 11 Web Console: Save and Restart The web console is the most user-friendly method available to configure the module. With a standard web browser, you have easy and intuitive access to all settings and options. In this chapter, we introduce the web console and go through the basic configuration options. The same configuration options are also available through the Telnet and serial console.
WE-2100T Series User’s Manual Web Console: Save and Restart Overview This chapter explains how to use save your configuration changes and restart the WE-2100T using the web console. Configuration changes will not be effective until they are saved and the WE-2100T is rebooted. Save Configuration Go to the Save Configuration page in order to save all configuration changes to the WE-2100T. The new settings will be effective when the WE-2100T is restarted.
WE-2100T Series User’s Manual Web Console: Save and Restart Restart> Restart Ports The Restart Ports page is located in the Restart folder. Select port 1 and click Submit to restart the serial port.
12 Chapter 12 Using Network Enabler Administrator Network Enabler Administrator is a useful Windows utility that can be used to configure your WE-2100T. In this chapter, we will discuss how to use Network Enabler Administrator.
WE-2100T Series User’s Manual Using Network Enabler Administrator Overview Network Enabler Administrator provides everything you need to remotely manage, monitor, and modify your WE-2100T—hassle free. Installation 1. Open the setup program and click Yes to proceed. 2. A Welcome message will appear. Click Next to proceed. 3. Select the desired additional tasks and click Next to proceed.
WE-2100T Series User’s Manual Using Network Enabler Administrator 4. Verify that you are ready to install and click Install to proceed. 5. When the installation is complete, click Finish to exit the wizard.
WE-2100T Series User’s Manual Using Network Enabler Administrator Navigation Network Enabler Administrator is designed to make it easy to configure, monitor, or manage any WE-2100T module on your network. The interface is organized into four areas as follows: z The top section is the menu area. Functions and commands can be selected here. z The left panel is the Function panel. Functions can be selected here. z The right panel is the list of modules that are available for the selected function.
WE-2100T Series User’s Manual Using Network Enabler Administrator Opening the Function Context Menu Each function has its own function context menu where specific commands are selected. A function's context menu is opened by right-clicking the function in the function panel or by right-clicking the target module in the module list. It can also be opened through the menu bar. Using the Target Module List For each function, target modules for specific commands are selected from the list in the right panel.
WE-2100T Series User’s Manual Using Network Enabler Administrator Configuration Within the Configuration function are commands to configure your module, import and export its configuration, and update its firmware. The Configuration context menu is shown below: Modules may be password-protected to prevent unauthorized configuration changes. A module’s password status will be shown in the target module list.
WE-2100T Series User’s Manual Using Network Enabler Administrator Broadcast Search Description This identifies all modules on the LAN and places them in the target module list for the Configuration function. Since this search is based on MAC address, rather than IP address, it will be able to find units that are not on the same subnet as your PC. You may click Stop as soon as your module is found.
WE-2100T Series User’s Manual Using Network Enabler Administrator Assign IP Address Description This allows you to set the target module’s IP address quickly, instead of digging through pages of configuration parameters. Configure Description This opens the target module’s configuration window. In the configuration window, tabs are used to navigate between the different settings. Please refer to Chapters 6 through 10 for a description of the various settings on the WE-2100T.
WE-2100T Series User’s Manual Using Network Enabler Administrator Upgrade Firmware Description This allows you to upload new firmware to the target module. You will be prompted to indicate where the firmware file is located. Firmware updates can be downloaded from www.moxa.com. It will take a few moments for the module’s firmware to be updated. Do not disconnect the network, the module, or your PC at any time during the update.
WE-2100T Series User’s Manual Using Network Enabler Administrator Monitor The Monitor function is used for live monitoring of your module over the network. Different parameters and events may be monitored, and you can receive pop-up warnings for certain events. The Monitor context menu is shown below: Add Target Description This places modules on the module list for monitoring. You may need to click Rescan to search the network for available modules.
WE-2100T Series User’s Manual Using Network Enabler Administrator Remove Target Description This removes a module from the Monitor list. Load Configured COM Port Description If any COM ports are being mapped to modules over the network, this command will add those modules to the Monitor list. (COM ports can be mapped over the network to a serial port on the WE-2100T that is operating in RealCOM mode.
WE-2100T Series User’s Manual Using Network Enabler Administrator Go Description This activates live monitoring. All modules on the Monitor list will be monitored live, as indicated by “Running” in the header. If alarms are enabled through the Setting command, a notification will appear when a monitored unit goes off-line. Modules that go off-line will be also displayed in red in the Monitor list.
WE-2100T Series User’s Manual Using Network Enabler Administrator Port Monitor The Port Monitor function is identical to the Monitor function, but with many additional items that can be monitored, as shown below. In addition, each serial port will be listed as a separate item on the Port Monitor list and can be selected or deselected for monitoring. Modules that have more than one serial port will be listed twice, once for each port.
WE-2100T Series User’s Manual Using Network Enabler Administrator COM Mapping The COM Mapping function is used to configure the Real COM drivers, which are automatically installed with Network Enabler Administrator. The Real COM drivers map COM ports over the network to serial ports on WE-2100T modules. This allows a local application to use COM5, for example, to communicate with a device attached to the module.
WE-2100T Series User’s Manual Using Network Enabler Administrator Add Target Description This places modules on the module list for COM mapping. You may need to click Rescan to search the network for available modules. You can also select Input manually to enter a specific IP address and model. Each item on the COM Mapping list refers to a single serial port on a WE-2100T module. Remove Target Description This removes an item from the COM Mapping list.
WE-2100T Series User’s Manual Using Network Enabler Administrator COM Settings Description This specifies which COM port will be mapped to the selected serial port, along with other settings. ATTENTION You can map multiple COM ports in one step by holding down the CTRL or SHIFT key when selecting the target serial ports. Basic Settings In the Basic Settings tab, the COM Number parameter selects the COM port that will be mapped to the device port.
WE-2100T Series User’s Manual Using Network Enabler Administrator Advanced Settings In the Advanced Settings tab, you may configure how serial data is transmitted from the PC to the WE-2100T. Tx Mode Hi-Performance is the default for Tx mode. After the driver sends data to the module, the driver immediately issues a “Tx Empty” response to the program. Under Classical mode, the driver will not send the “Tx Empty” response until after confirmation is received from the module. This causes lower throughput.
WE-2100T Series User’s Manual Using Network Enabler Administrator Apply and Discard Change Description This specifies whether or not to update the Real COM drivers with the changes made through the COM Settings command. If changes are discarded, the Real COM drivers will retain their original settings. If the changes are applied, the Real COM drivers will be updated with the new settings and mappings.
WE-2100T Series User’s Manual Using Network Enabler Administrator IP Address Report The IP Address Report function is used to receive automatic IP reports from appropriately configured WE-2100T modules. The IP Address Report context menu is shown below: To configure a module to send IP address reports, enter the destination IP address in the Auto report to parameter. On the web console, this parameter is on the Advanced Settings page in the the Network Settings folder.
WE-2100T Series User’s Manual Using Network Enabler Administrator Go Description This activates monitoring for IP address reports. Network Enabler Administrator will begin listening for reports using the port number specified by the Settings command. As IP address reports are received, the information will be displayed in the right panel. Description This suspends monitoring for IP address reports. Description This clears the current display of address reports in the right panel.
13 Chapter 13 Serial Command Mode Serial Command Mode allows configuration of the module through serial commands received directly through the serial port.
WE-2100T Series User’s Manual Serial Command Mode Overview In Serial Command Mode, the module’s parameters are retrieved or configured using specially parsed commands that are sent through the serial port. Device manufacturers can take advantage of Serial Command Mode to add local configuration capability to their products. For example, a card reader’s number pad could be used to configure the card reader's IP address, netmask, and baudrate.
WE-2100T Series User’s Manual Serial Command Mode For example, to indicate that the TCP server port number has been written successfully, the module would return "
WE-2100T Series User’s Manual OP Code AG AH AI AJ AK AL AM AN AO AP Aa Ab Ac Ad Ae Af Ag Ah Ai Aj Ak Al Serial Command Mode Parameter xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.127.1) xxx.xxx.xxx.xxx (e.g., 192.168.
WE-2100T Series User’s Manual OP Code Am An Ao Ap Serial Command Mode Parameter xxx.xxx.xxx.xxx (e.g., 255.255.255.0) xxx.xxx.xxx.xxx (e.g., 255.255.255.0) xxx.xxx.xxx.xxx (e.g., 255.255.255.0) xxx.xxx.xxx.xxx (e.g., 255.255.255.
WE-2100T Series User’s Manual Serial Command Mode TCP Client Mode Commands OP Code CM CA CB CC CD C1 C2 C3 C4 CT CI CX CY Parameter 0: startup 1: any character xxx.xxx.xxx.xxx (e.g., 192.168.1.1) xxx.xxx.xxx.xxx (e.g., 192.168.1.1) xxx.xxx.xxx.xxx (e.g., 192.168.1.1) xxx.xxx.xxx.xxx (e.g., 192.168.1.1) 0 – 65535 0 – 65535 0 – 65535 0 – 65535 0 – 99 (minutes) 0 – 65535 0: no delimiter 1: enable 1-character delimiter 2: enable 2 character delimiter ASCII character in hex code (i.e.
WE-2100T Series User’s Manual Serial Command Mode UDP Mode Commands OP Code Parameter UL 0 – 65535 xxx.xxx.xxx.xxx UA (e.g., 192.168.1.1) xxx.xxx.xxx.xxx UB (e.g., 192.168.1.1) xxx.xxx.xxx.xxx UC (e.g., 192.168.1.1) xxx.xxx.xxx.xxx UD (e.g., 192.168.1.1) xxx.xxx.xxx.xxx Ua (e.g., 192.168.1.1) xxx.xxx.xxx.xxx Ub (e.g., 192.168.1.1) xxx.xxx.xxx.xxx Uc (e.g., 192.168.1.1) xxx.xxx.xxx.xxx Ud (e.g., 192.168.1.
WE-2100T Series User’s Manual Serial Command Mode Digital IO Commands OP Code DM Parameter bytes 1 and 2 (DIO #) 00: DIO 0 00: DIO 1 00: DIO 2 03: DIO 3 DS byte 3 (DIO mode) 0: input 1: output bytes 1 and 2 (DIO #) 00: DIO 0 00: DIO 1 00: DIO 2 03: DIO 3 Comments set DIO mode (e.g., “000” sets DIO 0 to input mode) set DIO status (e.g.
WE-2100T Series User’s Manual Serial Command Mode Operation Flow Chart ATTENTION 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.
WE-2100T Series User’s Manual Serial Command Mode Configuring Trigger Type Serial Command Mode may be triggered by either software or hardware. You can set the trigger type using Network Enabler Administrator, the Telnet console, the web console, or the serial console. With a hardware trigger, a signal received through DIO 0 will trigger the module to enter Serial Command Mode. This is the default setting.
WE-2100T Series User’s Manual Serial Command Mode Using Telnet Console Please refer to Chapter 5 for information on opening the Telnet console. The Serial Command Mode trigger is configured under System > System > Sercmd. For the changes to take effect, you will need to go back to the main menu, save the configuration, and restart the module. If you quit without saving, any changes you made to the configuration will be lost.
WE-2100T Series User’s Manual Serial Command Mode Using Web Console Please refer to Chapter 6 for information on opening the web console. The Serial Command Mode page is located under System Settings in the System Management folder. Modify the settings as needed, and then click Submit. Remember that you will need to save the configuration and restart the module for any changes to effect.
WE-2100T Series User’s Manual Serial Command Mode Entering Serial Command Mode The module can enter Serial Command Mode through either a hardware trigger or a software trigger, depending on how it has been configured. Please refer to the previous section for details on how to configure the trigger type. Hardware Trigger z Connect a hardware trigger such as a button or a switch to DIO 0. z Use the trigger to pull DIO 0 to low in order to enter Serial Command Mode.
WE-2100T Series User’s Manual Serial Command Mode Determining the Active Mode If you need to verify whether or not the module is operating in Serial Command Mode, there are two methods available: by Network Enabler Administrator or by serial console. In Network Enabler Administrator, you may open a module’s configuration window and determine if it is in Serial Command Mode in the Information panel. In the example above, the status is Data Mode, which indicates normal data transmission.
WE-2100T Series User’s Manual Serial Command Mode Serial Command Examples For the following examples, the module should be installed onto the evaluation board, and the evaluation board’s serial port (P0) should be connected to a COM port on your PC. ATTENTION When using a terminal emulator program such as PComm Terminal, make sure that the ENTER key is configured to send CR only, rather than CR + LF.
WE-2100T Series User’s Manual Serial Command Mode STEP 9: Repeat STEP 1 to STEP 5 to re-enter Serial Command Mode. STEP 10: Type “>RNP” in HyperTerminal and press ENTER, which requests the module’s IP address. STEP 11: HyperTerminal displays “WBR1” in HyperTerminal and press ENTER, which exits serial command mode.
WE-2100T Series User’s Manual Serial Command Mode STEP 11: HyperTerminal displays “WBR1” in HyperTerminal and press ENTER, which exits serial command mode.
A Appendix A Well Known Port Numbers This appendix is included for your reference. Listed below are Well Known Port Numbers that may cause network problems if you configure WE-2100T for the same port. Refer to RFC 1700 for Well Know Port Numbers or refer to the following introduction from IANA. The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports. z The Well Known Ports are those from 0 through 1023.
WE-2100T Series User’s Manual Well Known Port Numbers TCP Socket Application Service 43 Whois (nickname) 49 (Login Host Protocol) (Login) 53 Domain Name Server (domain) 79 Finger protocol (Finger) TCP Socket Application Service 80 World Wibe Web HTTP 119 Netword news Transfer Protocol (NNTP) 123 Network Time Protocol 213 IPX 160 – 223 Reserved for future use UDP Socket Application Service 0 reserved 2 Management Utility 7 Echo 9 Discard 11 Active Users (systat) 13 Daytim
B Appendix B NECI Library The NECI (Network Enabler Configuration Interface) library is a set of APIs that run in Windows to search, locate, and configure the WE-2100T over the network. The library supports Windows 95, 98, ME, NT, 2000, XP, and Vista. You can find the library on the Document and Software CD in the \NECI_ LIB\ folder. For additional information, please refer to the NECI.chm file in that folder. Examples will be located in the .\NECI_LIB\VC\ConsoleExample folder.
C Appendix C DIO Commands In this appendix, we present the DIO commands used to access the Digital I/O status of the WE-2100T from an Ethernet network. The Digital I/O status can be accessed by a specific TCP port (default 5001) on the WE-2100T. Command Packet Format 4 1 – 255 Length (Bytes) *Header Data Format Send the Command packet to the WE-2100T. The “Data” field is command specific. ACK Packet Format 4 1 -255 Length (Bytes) *Header Data Format The WE-2100T returns by ACK packet.
WE-2100T Series User’s Manual DIO Commands typedef struct _DIO_Header_Struct { char command; char version; /* This specification is version 2 */ char status; char length; } DIOHeaderStruct, *pDIOHeaderStruct; //define DIO Packet format //Used for Command and ACK packet typedef struct _DIO_Packet_Struct { DIOHeaderStruct header; char data[255]; } DIOPacketStruct, *pDIOPacketStruct; Command Code Usage 1.
WE-2100T Series User’s Manual DIO Commands Return: Command Status: Check the Command Status code on the previous page. Length of data: 3(hex). Must be 3 bytes of return code in this mode. data[0]: The number of the DIO you wish to access. data[1]: DIO mode(hex), 0 for IN, 1 for OUT data[2]: DIO status(hex), 0 for LOW, 1 for HIGH C code example: void { WriteSingleDIO(int port, int mode, int status) DIOPacketStruct packet; packet.header.command = 2; // write single DIO command packet.header.
WE-2100T Series User’s Manual DIO Commands send(SocketFd, (char *)&packet, sizeof(DIOHeaderStruct)+2, 0); //Send TCP packet //Process the returned data here return TRUE; } 4. Writing Multiple DIOs Parameters: Command code: 6(hex) Version: 2(hex) Command status: doesn’t matter Length of data: (end-start+1)*2 + 2 data[0]: Number of the DIO you wish to access first.
D Appendix D SNMP Agent with MIB II & RS-232 Like Group The WE-2100T has built-in SNMP (Simple Network Management Protocol) agent software. It 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 implementations for WE-2100T.
WE-2100T Series User’s Manual System MIB SNMP Agent, MIB II, RS-232-Like Groups Interfaces MIB IP MIB ICMP MIB ifOutErrors ipAdEntIfIndex IcmpOutEchoReps ifOutQLen ipAdEntNetMask IcmpOutTimestamps ifSpecific ipAdEntBcastAddr IcmpOutTimestampReps ipAdEntReasmMaxSize IcmpOutAddrMasks IpNetToMediaIfIndex IcmpOutAddrMaskReps IpNetToMediaPhysAddress IpNetToMediaNetAddress IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB SNMP MIB UdpInDatagrams tcpRtoAlgorithm snmpInPkts UdpNoPorts tcp
E Appendix E IP Address Report Protocol When the WE-2100T module is configured to obtain its IP address automatically as a DHCP client, it sends a DHCP request over the network to find the DHCP server. The DHCP server will then send an available IP address to the module with an expiration time. The module will use this IP address until the expiration time has been reached. When the expiration time has been reached, the process will repeat, and module will send another DHCP request to the DHCP server.
WE-2100T Series User’s Manual IP Address Report Protocol Header Header Item (Item ID) (Item Length) 1 (varies) server name (text string) 2 2 hardware ID (little endian, see table below) 3 6 MAC address (00-90-E8-01-02-03 would be sent in sequence as 0x00, 0x90, 0xE8, 0x01, 0x02, 0x03) 4 4 serial number (little endian DWORD) 5 4 IP address 6 4 netmask 7 4 default gateway 8 4 firmware version (little endian DWORD, Version 4.3.
WE-2100T Series User’s Manual IP Address Report Protocol Example item Length hardware ID 0x4119 item ID item Length server name “TEST” item ID item Length report header “MOXA” item ID The following example shows the first 22 bytes of a typical IP address report: MAC address 00-90-E8-01 -02-03 HEX 4D 4F 58 41 01 04 54 45 53 54 02 02 19 41 03 06 00 90 E8 01 02 03 ASCII “M” “O” “X” “A” “T” “E” “S” “T” E-3