Wiznet W5500S2E User Manual

Wiznet W5500S2E User Manual

Ethernet module

Advertisement

W5500S2E module series support both data pass-through mode and AT data transfer mode. It
supports TCP server, TCP clients and UDP 3 operation mode. Serial baud rate can be as high as
1.152Mbps. It can be configured by PC configuration utility, web page and AT command.
The unparalleled and robust of W5500S2E integrated 32bit MCU with the hardwired TCP/IP
Ethernet chip W5500. Accompanied by a vast functionalities, makes the family of products the
ideal choice, both for new design projects or an upgrading a current platform.
Features
Support dual mode: "Data pass-through" and "AT data transfer"
Support TCP server, TCP client and UDP operating modes
Support RS-485 enable pin of an external RS-485 transceiver
Flexible data packet condition for the serial interface
As DHCP client to automatically acquire IP address
As DNS client to lookup domain name
Support Modbus RTU/ASCII to Modbus TCP/UDP
Support Modbus over TCP/UDP
Support NetBIOS for easy access of web configuration page
Support three configuration method: serial AT command, PC software and web page
Support local and remote firmware upgrade
Support "Keep-Alive" to guarantee TCP connection
Specification
10/100Mbps Ethernet interface
Serial interface: 3.3V TTL : TXD, RXD, CTS, RTS, GND
Baud Rate: From 1.2Kbps to 1.152Mbps with 16 common values
Data Bit: 7, 8
Stop Bit: 0.5, 1, 1.5, 2
Parity: None, Even, Odd
Flow Control: None, CTS/RTS
Power supply:
W5500S2E-S1: DC 3.3V
W5500S2E-Z1: DC 5.0V
W5500S2E-R1: DC 3.3V
Size: L x W x H (mm)
W5500S2E-S1: 34.00×24.00×12.40
W5500S2E-Z1: 44.45×31.75×15.75
W5500S2E-R1: 44.45×31.75×23.00
Operating temperature: -40 ℃ ~ +85 ℃ (Industrial Grade)
Storage environment: -40 ℃ ~ +85 ℃ , 5 ~ 95% RH
W5500S2E user manual
W5500S2E serial to Ethernet module

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the W5500S2E and is the answer not in the manual?

Questions and answers

Summary of Contents for Wiznet W5500S2E

  • Page 1 W5500S2E serial to Ethernet module W5500S2E module series support both data pass-through mode and AT data transfer mode. It supports TCP server, TCP clients and UDP 3 operation mode. Serial baud rate can be as high as 1.152Mbps. It can be configured by PC configuration utility, web page and AT command.
  • Page 2 Updated all images V1.1.1 2019/04/09 Add electrical characteristics for W5500S2E-Z1 for V =5.0V Chapter 2.1.1 add W5500S2E-S1 pin description & figure of ACK_LED V1.1.2 2019/05/29 Chapter 2.2 update W5500S2E reference schematics Copyright notice Copyright © WIZnet H.K. Ltd. All rights reserved.
  • Page 3: Table Of Contents

    W5500S2E serial to Ethernet module Table of Contents Introduction ................... 1 Overview ....................1 Specifications ..................2 Hardware description ................6 Pin definition..................6 WIZS2E-EVB breakout board ..............9 Quick testing guide................12 Operating modes ................. 13 TCP server mode .................. 13 TCP client mode ...................
  • Page 4: Introduction

    W5500S2E serial to Ethernet module 1 Introduction 1.1 Overview W5500S2E series modules have the following different part number which depends on different footprint and connectors: Table 1-1 W5500S2E type comparison Photos Features Dimension: 34.00×24.00×12.40 (mm) Network socket type: Ethernet transformer W5500S2E-S1 Voltage input DC 3.3V...
  • Page 5: Specifications

    W5500S2E serial to Ethernet module 1.2 Specifications Electrical characteristics Voltage and current characteristics The following tables show the voltage and current under 25 C environment Table 1-2 W5500S2E-S1 & W5500S2E-R1 Electrical characteristics (V =3.3V) Ratings Symbol Types Typical Unit Module voltage 2.97...
  • Page 6 W5500S2E serial to Ethernet module Dimension Please refer to the figures below which shows the dimension of the module. W5500S2E-S1 layout and dimension Figure 1-1 W5500S2E-S1 dimension - top view Figure 1-2 W5500S2E-S1 dimension - side view W5500S2E user manual...
  • Page 7 W5500S2E serial to Ethernet module W5500S2E-Z1 layout and dimension Figure 1-3 W5500S2E-Z1 dimension - top view A power LED locates on the top of each module with a small + sign marking above. Figure 1-4 W5500S2E-Z1 dimension - side view...
  • Page 8 W5500S2E serial to Ethernet module W5500S2E-R1 layout and dimension Figure 1-5 W5500S2E-R1 dimension - top view A power LED locates on the top of each module with a small + sign marking above. Figure 1-6 W5500S2E-R1 dimension - side view...
  • Page 9: Hardware Description

    W5500S2E serial to Ethernet module 2 Hardware description 2.1 Pin definition 2.1.1 W5500S2E-S1 pinout and pin definition Table 2-1 W5500S2E-S1 pin definition Pin. Pin Name Description LINK_LED Ethernet link indicator ACK_LED MAC layer ACK indicator Ethernet & serial status indicator...
  • Page 10 W5500S2E serial to Ethernet module 2.1.2 W5500S2E-Z1 pinout and pin definition Table 2-2 W5500S2E-Z1 pin definition Pin Name Function TXOP Ethernet TXOP signal TXON Ethernet TXON signal RXIP Ethernet RXIP signal RXIN Ethernet RXIN signal Ethernet & serial status indicator...
  • Page 11 W5500S2E serial to Ethernet module 2.1.3 W5500S2E-R1 pinout and pin definition Table 2-3 W5500S2E-R1 pin definition Pin Name Function × × × × Ethernet & serial status indicator DATA_LED Change status while data channel changes UART TXD signal UART RXD signal...
  • Page 12: Wizs2E-Evb Breakout Board

    W5500S2E serial to Ethernet module 2.2 WIZS2E-EVB breakout board The WIZS2E-EVB evaluation board provides a simple and speedy connection for evaluating the W5500S2E-Z1 and the W5500S2E-R1. The connectors and I/O are shown below. W5500S2E pin header W5500S2E Power supply WIZS2E-EVB...
  • Page 13 W5500S2E serial to Ethernet module 1 . WIZSE evaluation board button description Table 2-4 WIZS2E-EVB breakout board button description Button Description SW1 (default) Press button over 3 seconds for factory reset SW2 (RESET) Hardware reset button 2 . WIZS2E-EVB breakout board LED description...
  • Page 14 W5500S2E serial to Ethernet module 2 . W5500S2E-Z1 reference schematic Figure 2-6 W5500S2E-Z1 reference schematic 3 . W5500S2E-R1 reference schematic Figure 2-7 W5500S2E-R1 reference schematic W5500S2E user manual...
  • Page 15: Quick Testing Guide

    USB port of the PC. Besides, connect the Ethernet port of the WIZS2E-EVB to the Ethernet port of the PC with Ethernet cable. With this setup, the W5500S2E becomes the bridge between the serial port and the Ethernet port. Figure 2-8 W5500S2E module testing evaluation block diagram...
  • Page 16: Operating Modes

    Serial User device W5500S2E (UDP peer) Figure 3-3 UDP mode diagram In UDP mode, W5500S2E acts as an UDP peer to send data to another preset UDP peer. W5500S2E can also receive data from other UDP peers. W5500S2E user manual...
  • Page 17: Modbus Mode

    Modus RTU/ASCII W5500S2E Figure 3-4 Modbus mode diagram In Modus mode, W5500S2E acts as a bridge between Modus RTU/ASCII protocols to Modbus over TCP/UDP protocols. Also W5500S2E can also support Modbus over TCP/UDP communication. Note: The Modus function of W5500S2E is only valid under “Data pass-through mode”.
  • Page 18: Data Transfer Mode

    4.1 Data pass-through mode Data pass-through mode of W5500S2E has the following characteristics To configure W5500S2E to transmit data, parameters need to be configured in AT command before switching into “data pass-through mode” Module will enter the preset mode and parameter after module entered into “data pass-through mode”...
  • Page 19: How To Enter "Data Pass-Through Mode

    W5500S2E serial to Ethernet module If TCP connection is close. It is need to reconnected using AT command. If parameters changes are needed, it can be configured directly using AT command. Note: “AT data transfer command mode” is supported by firmware version is 2.3 or above 4.3 How to enter “Data pass-through mode“...
  • Page 20: Modify The Device Settings

    W5500S2E serial to Ethernet module Figure 5-2 WIZS2E ConfigTool “Advance Options” 5.2 Modify the device settings If there is any updated parameter, please click button to save your configuration and restart. 5.3 Reset the module First click the “Reset” button and then to click the “Reset Now!” button to reset the module without saving any setting 5.4 Useful features...
  • Page 21 W5500S2E serial to Ethernet module Right-click context menu WIZS2E ConfigTool provides additional options via the context menu. When right-click on a device in the list on the left side, the function list will appear as shown in the figure below.
  • Page 22: Introduction Of At Command

    6 Introduction of AT command 6.1 AT command overview AT command can be sent to the serial port of W5500S2E running in AT command mode. AT command is case insensitive. AT command is always starting with string “AT” and ends with “\r\n”.
  • Page 23: Entering At Command Mode

    MCU. Note: The existing connections will be closed when entering “AT command mode”. When W5500S2E is in “AT command mode” mode, sending “AT\r\n”, it will respond with “OK\r\n” if it is working correctly. In “Data pass-through mode”, W5500S2E will not detect any AT command sending to the serial port.
  • Page 24 W5500S2E serial to Ethernet module Command Function Parameters length 0: AT command mode (default) START_MODE Start mode 1: Data pass-through mode 0: TCP server mode (default) 1: TCP client mode 2: UDP mode 16: Modbus RTU-TCP Server 17: Modbus RTU-TCP Client...
  • Page 25 W5500S2E serial to Ethernet module Command Function Parameters length COM1 Serial parameter Default: 9.0.0.1.0 0: 1,200 6: 38,400 12: 256,000 1: 2,400 7: 56,000 13: 468,400 2: 4,800 8: 57,600 14: 921,600 C1_BAUD Baud rate index 3: 9,600 9: 115,200...
  • Page 26 W5500S2E serial to Ethernet module Command Function Parameters length C1_SEND_NUM Serial sent byte Range: 0 ~ 4,294,967,295 C1_RCV_NUM Serial received byte Range: 0 ~ 4,294,967,295 NETSEND Network sent byte Range: 0 ~ 4,294,967,295 NETRCV Network received byte Range: 0 ~ 4,294,967,295...
  • Page 27: At Command Details

    W5500S2E serial to Ethernet module 6.5 AT command details 6.5.1 Control command AT (Terminal check) Command format Parameters Usage Read Response OK\r\n Description If module is in AT command mode, return is value above Command: AT\r\n Example Response: OK\r\n It will check if the module if it is working properly in AT command mode.
  • Page 28 W5500S2E serial to Ethernet module NAME (Module name) Command format Parameters Usage AT+NAME? Read User defined device name. It must be numbers, alphabets or the AT+NAME=<parameter> combination of both. Maximum length is 15 byte. Cannot be null Default: Module P/N Response [NAME] Value is:<value>\r\nOK\r\n...
  • Page 29 W5500S2E serial to Ethernet module RESET (Save and restart the module) Command format Parameters Usage AT+RESET=<parameter> Module password; Default: admin Response OK\r\n Command: AT+RESET=admin\r\n Example Response: OK\r\n Exact password must be input to execute this command  It will save the current settings ...
  • Page 30 W5500S2E serial to Ethernet module 6.5.2 Module settings command START_MODE (Start mode) Command format Parameters Usage AT+START_MODE? Read 0: AT command mode (default) AT+START_MODE=<parameter> 1: Data pass-through mode Response [START_MODE] Value is:<value>\r\nOK\r\n Command: AT+START_MODE=1\r\n Example Response: [START_MODE] Value is:1\r\nOK\r\n This defines the starting mode after power on or reboot or executing the “RESET” command.
  • Page 31 W5500S2E serial to Ethernet module IP (IP address) Command format Parameters Usage AT+IP? Read AT+IP=<parameter> Default: 192.168.1.88 Response [IP] Value is:<value>\r\nOK\r\n Command: AT+IP=192.168.1.88\r\n Example Response: [IP] Value is:192.168.1.88\r\nOK\r\n The IP address has format in human-readable notations for IPv4, such as 172.16.254.1; maximum length of IP address is 15 bytes.
  • Page 32 W5500S2E serial to Ethernet module DNS (DNS server address) Command format Parameters Usage AT+DNS? Read DNS server address, default: AT+DNS=<parameter> 114.114.114.114 Response [DNS] Value is:<value>\r\nOK\r\n Command: AT+DNS=1.1.1.1\r\n Example Response: [DNS] Value is: 1.1.1.1\r\nOK\r\n DNS server address format is separated into 4 sections; each section is a decimal value and using a dot to separate.
  • Page 33 Response: [C1_CLI_IP1] Value is:192.168.1.99\r\nOK\r\n This command is only valid In TCP client mode or UDP mode  “DNSEN” is enabled  It sets the remote IP address to communicate with W5500S2E. C1_CLI_PP1 (Remote host port number) Command format Parameters Usage AT+C1_CLI_PP1? Read Range: 1 ~ 65,535, Default: 5000。...
  • Page 34 0: Disable (Default) AT+NETBIOS=<parameter> 1: Enable Response [NETBIOS] Value is:<value>\r\nOK\r\n Command: AT+NETBIOS=1\r\n Example Response: [NETBIOS] Value is:1\r\nOK\r\n User can enter the URL http://[Module name] in the browser in the same LAN with the W5500S2E if this command is enable. W5500S2E user manual...
  • Page 35 W5500S2E serial to Ethernet module 6.5.3 Serial settings command COM1 (Serial parameters) Command format Parameters Usage AT+COM1? Read <par1>: Baud rate, refer to “C1_BAUD” command AT+COM1=<par1>, <par2>: Data bit, refer to “C1_DATAB” command <par2>, <par3>, <par3>: Parity bit, refer to “C1_PARITY” command <par4>, <par5>...
  • Page 36 W5500S2E serial to Ethernet module C1_DATAB (Data bit) Command format Parameters Usage AT+C1_DATAB? Read 0: 7 bit AT+C1_DATAB=<parameter> 1: 8 bit (Default) Response [C1_DATAB] Value is:<value>\r\nOK\r\n Command: AT+DATAB=1\r\n Example Response: [C1_DATAB] Value is:1\r\nOK\r\n C1_STOPB (Stop bit) Command format Parameters Usage...
  • Page 37 W5500S2E serial to Ethernet module This command with parameter equal 1 enables the hardware serial flow control. This may improve the data accuracy for high speed transmission. Note: This command with parameter equals 2 will enable the 485EN pin. The RTS pin becomes RS-485 enable output for connecting external 485 chips.
  • Page 38 W5500S2E serial to Ethernet module C1_IT (Inactivity timeout) Command format Parameters Usage AT+C1_IT? Read Value range: 0 ~ 60000, unit: ms; AT+C1_IT=<parameter> Default: 0 (disable this function) Response [C1_IT] Value is:<value>\r\nOK\r\n Command: AT+C1_IT=1000\r\n Example Response: [C1_IT] Value is:1000\r\nOK\r\n This command is valid only in TCP modes & “data pass-through mode”.
  • Page 39 W5500S2E serial to Ethernet module C1_LINK_T (Connection Condition) Command format Parameters Usage AT+C1_LINK_T? Read 0: Connect when power on (default) AT+C1_LINK_T=<parameter> 1: Connect when receiving data from serial Response [C1_LINK_T] Value is:<value>\r\nOK\r\n Command: AT+C1_LINK_T=1\r\n Example Response: [C1_LINK_T] Value is:1\r\nOK\r\n This command is valid only in TCP client mode & “data pass-through mode”.
  • Page 40 W5500S2E serial to Ethernet module 6.5.4 Management command C1_SEND_NUM (Serial sent number of byte) Command format Parameters Usage AT+C1_SEND_NUM? Read [C1_SEND_NUM] Value is:<value>\r\nOK\r\n Response Display range: 0 ~ 4,294,967,295。 Command: AT+C1_SEND_NUM?\r\n Example Response: [C1_SEND_NUM] Value is:2048\r\nOK\r\n This command is valid for both “data pass-through mode” & “AT data transfer command mode”.
  • Page 41 W5500S2E serial to Ethernet module PRE (List preset values) Command format Parameters Usage AT+PRE? Read DEFAULT: [NAME] :W5500S2E-S1 [PASS] :admin [DOMAIN] :www.iwiznet.cn [IP] :192.168.1.88 [MARK] :255.255.255.0 [GATEWAY] :192.168.1.1 [DNS] :114.114.114.114 [WEB_PORT] :80 [C1_PORT] :5000 [C1_BAUD] [C1_DATAB] :1 [C1_PARITY] :0 [C1_STOPB] :1...
  • Page 42 W5500S2E serial to Ethernet module LIST (List all commands) Command format Parameters Usage AT+LIST? Read [Control Command] AT+ECHO AT+DEBUGMSGEN AT+NAME AT+PASS AT+DEFAULT AT+RESET AT+EXIT AT+SAVE [Module Settings Command] AT+START_MODE AT+C1_OP AT+IP_MODE AT+IP AT+MARK AT+GATEWAY AT+DNS AT+C1_PORT AT+C1_BIND AT+DNSEN AT+C1_CLI_IP1 AT+C1_CLI_PP1...
  • Page 43 W5500S2E serial to Ethernet module VER (Firmware version) Command format Parameters Usage AT+VER? Read Response [VER] Value is:<value>\r\nOK\r\n Command: AT+VER?\r\n Example Response: [VER] Value is:V2.3\r\nOK\r\n MAC (MAC address) Command format Parameters Usage AT+MAC? Read Response [MAC] Value is:<value>\r\nOK\r\n Command: AT+MAC?\r\n Example Response: [MAC] Value is:00.08.DC.11.12.13\r\nOK\r\n...
  • Page 44: At Data Transfer Command

    W5500S2E serial to Ethernet module WEB_PORT (Web configuration port number) Command format Parameters Usage AT+WEB_PORT? Read Range: 1 ~ 65,535, Default: 80。 AT+WEB_PORT=<parameter> Response [WEB_PORT] Value is:<value>\r\nOK\r\n Command: AT+WEB_PORT=80\r\n Example Response: [WEB_PORT] Value is:80\r\nOK\r\n This port number is used for configuration through web browser. The value range is 0 to 65535. If the port wasn’t set to 80, the port number should be added to the end of the IP address.
  • Page 45 W5500S2E serial to Ethernet module CONNECT (Initiating TCP connection) Command format Parameters Usage AT+CONNECT Execute Response OK\r\n Description Upon successful completions Response <Error Info>\r\n Description Module is not in TCP client mode Command: AT+CONNECT\r\n Example Response: OK\r\n This command is valid only in TCP client mode. i.e. “C1_OP” is set as “1”. Otherwise, it will respond with error message.
  • Page 46 W5500S2E serial to Ethernet module SEND (Send byte of data) Command format Parameters Usage AT+SEND=<parameter> Range: 0~2048 (bytes), Default: 0 (any length) Response [SEND] Value is:<value>\r\nOK\r\n Description Set the length of data to be sent Assume module is in TCP mode and TCP connection is connected...
  • Page 47 W5500S2E serial to Ethernet module This command reads the data in the network receiving buffer (with length in bytes). Note: This command is supported by firmware version 2.3 and above. RCV (Receive data) Command format Parameters Usage Range: 0 ~ 2048, Default: 0 (Whatever length)。...
  • Page 48: At Command Script Examples

    W5500S2E serial to Ethernet module 6.7 AT command script examples 6.7.1 TCP server mode script example AT\r\n //Terminal check OK\r\n AT+DEBUGMSGEN=0\r\n //Disable debug message [DEBUGMSGEN] Value is:0\r\nOK\r\n AT+ECHO=0\r\n //Echo on [ECHO] Value is:0\r\nOK\r\n AT+START_MODE=1\r\n //Configure start mode into “Data pass-through mode”...
  • Page 49 W5500S2E serial to Ethernet module 6.7.2 TCP client AT command mode script example AT\r\n //Terminal check OK\r\n AT+DEBUGMSGEN=0\r\n //Turn off the serial debugging message [DEBUGMSGEN] Value is:0\r\nOK\r\n AT+ECHO=0\r\n //Echo off [ECHO] Value is:0\r\nOK\r\n AT+START_MODE=0\r\n //Configure start mode to “AT command mode”...
  • Page 50: Web Configuration

    WIZS2E module is 192.168.1.88. You may first search for your module IP by the ConfigTool software. Figure below shows the login page. Figure 7-1 Login page The default password is “admin”. This page shows the basic information of the W5500S2E module. Figure 7-2 Device View page W5500S2E user manual...
  • Page 51: Basic Settings

    After you've done that, you may click “Reset” to reset the module for the settings to be applied. Please know that the session time for the W5500S2E webserver is 5 minutes. After 5 minutes of inactivity, re-login is required. Figure 7-3 Basic Settings page...
  • Page 52 W5500S2E serial to Ethernet module Socket Setting Setting Description Default Start mode “AT Command Mode” or “Data pass-through mode” “AT Command Mode” Socket Type “TCP Server”, “TCP Client” or “UDP mode” “TCP Server” Remote Host Remote host IP address or domain name 192.168.1.99...
  • Page 53: Advance Options

    If the port wasn’t set to 80, then need to input the port at the end of the IP address. For example: 192.168.1.88:8000. Note: If W5500S2E works in TCP server mode, HTTP port must not be set to the same as the local port of the module.
  • Page 54 W5500S2E serial to Ethernet module Reconnection Time (ms): reconnection interval, only effective in TCP client mode, default: 0 (instant reconnection), value range: 0 to 60000, unit: ms Inactivity Time (ms): Set the Inactivity timeout, only effective in TCP modes, value...
  • Page 55: Management

    W5500S2E serial to Ethernet module 7.4 Management Clicking “Management” to get into device management page as figure below, this page contains 2 sections: Password Settings and Management Figure 7-5 Management page Password Setting Old Password - the old password, default: admin ...
  • Page 56: Factory Reset

    W5500S2E-Z1 Figure 8-1 through the module default PIN to restore factory settings W5500S2E has a factory reset PIN. Pull down the DEFAULT pin for over 3 seconds to activate factory reset when the module is power on. W5500S2E user manual...
  • Page 57: Firmware Upgrade

    W5500S2E serial to Ethernet module 9 Firmware upgrade 9.1 Firmware upgrade by WIZS2E ConfigTool Please make sure the IP address of the module needs to be in the same subnet with the host computer. Then perform the steps below: Click “Search”...
  • Page 58: Firmware Upgrade By Web Page

    After logon to the web page and entered the “Firmware” tag. Click “Choose file” as shown below. Figure 9-3 Firmware upgrade by web page After firmware uploaded, W5500S2E will reboot automatically for firmware updating. It will be auto reload to the login page after that. W5500S2E user manual...
  • Page 59: Disclaimers

    Purchasers should obtain the latest relevant information on WIZnet products before placing orders. WIZnet products are sold pursuant to WIZnet’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of WIZnet products and WIZnet assumes no liability for application assistance or the design of Purchasers’...

This manual is also suitable for:

W5500s2e seriesW5500s2e-s1W5500s2e-z1W5500s2e-r1

Table of Contents