W5500S2E-Z1 serial to Ethernet module Introduction W5500S2E-Z1 is an industrial grade serial to Ethernet module. It supports TCP server, TCP client and UDP three operating modes. The maximum serial baud rate is 1.152Mbps. W5500S2E-Z1 supports WIZS2E ConfigTool (Configuration Tool for Windows(R)), web page configuration and AT command to configure the module. W5500S2E-Z1 uses the hardwired TCP/IP protocol Ethernet chip W5500. This enable a faster, stable and secure Ethernet connectivity. With reference schematic(s) and guideline(s) in this user manual, it could be greatly reduced the time and difficulty of the hardware design and development when comparing with other approaches. Features 1.2kps ~ 1.152Mbps baud rate 10/100 Mbps Ethernet interface Support TCP server, TCP client and UDP operating modes Flexible serial interface data packaging condition settings Smart Ethernet cable detection and keep alive features As DHCP client to automatically acquire IP address As DNS client to lookup domain name Support NetBIOS allows user to identify module's name Support user password authorization for security Support serial AT command configuration method Built-in web server for browser and remote configuring Provide user-friendly configuration tool program (WIZS2E ConfigTool) Support local and remote firmware upgrade Product features 32-bit ARM MCU LAN interface o 10/100 Mbps Ethernet interface Serial interface o 3.3V TTL x1: TXD, RXD, GND Default Serial communication parameters o Baud Rate: From 1.2kbps to 1.152Mbps o Data Bit: 7, 8 o Stop Bit: 0.5, 1, 1.5, 2 o Parity: None, Even, Odd o Flow Control: None, CTS/RTS Supporting software o Tool: WIZS2E ConfigTool Configuration methods o WIZS2E ConfigTool o Web based (via web browser) o Serial AT command W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Power supply o Input Power: 5V DC Size o 44.45 x 31.75 x 15.75 (mm) Operating temperature O Industrial Grade: -40 ~ +85 Storage environment O -40 ~ +85 , 5 ~ 95% RH Document Revision History Version Date V1.0 2017/09/15 Remarks Official Release Copyright notice Copyright (c) WIZnet H.K. Ltd. All rights reserved. Contact E-mail: supports@wiznet.hk For more information, please visit: http://www.wiznet.com.hk/ W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Table of Contents 1 INTRODUCTION ................................................................................................ 1 1.1.1 Configuration methods .......................................................................... 1 1.2 SPECIFICATIONS ............................................................................................ 1 1.2.1 Electrical characteristics ........................................................................ 1 1.2.2 Dimensions ........................................................................................... 2 1.2.3 Thermal Characteristics ........................................................................ 2 2 HARDWARE DESCRIPTION ............................................................................. 3 2.1 PINOUTS AND PIN DESCRIPTION ...................................................................... 3 2.2 WIZS2E EVALUATION BOARD ......................................................................... 5 2.3 QUICK TESTING GUIDE ................................................................................... 7 3 OPERATING MODES ........................................................................................ 8 3.1 TCP SERVER MODE ....................................................................................... 8 3.2 TCP CLIENT MODE ......................................................................................... 9 3.3 UDP MODE ................................................................................................. 10 4 IP ADDRESS ..................................................................................................... 11 4.1 MODULE IP ADDRESS FACTORY DEFAULT SETTINGS ......................................... 11 4.2 METHOD TO GET THE IP ADDRESS OF THE MODULE ......................................... 11 4.3 MODULE AND HOST COMPUTER NETWORK DETECTION.................................... 12 4.4 HOW TO SETTING THE IP ADDRESS OF THE HOST COMPUTER .......................... 13 5 WIZS2E CONFIGTOOL ................................................................................... 14 5.1 COLLECT MODULE'S SETTING INFORMATION ................................................... 14 5.2 MODIFY THE DEVICE SETTINGS ..................................................................... 15 5.3 FACTORY RESET .......................................................................................... 15 5.3.1 Factory reset setting by software......................................................... 15 5.3.2 Factory reset module through AT command ........................................ 15 5.3.3 Hardware factory reset method ........................................................... 16 5.4 FIRMWARE UPGRADE ................................................................................... 16 6 AT COMMAND CONFIGURATION .................................................................. 17 6.1 AT COMMAND OVERVIEW .............................................................................. 17 6.2 ENTER AT COMMAND MODE ......................................................................... 18 6.3 AT COMMAND LIST ....................................................................................... 18 6.3.1 System control command list .............................................................. 18 6.3.2 Control command list .......................................................................... 18 6.3.3 Serial configuration command list........................................................ 19 6.4 AT COMMAND DETAILS ................................................................................. 21 6.4.1 Basic commands ................................................................................. 21 6.4.2 Control commands .............................................................................. 21 6.4.3 Device configuration command list ...................................................... 23 6.4.4 Serial control command ...................................................................... 28 6.5 AT COMMAND CONFIGURATION EXAMPLES ..................................................... 31 W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 6.5.1 6.5.2 6.5.3 Set into TCP server mode example ..................................................... 31 TCP client mode example ................................................................... 33 UDP mode example ............................................................................ 34 7 WEB PAGE CONFIGURATION........................................................................ 35 7.1 MAIN PAGE .................................................................................................. 35 7.2 BASIC SETTINGS.......................................................................................... 37 7.3 ADVANCE SETTINGS .................................................................................... 38 7.4 FIRMWARE INFORMATION ............................................................................. 40 7.5 DEVICE MANAGEMENT.................................................................................. 40 8 FIRMWARE UPGRADE ................................................................................... 43 8.1 W5500S2E-Z1 FIRMWARE UPGRADE THROUGH CONFIGTOOL........................ 43 8.2 FIRMWARE UPGRADE THROUGH CONFIGURATION WEB PAGE ........................... 44 W5500S2E-Z1 user manual 1 Introduction 1.1.1 Configuration methods W5500S2E-Z1 provides three types configuration methods for user to operate with the module. WIZS2E ConfigTool is a computer software configuration tool. It can be installed and run in Windows(R) environment. Web page configuration allows user locally or remotely to configure the module through web browser. AT command configuration support sending serial commands from the mainboard of the embedded device or from the serial terminal to configure the parameters of WIZS2E modules. 1.2 Specifications 1.2.1 Electrical characteristics 1.2.1.1 Voltage and current characteristics The following table 1-1 and 1-2 was the result tested in 25oC environment. Symbol Types VDD I Ratings Min Normal Max Unit Module Voltage 2.97 3.3 3.6 V Module Current 101 106 157 mA Table 1-1 Voltage and current characteristics W5500S2E-Z1 user manual 1 W5500S2E-Z1 serial to Ethernet module 1.2.1.2 Current characteristics Working Mode Ratings (mA) Working Mode Ratings (mA) Standby 101 100Mbps without connection 157 10Mbps without connection 106 100Mbps with data communication 157 10Mbps with data communication 106 Table 1-2 Current characteristics 1.2.2 Dimensions For fitting the module into your design, please refer to the reference figure 1-1; It shows all the dimensions of the modules. In the figure, it provides the regulation for three dimensions with the distance of upper and lower parts pin headers and the location of the one mounting holes. The pin header has pitch 2.54mm. Figure 1-1 W5500S2E-Z1 dimensions top view Figure 1-2 W5500S2E-Z1 dimensions side view 1.2.3 Thermal Characteristics Part Number Grade Operating temperature Storage temperature W5500S2E-Z1 Industrial Grade -40 ~ +85 -40 ~ +85 Table 1-3 Thermal characters W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 2 Hardware description 2.1 Pinouts and pin description The following section will introduce W5500S2E-Z1 pin header explanation and the usage of WIZS2E evaluation board. The following figure 2-1 is the appearance of WIZS2E module. From this figure, we could identify there are 3 rows of pin headers on the module as hardware connectors for users. J1 is a 1x12 single row 2.54mm pin and J2 is 1x11 double row 2.54mm pins. Figure 2-2 is the pin assignment of W5500S2E-Z1, table 2-1 and 2-2 are the pin header description of W5500S2E-Z1 module. Figure 2-1 W5500S2E-Z1 module Figure 2-2 W5500S2E-Z1 pinout W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Table 2-1 W5500S2E-Z1 J1 pin definition Pin No. Pin Name I/O Function 1 TXOP O Ethernet connector TXOP 2 TXON O Ethernet connector TXON 3 RXIP I Ethernet connector RXIP 4 RXIN I Ethernet connector RXIN 5 DATA_LED O Ethernet Status Indicator 6 TXD O Serial output signal 7 RXD I Serial input signal 8 RTS I/O Serial RTS signal 9 DEFAULT I Active low, pull down over 3s for factory reset 10 RESET I Hardware reset pin 11 GND - GND 12 GND - GND Table 2-2 W5500S2E-Z1 J2 pin definition Pin No. Pin Name I/O Function 13 VCC - VCC 14 VCC - VCC 15 LINK_LED O Ethernet link indicator 16 NC7 - - 17 NC6 - - 18 NC5 - - 19 NC4 - - 20 NC3 - - 21 CTS I/O 22 NC2 - - 23 NC1 - - W5500S2E-Z1 user manual Serial CTS signal pin W5500S2E-Z1 serial to Ethernet module 2.2 WIZS2E evaluation board Figure 2-3 WIZS2E evaluation board WIZS2E evaluation board provides a simple platform for testing and running an application for WIZS2E modules including W5500S2E-Z1. Where S1-J1 and S1-J2 are used to plug in the W5500S2E-Z1 module, S1-J1 and S1-J2 are used to plug in other models of WIZS2E module (s), which are described in the user manuals of the related modules. The evaluation board integrates RJ45, serial TTL and USB mini interfaces. (The following figure shows "x" means vacant) RJ-45 (J5) interface Pin Assignment Pin Signal Pin Signal 1 RXIN 6 TXOP 2 RXIP 7 x 3 TXON 8 x 4 x 9 AGND 5 x 10 AGND Pin Signal Pin Signal TTL interface (P2) Pin Assignment 5 6 7 8 1 5V 5 3V3 1 2 3 4 2 GND 6 GND 3 TX 7 RTS 4 RX 8 CTS The USB Mini Interface (J6) Pin Assignment Note: supply 5 V DC power for the evaluation board only. Not for debug or communication Pin Signal Pin Signal 1 5V 4 x 2 x 5 GND 3 x SW3 is power supply pin for other modules, it would be leave open for W5500S2E-Z1 Pin Signal Pin Signal 1 5V 3 3V3 2 GND W5500S2E-Z1 evaluation board buttons introduction W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Marking Description SW1 (DEFAULT) Press switch for 1-3 seconds for soft reset, over 3 seconds to factory reset SW2 (RESET) Hardware reset button Figure 2-4 W5500S2E-Z1 evaluation board button description W5500S2E-Z1 evaluation board LED description Marking Description ACT Ethernet status indicator LINK Ethernet connection indicator DATA Ethernet data communication LED, the Blink speed shows the data speed Table 2-5 W5500S2E-Z1 evaluation board LED description Hardware connection explanation W5500S2E-Z1 used two sections of pin layouts in 1 x 7 pin and 2 x 7 pin designs. This is to avoid plugging the module in the wrong directing which may damage to the module. Figure 2-4 shows the reference schematic of the evaluation board for developing reference. Figure 2-4 W5500S2E-Z1 evaluation board reference schematic W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 2.3 Quick testing guide WIZS2E module can upgrades products or devices from serial interface to Ethernet interface. Evaluation board can be used for a quick test before implement the module into the design. By connection the serial interface to the module and Ethernet interface connected to the host computer, the user could easily control the serial device through Ethernet as the figure 2-5. PC Ethernet W5500S2E-S1 W5500S2E-S1 Serial Serial User Device User Device W5500S2E-S1 Serial User Device Figure 2-5 W5500S2E-Z1 module testing evaluation block diagram Using LAN cables and USB to Serial (TTL)cables to connect from the host computer and to the respective LAN ports and TTL ports of the evaluation board. This will create a simple testing network; The IP address of the host computer's wired network card is changed according to the 4.4 chapters, the user can send/receive data through the network port, receive/send from the serial port, and conduct a simple testing and evaluation. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 3 Operating modes WIZS2E module supports TCP server, TCP client and UDP modes; Below demonstrate these operating modes. 3.1 TCP server mode TCP Client Send Link Request Ethernet TCP/IP Communication Bothway Data Communication RS232 Serial Communication User Device TCP Server Figure 3-1 TCP server mode diagram Figure 3-1 shows, W5500S2E-Z1 module open a local port to listen TCP requests in TCP server mode. The default port number is 5000 and it is waiting for client connections. After the connection has created, it will start data communication. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 3.2 TCP client mode TCP Server Send Link Request Ethernet TCP/IP Communication Bothway Data Communication RS232 Serial Communication User Device TCP Client Figure 3-2 TCP client mode diagram According to figure 3-2, W5500S2E-Z1 module will starts to connect to TCP server that set in the module for TCP client mode. If connection fails, client will base on reconnection setting condition and try to connect with the TCP server. After its connected, it will start data communication. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 3.3 UDP mode TCP Server Send Link Request Ethernet TCP/IP Communication Bothway Data Communication RS232 Serial Communication User Device TCP Client Figure 3-3 UDP mode diagram For UDP mode in Figure 3-3, W5500S2E-Z1 module is required to have the remote IP address and port number to create an UDP communication. UDP mode communicate is not based on "connection". Therefore, it does not guarantee the target device could receive the data correctly or not. Thus, it requires an upper layer communication protocol to communicate for ensuring the data accuracy. However, since UDP mode is a simple communication protocol, it could provide a better communication speed due to less workload on data accuracy. In fact, UDP are not likely to get data error in network environment under normal workload. In this operating mode, both devices are equal and they do not differentiate into server or client. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 4 IP address Before using the module, we need to know some parameters like IP address. This module support "Static" and "DHCP" IP collection method. For "Static" mode, user could manually change the IP address, subnet mask & gateway parameters. The emphasis here is that the IP address of the module cannot be the same as the IP address of other devices in the same LAN. i.e. the module will activate DHCP protocol to collect IP address, subnet mask and gateway information from the DHCP server. 4.1 Module IP address factory default settings WIZS2E Serial to Ethernet module's factory default IP address: 192.168.1.88. 4.2 Method to get the IP address of the module No matter forgotten the IP address of the module or the module is working on DHCP mode, the current IP address of the module could be searched using the WIZS2E ConfigTool. The following steps are the method to use WIZS2E ConfigTool to search the IP address for WIZS2E module: 1. Connect the host computer and the module with LAN cable and power up the module. 2. Run the WIZS2E ConfigTool and it shows as the following 4-1 figure. Figure 4-1 WIZS2E ConfigTool interface 3. Press button, it shows the IP address information as the following figure 4-2. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Figure 4-2 WIZS2E ConfigTool search result 4.3 Module and host computer network detection Before starting to communicate between the WIZS2E module and the host computer, please ensure the host computer and the module are in the same network segment. The factory default setting for IP address and Subnet mask in WIZS2E module are 192.168.1.88 and 255.255.255.0 respectively. User could follow the flow diagram 4-3 to understand the communication procedure between the module and the host computer. If they are in the same network segment, it could communicate with the module. Otherwise, the host computer needs to change its IP address to communicate with the module. W5500S2E-S1 IP Address 192.168.1.88 W5500S2E-S1 Submask PC Submask 255.255.255.0 and W5500S2E-S1 Subnet PC Subnet Compare 192.168.1.0 Use W5500S2E-S1 to Communicate PC IP Address and The Same Subnet Different Subnet Change IP Address Figure 4-3 WIZS2E module and IP segment of host computer flow diagram W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 4.4 How to setting the IP address of the host computer The following procedure is based on Windows(R) 7 Operation System. Press "Start" "Control Panel" "Network Sharing Centre" "Changing adaptor setting" "Local connection" Right Click "Properties" Double Click "Internet protocol version 4 (TCP/IPv4)". After all these procedures, you could get into the result as the following figure shows. Please choose "Using the following IP addresses" for inputting the IP address as 192.168.1.99, the subnet mask is 255.255.255.0 and default gateway into 192.168.1.1. The DNS section could ignore. Finally, please click "Enter" for saving these settings and starts to communicate with WIZS2E module. Figure 4-4 Window 7 (Chinese version) IP address setting interface W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 5 WIZS2E ConfigTool WIZS2E ConfigTool is a Windows(R) configuration tool compatibles to W5500S2E and W7500S2E series modules. WIZS2E ConfigTool can be used to search, enquiry and configure W5500S2E and W7500S2E device features and information. 5.1 Collect module's setting information Click the toolbar's button, WIZS2E ConfigTool will search all WIZS2E module that has connected in the same network segment (Direct connect or under the same router). The figure 5-1 shows the result as mentioned. The search section shows all the modules in MAC address format as the parent node for the list of information of WIZS2E module. By pressing the " " button, it shows the detail information about this module. After pressing the MAC address of that specific module, it will list out all the IP address, serial interface settings and other parameters of this module. This information presents on the Basic settings and Advance Option tab that were next to the search section. Note: Prior configuration, it is recommended that you disable other unrelated network adapters in your host computer (including virtual network adapters, if you use the wired network adapter configuration module to turn off the wireless network card) and ensure that all device IP addresses in the LAN are not conflicting. Figure 5-1 WIZS2E ConfigTool basic settings interface W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Figure 5-2 WIZS2E ConfigTool advance options interface 5.2 Modify the device settings After searching the module, user could directly go to "Basic Settings" and "Advance Options" to configure the module. Please press button to save your configuration. 5.3 Factory reset If the customer found out some uncertainties with the WIZS2E module, the user could reset the module back to factory default setting to solve the problem. There are three kinds of method to factory: Software (ConfigTool), AT command and hardware reset. 5.3.1 Factory reset setting by software I. In the WIZS2E ConfigTool, please click the module on the search section that needs to factory reset. II. Please press toolbar's factory reset button to reset the module back to default settings. 5.3.2 Factory reset module through AT command For detail information about this AT command (AT+DEFAULT) for factory reset, please refer section 6.4.2.6. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 5.3.3 Hardware factory reset method 5.3.3.1 Factory reset through evaluation board Figure 5-3 The evaluation board reset button After providing power to the module, please press the DEFAULT button for more than 3 seconds to apply factory reset procedure. 5.3.3.2 Factory reset through module Figure 54 through the module default PIN to restore factory settings W5500S2E-Z1 has a restored factory set PIN. After power on the module, pull down the DEFAULT pin for 3 seconds to activate factory default. 5.4 Firmware Upgrade W5500S2E-Z1 supports host computer firmware upgrade and remote firmware upgrade features through web page. For detail information, please refer section 8 Firmware upgrade. W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 6 AT command configuration W5500S2E-Z1 supports AT command configuration method. This method could only apply when W5500S2E-Z1 is in command mode. User needs to send the AT serial command mentioned in this section, W5500S2E-Z1 could be modified by requirement. User could use serial terminal or MCU main board that connected with W5500S2E-Z1 for applying these configurations. 6.1 AT command overview AT command is case insensitive. Except the "+++" command, all other commands are starting with string "AT". These commands activate after received CRLF (Carriage-Return Line-Feed). This means "\r\n" ("0x0d 0x0a" in HEX). These commands and related parameters are defined. Sending wrong characters or sending in the inappropriate format will return an error. AT commands have 4 types: 1. +++ Exit from data mode and changed to command mode. 2. Command without parameter Format: AT+ \r\n, No extra parameters or symbol after the command. For example: AT+EXIT\r\n. 3. Query Command Format: AT+?\r\n, this kind of command is checking the command's parameter value. In example: AT+ECHO?\r\n. 4. Commands with parameter Format: AT=,,...\r\n this will set the command's parameter value. Based on users AT command inputs, W5500S2E-Z1 will reply related return value. These values included correct and error message as showed on the following 6-1 table. Return Value Type Return Value Correct Input message [Command] Value is: \r\nOK\r\n Command execute correctly Command Invalid\r\nERROR\r\n Command Invalid \r\n Invalid parameter input Password Error\r\nERROR\r\n Password Error Wrong Input Message Meaning Table 6-1 AT command return value list W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module 6.2 Enter AT command Mode W5500S2E-Z1 has two modes, AT command mode and data mode. In AT command mode, user could use serial terminal or through user's MCU main board to configure the parameters of the module. Command enter will return a value (In echo mode, it will show the serial message). In data mode, all the commands except the "+++" would be ignored to the module. Thus, entering the "+++" command will change the module into AT command mode. Note: "+++" command rules: It needs to send "+" symbol continuously in 3 times to through serial interface to the module. This command requires 1 second gap each before and after this command has entered to activate the correct response from W5500S2E-Z1. If not, it will consider as user's data input. This command does not require CRLF (Carriage-Return Line-Feed)(\r\n). The factory default setting of the module is in AT command mode. 6.3 AT command list The following list is the AT command (case insensitive)list and related return value that supports by WIZS2E module. The type "R" stands for read only. "R/W" means it could read and write. "< >" it means mandatory parameter. "[ ]" it means optional parameters. AT commands are classified into four categories: Basic commands, Control commands, device configuration commands and serial configuration commands 6.3.1 System control command list Features Command Terminal check AT Entering command mode +++ Exit command mode AT+EXIT 6.3.2 Control command list Features Command Echo AT+ECHO List of commands Typ e Max length Parameters / Description 0: Close echo R/W 1 AT+LIST R 0 Queries only: AT+LIST? List of default / current values AT+PRE R 0 Queries only: AT+PRE? Factory reset AT+DEFAULT W 16 Required Password (Case sensitive) Reset AT+RESET W 16 Required Password (Case sensitive) Ethernet send counter AT+NETSEND R 0 Queries only: AT+NETSEND? Ethernet receive counter AT+NETRCV R 0 Queries only: AT+NETRCV? Device uptime AT+RUNTIME R 0 Queries only: AT+RUNTIME? Firmware version AT+VER R 0 Queries only: AT+VER? W5500S2E-Z1 user manual 1: Open echo (Default) W5500S2E-Z1 serial to Ethernet module 6.3.3 Device configuration command list Type Max Features Command Device ID AT+SN R 0 Device type AT+TYPE R 0 Device name AT+NAME R/W 15 Device password AT+PASS R/W 15 Device IP address AT+IP R/W 15 Default: 192.168.1.88 Local port number AT+C1_PORT R/W 5 Maximum: 65535, default: 5000 length Parameters / Description Queries only: AT+SN? Queries only: AT+TYPE? Reply: W5500S2E-Z1 Can set into any characters Default: W5500S2E-Z1 Must be numbers, alphabets or the mixed of both; blank input is not allowed Only available on TCP Client mode: Local port binding AT+C1_BIND R/W 5 0: Disable 1: Enable Device subnet mask AT+MARK R/W 15 Default: 255.255.255.0 Device gateway AT+GATEWAY R/W 15 Default: 192.168.1.1 0: TCP server (default) Operating mode AT+C1_OP R/W 1 1: TCP Client 3: UDP 2: Reserved 4: Not available 0: AT command mode (default); Start Mode AT+START_MODE R/W 1 IP address (Remote host) AT+C1_CLI_IP1 R/W 15 Default: 192.168.1.99 Port number (Remote host) AT+C1_CLI_PP1 R/W 5 Max: 65535, Default: 5000 DNS server address AT+DNS R/W 15 Default: 114.114.114.114 MAC address AT+MAC R 17 IP collection method AT+IP_MODE R/W 1 Web port number AT+WEB_PORT R/W 5 Max: 65535, Default: 80 Remote host name AT+DOMAIN R/W 32 Default: www.iwiznet.cn DNS AT+DNSEN R/W 1 R/W 1 Print debug information AT+DEBUGMSGE N 1: Data transmission mode Queries only: AT+MAC? Format: 00:08:DC:XX:XX:XX (factory preset) 0: Static IP mode (default) 1: DHCP mode 0: Disable (default) 1: Enable 0: Disable (default); 1: Enable Only available on TCP client mode Time to reconnect AT+RECONTIME R/W 5 Value range: 0~60000; Unit: ms Default: 0 (reconnect immediately) NetBIOS AT+NETBIOS R/W 6.3.3 Serial configuration command list W5500S2E-Z1 user manual 1 0: Disable (default) 1: Enable W5500S2E-Z1 serial to Ethernet module Features Command Type Max Parameters / Description length Parameters format: Serial port 1 parameters AT+COM1 R/W 10 [baud],[datab],[parity],[stopb],[c] Default: 7,1,0,1,0 0: 1200; 1: 2400; 2: 4800; 3: 9600; 4: 14400; 5: 19200; Baud rate AT+C1_BAUD R/W 2 6: 38400; 7: 56000; 8: 57600; 9: 115200 (default); 10: 128000; 11: 234000; 12: 256000; 13: 468000; 14: 921600; 15: 1152000 Data bit AT+C1_DATAB R/W 1 Stop bit AT+C1_STOPB R/W 1 0: 7 bit 1: 8 bit (default) 0: 0.5 2: 1.5 1: 1 (default) Parity bit AT+C1_PARITY R/W 1 Serial flow control AT+C1_SER_C R/W 1 3: 2 0: none (default) 1: odd 2: even 0: none (default) 1: Hardware flow control Only available on TCP modes 0: Keeps data in serial after connection has Clear out serial buffer AT+C1_BUF_CLS R/W 1 created (default) 1: Clear data in serial after connected has created Data packaging (length) Nagle algorithm wait time (ms) AT+C1_SER_LEN R/W 4 AT+C1_SER_T R/W 4 Value range: 0~2048 byte; Default: 0 (Disable data packaging by size) Value range: 0~9999, unit: ms; Default: 0 (Disable data packaging by period) Only available on TCP modes Inactivity time (ms) AT+C1_IT R/W 5 Value range: 0 ~ 60000, unit: ms; Default: 0 (disable this function) Only available on TCP modes TCP keep alive time (ms) AT+C1_TCPAT R/W 5 Value range: 0~255, unit 5s; Default: 0 (disable this function) Only available on TCP server mode TCP authentication AT+C1_LINK_P R/W 1 0: No password is required for TCP connection (Default) 1: Required password for TCP connection W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module Features Command Type Max Parameters / Description length Only available on TCP client TCP link establishment condition 0: Reconnect after power up the module AT+C1_LINK_T R/W 1 (default) 1: Reconnect after received data from serial interface Only available on TCP modes TCP link establishment message 0: No message AT+C1_LINK_M R/W 1 1: Send Device ID 2: Send MAC address 3: Send IP address bytes sent by serial bytes received by serial AT+C1_SEND_NU M AT+C1_RCV_NU M R 0 R 0 Queries only: AT+C1_SEND_NUM? Counter range: 0 ~ 4,294,967,295 Queries only: AT+C1_RCV_NUM? Counter range: 0 ~ 4,294,967,295 6.4 AT command details 6.4.1 Basic commands 6.4.1.1 Terminal check (AT) Command format AT return value Parameters / Description Nil Usage Terminal check OK\r\n Check the terminal device is it working. If it is working normally with the module, it will return "OK" value. If the terminal is not working, it will not return anything. 6.4.2 Control commands 6.4.2.1 Enter command mode (+++) Command format +++ Return value Parameters / Description Nil Usage Exit from data mode AT-Command Interpreter ready\r\n Under W5500S2E-Z1's data mode, transmitting "+++" through serial interface in the same time will change the module from data mode to command mode. 6.4.2.2 Exit command mode (AT+EXIT) Command format Parameters / Description AT+EXIT\r\n Nil Return value OK\r\nListening on XXX.XXX.XXX.XXX: XXX \r\n Usage Exit command mode After finished configured the settings in command mode, user needs to input "AT+EXIT\r\n" for saving W5500S2E-Z1 user manual W5500S2E-Z1 serial to Ethernet module the settings and exit from the command mode to data mode. Any updated parameter in this session will only be saved into EEPROM after executing this command. 6.4.2.3 Echo (AT+ECHO) Command format Parameters / Description AT+ECHO=\r\n Usage Define new value 0: Close Echo feature AT+ECHO?\r\n Query current value 1: Open Echo feature (default) Return value [ECHO] Value is: \r\nOK\r\n Echo means WIZS2E module could directly return any input values to the serial interface. Thus, this option may help some users working more easily through serial terminal software. However, this may cause trouble if the serial is connected to an embedded system. Turn off this function in this case. 6.4.2.4 List of commands (AT+LIST) Command format Parameters / Description AT+LIST?\r\n Nil return value \r\nOK\r\n Usage Query current value 6.4.2.5 List of default / current values (AT+PRE) Command format Parameters / Description Usage AT+PER?\r\n Nil Query current value return value DEFAULT:\r\n\r\nCURRENT:\r\n\r\n 6.4.2.6 Factory reset (AT+DEFAULT) Command format AT+DEFAULT=\r\n Return value Parameters / Description Usage Reset to factory : [device password] default settings OK\r\n\r\n Exact password must be imputed to executed this command. When this command is successfully executed, the module restores the factory default settings and enters to AT command mode. Device password can be queried and set through "AT+PASS". 6.4.2.7 Reset (AT+RESET) Command format AT+RESET=\r\n Return value Parameters / Description Usage : [device password] Reset the module OK\r\n\r\n Exact password must be imputed to executed this command. The module will be in data mode after reset. Device password can be queried and set through "AT+PASS". 6.4.2.8 Ethernet send counter (AT+NETSEND) Command format Description W5500S2E-Z1 user manual Usage W5500S2E-Z1 serial to Ethernet module AT+NETSEND?\r\n Return value Nil Query the byte of data sent by Ethernet interface [NETSEND] Value is: \r\nOK\r\n Value ranged is 0 to 4,294,967,295. 6.4.2.9 Ethernet receive counter (AT+NETRCV) Command format AT+NETRCV?\r\n return value Description Nil Usage Query the byte of data received from Ethernet interface [NETRCV] Value is: \r\nOK\r\n Value ranged is 0 to 4,294,967,295. 6.4.2.10 Device uptime (AT+RUNTIME) Command format AT+RUNTIME?\r\n Return value Description No Usage Query current value [RUNTIME] Value is: