background image

W5500S2E-S1 serial to Ethernet module 

W5500S2E-S1 user manual 

19 

6.2

 

  Enter AT command Mode 

W5500S2E-S1 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-S1. 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 

Type 

Max length 

Parameters / Description 

Echo 

AT+ECHO 

R/W 

0: Close echo 

1: Open echo (Default) 

List of commands 

AT+LIST 

Queries only: 

AT+LIST?

 

List of default / current values 

AT+PRE 

Queries only: 

AT+PRE?

 

Factory reset 

AT+DEFAULT 

15 

Required Password (Case sensitive) 

Reset 

AT+RESET 

15 

Required Password (Case sensitive) 

Ethernet send counter 

AT+NETSEND 

Queries only: 

AT+NETSEND?

 

Ethernet receive counter 

AT+NETRCV 

Queries only: 

AT+NETRCV?

 

Device uptime 

AT+RUNTIME 

Queries only: 

AT+RUNTIME?

 

Firmware version 

AT+VER 

Queries only:

 AT+VER?

 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Summary of Contents for W5500S2E-S1

Page 1: ...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 NetBI...

Page 2: ...f the AT NETBIOS command 6 Maximum length of AT DOMAIN parameter changed to 32 7 Maximum parameter length of the AT C1_SER_T is changed to 5 range of serial frame interval is 0 60000 8 Maximum paramet...

Page 3: ...TECTION 12 4 4 HOW TO CONFIG 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 USEFUL FUNCTIONS 15 5 3 1 S...

Page 4: ...e 33 6 5 2 TCP client mode example 34 6 5 3 UDP mode example 35 7 WEB PAGE CONFIGURATION 36 7 1 MAIN PAGE 36 7 2 BASIC SETTINGS 38 7 3 ADVANCE SETTINGS 39 7 4 FIRMWARE INFORMATION 41 7 5 DEVICE MANAGE...

Page 5: ...port 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...

Page 6: ...he pin header has pitch 2 54mm Figure 1 1 W5500S2E S1 dimensions top view Figure 1 2 W5500S2E S1 dimensions side view 1 2 3 Thermal Characteristics Table 1 3 Thermal characters Working Mode Ratings mA...

Page 7: ...dentify there are 3 rows of pin headers on the module as hardware connectors for users J1 is a 1x7 single row 2 54mm pin and J2 is 2x7 double row 2 54mm pins Figure 2 2 is the pin assignment of W5500S...

Page 8: ...n Header name I O Features 1 RSTn I Hardware reset pin 2 CTS I O Serial CTS signal pin 3 RTS I O Serial RTS signal pin 4 TXD O Serial output signal pin 5 RXD I Serial input signal pin 6 GND GND 7 VCC...

Page 9: ...gure shows x means vacant RJ 45 J5 interface Pin Assignment Pin Signal Pin Signal 1 RXIN 5 2 RXIP 6 TXOP 3 TXON 7 4 8 TTL interface P2 Pin Assignment Pin Signal Pin Signal 1 5V 5 3V3 2 GND 6 GND 3 TX...

Page 10: ...e data speed Table 2 5 W5500S2E S1 evaluation board LED description Hardware connection explanation W5500S2E S1 used two sections of pin layouts in 1 x 7 pin and 2 x 7 pin designs This is to avoid plu...

Page 11: ...2 5 W5500S2E S1 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...

Page 12: ...mode diagram Figure 3 1 shows W5500S2E S1 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 connecti...

Page 13: ...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 communicatio...

Page 14: ...l 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 UD...

Page 15: ...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 us...

Page 16: ...h 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 and W5500S2E S1 Submask 255 255 255 0 PC Submask and PC IP Ad...

Page 17: ...2 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...

Page 18: ...l 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 co...

Page 19: ...dated 5 3 2 Right mouse button Right click on the device list on the left and the function list will appear as shown in the figure below There are 3 functions 1 Expand collapse all device details 2 Th...

Page 20: ...press toolbar s factory reset button to reset the module back to default settings 5 4 2 Factory reset module through AT command For detail information about this AT command AT DEFAULT for factory rese...

Page 21: ...tory default 5 5 Firmware Upgrade W5500S2E S1 supports host computer firmware upgrade and remote firmware upgrade features through web page For detail information please refer section 8 Firmware upgra...

Page 22: ...of command is checking the command s parameter value In example AT ECHO r n 4 Commands with parameter Format AT command parameter1 parameter2 parameter3 r n this will set the command s parameter value...

Page 23: ...ategories 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 Exi...

Page 24: ...address AT DNS R W 15 Default 114 114 114 114 MAC address AT MAC R Queries only AT MAC Format 00 08 DC XX XX XX factory preset IP collection method AT IP_MODE R W 1 0 Static IP mode default 1 DHCP mod...

Page 25: ...algorithm wait time ms AT C1_SER_T R W 5 Value range 0 60000 unit ms Default 0 Disable data packaging by period Inactivity time ms AT C1_IT R W 5 Only available on TCP modes Value range 0 60000 unit m...

Page 26: ...Return value AT Command Interpreter ready r n Under W5500S2E S1 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 c...

Page 27: ...n 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 Com...

Page 28: ...nOK r n Device ID of the WIZS2E module for identification It contains the last 6 HEX of the MAC address This attribute is read only 6 4 3 2 Device type AT TYPE Command format Description Usage AT TYP...

Page 29: ...um value size for IP address is 15 bytes This command could not accept xxx xxx xxx 0 or xxx xxx xxx 255 value inputs 6 4 3 6 Local port number AT C1_PORT Command format Parameters Usage AT C1_PORT por...

Page 30: ...therefore the maximum value size for Gateway address is 15 bytes This command could not accept xxx xxx xxx 0 or xxx xxx xxx 255 value inputs 6 4 3 10 Operating mode AT C1_OP Command format Parameters...

Page 31: ...value range for each section is 0 255 therefore the maximum value size for DNS server address is 15 bytes This command could not accept xxx xxx xxx 0 or xxx xxx xxx 255 values input 6 4 3 15 Debug mes...

Page 32: ...This command sets the remote domain name so please do not enter IP address format to this command This command requires AT DNSEN command to analysis DNS domain name This command will only available on...

Page 33: ...eters Usage AT COM1 baud datab parity stopb c r n baud Refer to AT C1_BAUD datab Refer to AT C1_DATAB parity Refer to AT C1_PARITY stopb Refer to AT C1_STOPB c Refer to AT C1_SER_C Define new value AT...

Page 34: ...unction 6 4 4 7 Clear serial buffer if connect AT C1_BUF_CLS Command format Parameters Usage AT C1_BUF_CLS class r n cls 0 Keep the serial port buffer data after establishing connection default 1 Clea...

Page 35: ...be a failure when either party initiates the communication By defining an inactivity timer for the module connection will be disconnected if the module didn t receive any data in a defined time When...

Page 36: ...essage default 1 Send Device ID 2 Send MAC address 3 Send IP address Define new value AT C1_LINK_M r n Query current value Return value C1_LINK_M Value is link_m r n Only operate on TCP communication...

Page 37: ...ownloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arr...

Page 38: ...com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Page 39: ...com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Page 40: ...gin is required Figure 7 3 shows the basic information for the web page To exit the site please press Logout that shows on the right top corner of the web page This page shows the basic information of...

Page 41: ...Remote Host IP address default 192 168 1 99 Remote Port Shows the Remote Host Port number default 5000 UART Information Baud Rate Shows the baud rate default 115200 Date Bit Shows the data bit default...

Page 42: ...fault 5000 The value range is 0 to 65535 Port 80 has used for web port Please avoid using this port number Bind Local Port Binding Local Port option default uncheck only available on TCP client mode D...

Page 43: ...7 7 Basic setting page Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arro...

Page 44: ...Connection Condition In TCP client mode the connection is starts from W5500S2E S1 This function can set as Connect socket after power up Default or Connect socket after UART received data Clear Buffe...

Page 45: ...ded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com...

Page 46: ...rom Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 47: ...m Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Page 48: ...rom Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 49: ...prior versions of this document 2017 WIZNET H K LIMITED All rights reserved Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arro...

Reviews: