Page 2
2013-09-25 V1.11 Information in this document is belived to be accurate and reliable. However, WIZnet does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information.
Page 3
COPYRIGHT NOTICE Copyright 2013 WIZnet Co., Ltd. All Rights Reserved. Contact Information WIZnet US : sales_team@wiznettechnology.com support_team@wiznettechnology.com WIZnet HK : sales@wiznet.hk WUZnet EU : sales@wiznet.eu WIZnet HQ : sales@wiznet.co.kr support@wiznet.co.kr For more information, visit our website at http://www.wiznet.co.kr WIZ127SR User’s Manual...
Serial Command mode ....................17 3.2.2. How to switch the mode ....................17 3.2.3. 3.2.4. How to configure WIZ127SR with a whole data ............17 3.2.4.1. Command Frame Format ................... 18 3.2.4.2. Reply Frame Format ....................19 Example ......................... 20 3.2.4.3.
Page 5
Figures ......................... 2 IGURE SSIGNMENT ........................... 4 IGURE IMENSION 3 WIZ127SR B ..................6 IGURE ASE BOARD SCHEMATIC RS485/422 ............7 IGURE EFERENCE SCHEMATIC FOR INTERFACING TO 5. C ) ............. 22 IGURE ONFIGURATION ETWORK ONFIGURATION 6. C ) ..............25...
Page 6
RAME FORMAT 10. H ............... 18 ABLE ARDWARE ONFIGURATION OMMAND 11. H ............19 ABLE ARDWARE ONFIGURATION ARAMETER DESCRIPTIONS 12. H ............. 19 ABLE ARDWARE ONFIGURATION EPLY RAME FORMAT 13. H ............... 20 ABLE ARDWARE ONFIGURATION NTRANCE ESSAGE WIZ127SR User’s Manual...
This module enables remote gauging, remote management of the device through the network based on the Ethernet and the TCP/IP by connecting to existing equipment with RS-232 serial interface. In other words, WIZ127SR is a protocol converter that transmits the data sent by serial equipment as TCP/IP data type or vice versa.
Input J1.10 GPIO pin Input/Output CMOS/TTL/5V tolerant Input J1.11 Ground CMOS/TTL/5V tolerant Input WIZ127SR check whether this pin is asserted low as input pin High: Not connected during booting If it is low, J1.12 (*)STATUS1 Input/Output Low: Connected WIZ127SR enter into Hardware configuration mode.
Low level output voltage μA Input Current VIN = VDD Table 3 DC Characteristic 2.3.3. POWER DISSIPATION Test Condition(VCC3.3V, Temperature 25℃) Condition Unit 100M Link 10M Link Loss Link 100M Transmitting 10M Transmitting Table 4 Power Dissipation WIZ127SR User’s Manual...
3.1. Serial Commands 3.1.1. Serial Command Format It is possible to configure WIZ127SR by using serial command. By inputting specified 3 characters you can enter into the configuration mode. The characters can be defined at the Configuration Tool. < Frame Format >...
Page 15
Get the current WIZ127SR’s Local port number Its response format is like below. <S[Port]> Meaning [Port] : Server’s IP address in a dotted decimal format ex) <RP> Response Format <WDx> Set the method of setting WIZ127SR’s IP address Meaning Parameter’s Value Meaning WIZ127SR User’s Manual...
Page 16
PPPoE mode ex) <WD0> or <WD1> Response <S> Format <RD> Get the current WIZ127SR’s method setting its IP address Its response format is like below. <S[Mode]> Meaning [Mode] : Server’s IP address in a dotted decimal format ex) <RD> Response Format <WMx>...
Page 17
RTS Only (For RS485) ex) <WB1800> => 115200, 8 bits, no parity, no flow control Response <S> Format <RB> Get the current configuration information of WIZ127SR’s serial interface. Its response format is like below. Meaning <S[baud rate][data size][parity][flow control]> ex) <RB>...
Page 18
Set Server’s IP address to connect when the data socket is defined as Client mode or Mixed mode. If user defined the data socket as a Server mode, WIZ127SR don’t care this Server’s IP address. Meaning [IP Addr] : Server’s IP address in a dotted decimal format ex) <WX192.168.11.144>...
Page 19
<S5000> Format <WR> Restart WIZ127SR Some commands need reboot of WIZ127SR in order that those command affect to WIZ127SR’s configuration to operate properly. Meaning So, we recommend you do use this command after all command you issued, to guarantee WIZ127SR operate successfully.
Page 20
In normal, a serial device send data in chunk. Some device never expects those data chunk would be divided more than two pieces. But WIZ127SR handle data from serial interface byte by byte, in other word WIZ127SR check its serial buffer having data from serial interface and there are some data in that buffer, then it make a ethernet packet with those data and send that.
Page 21
<OT100> Response <S> Format <QT> Get the current time delimiter value Its response format is like below. <S[time]> Meaning [time] : Server’s IP address in a dotted decimal format ex) <QT> Response <S100> Format <OI[time]> WIZ127SR User’s Manual...
Page 22
WIZ127SR itself doesn’t disconnect a TCP connection after a connection established. Normally the peer system do that. But, there are many cases that users’ system including WIZ127SR should close a established connection after a short data communication and any peer system of WIZ127SR doesn’t have those capabilities.
3.2.4. How to configure WIZ127SR with a whole data As User wants to configure WIZ127SR in one time operation, he can do it using handling the Hardware trigger pin. If you supply the power or reset the module with asserting low on pin 12 of JP1, you can...
Local Port number (Module's Port Number) 00000000 (4) Server IP address 0000 (2) Server Port number Serial Baud Rate (bps). Default is FE Value(Hex) Baud Rate(bps) 230,400 115,200 57,600 38,400 19,200 9,600 4,800 2,400 1,200 FE (1) WIZ127SR User’s Manual...
STEP 1. Supply the power into the module by asserting low pin 12 pin of JP1. STEP 2. Check if the reply message (‘;’) is displayed to notify whether WIZ127SR entered into Hardware Configuration. If module is set as ‘Debug mode’, the message is displayed after showing its model name and version.
The meaning of its signal value is the same to STATUS1. 3.4. How to use extra GPIO Pins WIZ127SR has extra GPIO pins using to control other devices or get control from other devices. But, with firmware version 0.9, WIZ127SR doesn’t support this function yet.
How to configure WIZ127SR 4.1. Configuring with UDP broadcasting and WIZ127SR Configuration Tool 4.1.1. Network Configurations Figure 5. Configuration Tool (Network Configuration) 1) Search The Search function is used to search for all existing modules on the same LAN. By using UDP broadcast, it finds all modules on the same subnet, and the founded device will be listed in the “Serial to Ethernet”...
Page 29
If you click the “Search” button, all the MAC addresses on the same subnet will be displayed. 7) Device network settings Static: “Using the follow IP Address” is an option for setting WIZ127SR module’s IP with static IP address.. Select a MAC address which you want to set as static IP in the “Search Window”.
Page 30
It displays the firmware version. 9) Enable Serial Debug Mode If this mode is enabled, you can monitor the status and socket messages of WIZ127SR through the serial terminal (listen OK, connect fail and etc.). In this mode, debug messages can cause abnormal operation of the serial device.
At the TCP server mode, WIZ127SR operates as server on the process of connection, and waits for the connection trial from the client. WIZ127SR operates as client at the TCP Client mode on the process of connection, and tries to connect to the server’s IP and Port. Mixed...
Page 32
(where WIZ127SR is installed) in order to check the status or provide the commands. In normal time WIZ127SR is on the waiting status, and if there is any connection request (SYN) from the monitoring center, the connection is established (ESTABLISH), and data communication is processed (Data Transaction).
Page 33
This field is for specifying time value to judge whether one frame is received totally. If the time specified in this field is expired after receiving one byte, then WIZ127SR notice one data frame WIZ127SR User’s Manual...
Page 34
Ethernet packet with all data in its serial buffer and send it to the peer system via Ethernet. If WIZ127SR receives another byte from UART before the specified time is expired, it restart timer and add the received one to the end of serial data buffer. (‘0’: Function Disable) ...
The password that is used for web configuration and telnet is displayed in this area. The shown password is encrypted by MD5. If you want to change the password, double-click the text-box and then type your password in ASCII codes. WIZ127SR User’s Manual...
Page 36
NTP Server IP: This field is to set the NTP server IP address. Device Time: This field is to shown the current time of WIZ127SR. Time Zone: This field is to set the time zone of your country.
Open the web browser and input the IP address of the module. The first page will request the user password as shown in below figure. If you input the password (the default value is WIZ127SR), the configuration page will be displayed. You can set the configuration parameters of network and serial.
You can configure the WIZ127SR by using Telnet Client(*) program. If you connect to the WIZ127SR, you can see the message of requesting user password. Input the user password (Default P/W : WIZ127SR). You can see the message “Press ‘Q’ to enter the main console menu”.
Page 39
(*) You can use the Telnet client program which is provided by Windows OS. At the Windows XP, you can use the Telnet client program without additional setting. However at the Windows Vista or above version, you must enable the Telnet Client program first. For the detail, refer to the site http://goo.gl/Plhyu. WIZ127SR User’s Manual...
4.4. Factory Default Values of WIZ127SR Category Item Value Debug Message Enable 1 (Enable) DHCP Enable 0 (Disable) Local IP 192.168.11.100 Gateway IP 192.168.11.1 Subnet mask 255.255.255.0 Common DNS Server IP 8.8.8.8 Password WIZ127SR Device Name WIZ127SR NTP Enable 0 (Disable) NTP Server IP 128.138.140.44...
Page 41
Stop Bit Flow Control NONE DNS Enable 0 (Disable) Domain Nagle Time 0 (ms) Inactivity Time 10 (seconds) Reconnection Time 1000 (ms) WIZ127SR User’s Manual...
Buffer is free Check Buffer Set RTS to Set RTS to HIGH 8 bits Data 8 bits Data 8 bits Data 9 bits Data 9 bits Data 9 bits Data Figure 9. RTS signal Timing Diagram under CTS/RTS mode WIZ127SR User’s Manual...
Initialize Successful Initialize? Set DSR to Set DSR to HIGH 8 bits Data 8 bits Data 8 bits Data 9 bits Data 9 bits Data 9 bits Data Figure 11. DSR signal Timing Diagram under DSR/DTR mode WIZ127SR User’s Manual...
Is there any data to send? 8 bits Data 8 bits Data 8 bits Data Set RTS to HIGH 9 bits Data 9 bits Data 9 bits Data Figure 12. RTS signal Timing Diagram under RTS only mode WIZ127SR User’s Manual...
Before uploading the firmware through Ethernet, you should set the network information of WIZ127SR first, by Configuration Tool program as shown above in Figure 4. By using Ping test, you can check whether your network is configured correctly or not.
Page 46
Figure 14. Open dialog box for uploading ☞ Do not upload any other files except for WIZ127SR application firmware file. WIZ127SR User’s Manual...
Page 47
The progress bar will be displayed as below. Figure 15. Firmware uploading window When uploading is completed, a message box with “Firmware download over” will be displayed as shown in Figure 7. Figure 16. Complete Uploading WIZ127SR User’s Manual...
6.2. Testing Procedure 6.2.1. Hardware Connection ① Connect the PC and WIZ127SR base board (in which the module is plugged) with serial cable ② Connect the PC and WIZ127SR base board by using Ethernet cable. ③ Supply the power to the test board.
Page 49
PC should be in the same network. Therefore, the IP address of the PC should be 192.168.11.xxx with the subnet 255.255.255.0. ③ Execute the configuration tool program and search the module. Set the all parameters as indicated in WIZ127SR User’s Manual...
Page 51
④ Check the COM port status of the PC and open the serial terminal. ⑤ Check the IP Address and port of WIZ127SR and connect to WIZ127SR. WIZ127SR User’s Manual...
Page 52
⑥ If you input some characters at the windows of serial, you can see they are displayed in the TCP window. ⑦ Vice versa, type some characters in the windows of TCP Client, you can see the characters are displayed in the serial Windows. WIZ127SR User’s Manual...
WIZnet warrants our products and its parts against defects in materials and workmanship under normal use for period of standard ONE(1) YEAR for the WIZ127SR board and labor warranty after the date of original retail purchase. During this period, WIZnet will repair or replace a defective products or part free of charge.