Page 2
WIZnet‟s Online Technical Support you have any questions or comments about WIZnet products, you are welcome to write down your questions Q&A Board WIZnet website ). WIZnet will reply to you as soon as http://www.wiznet.co.kr/rg4_board/list.php?bbs_code=en_qna possible. WIZ120SR User‟s Manual...
Page 3
COPYRIGHT NOTICE Copyright 2009 WIZnet, Inc. All Rights Reserved. Technical Support: support@wiznet.co.kr Sales & Distribution: sales@wiznet.co.kr For more information, visit our website at http://www.wiznet.co.kr WIZ120SR User‟s Manual...
Port Setting ....................... 9 Firmware Upload ..................13 Serial Configurations .................. 15 4-1. Serial Command Format ................ 15 4-2. WIZ120SR Configuration with Serial Command ..........18 PIN Assignment and Dimension ..............20 Demonstration and Test ................22 Document Revision History ................. 26...
Page 5
Figures 1. WIZ120SR T ................4 IGURE OARD 2. C ) ............ 5 IGURE ONFIGURATION ETWORK ONFIGURATION 3. PPP ............. 7 IGURE ONNECTION ROCESS IN ERIAL ONSOLE 4. C ) ............9 IGURE ONFIGURATION ERIAL ONFIGURATION 5. B ................13...
Page 6
EPLY 7. S – C ..............17 ABLE ERIAL OMMAND OMMAND 8. S ..............19 ABLE ERIAL OMMAND ESTING ROCEDURE 9. S ..............19 ABLE ERIAL OMMAND ONSOLE ISPLAY 10. WIZ120SR PIN A ................ 20 ABLE SSIGNMENT WIZ120SR 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 equipments with RS-232 serial interface. In other words, WIZ120SR is a protocol converter that transmits the data sent by serial equipment as TCP/IP data type or vice versa.
1.3.2. WIZ120SR Test Board WIZ120SR Module Port Status LED Power Switch Reset Switch Power LED Power Adapter RJ45 Connector Reserved (not mounted) Select Boot Port 1 Port 2 RS232 Connector RS232 Connector Figure 1. WIZ120SR Test Board WIZ120SR User‟s Manual (WIZnet, Inc.)
① Version : Displays the firmware version. ② Enable Serial Debug Mode : If this mode is enabled, you can monitor the status and socket messages of WIZ120SR (listen OK, connect fail etc.) through the serial terminal. In this mode, WIZ120SR User‟s Manual (WIZnet, Inc.)
Page 12
If the module could not acquire the network information from the DHCP server, the IP address, the Gateway Address and the Subnet mask will be initialized as 0.0.0.0. - PPPoE : WIZ120SR support PPPoE for ADSL users. When you select PPPoE in “IP Configuration Method”, the PPPoE ID and the Password box is enabled.
Page 13
Password which are provided by your ISP company. ⑧ Direct IP Search Direct IP Search can be used for searching for WIZ120SR which is not in the same subnet. If the Direct IP search is checked, the configuration tool uses the TCP instead of UDP broadcast to search for module.
Page 14
⑤ To verify your settings, please click „Search‟ button and view your new settings ⑪ Upload Firmware will be uploaded through your network. The Procedure of Firmware upload is explained details in “Chapter 3. Firmware Upload” ⑫ Exit : Close the configuration tool program window. WIZ120SR User‟s Manual (WIZnet, Inc.)
This function is useful when you have two or more systems which are connected to the WZ120SR module. When one system is connected to the WIZ120SR, other systems cannot connect to the module simultaneously. If you defined a time in the Inactivity time, the other...
Page 16
On the other hand, UDP sends out data without a connection establishment. TCP Server mode means WIZ120SR operates as a server. WIZ120SR waits for a connection from the peer to a specified port number.
Page 17
WIZ120S or vice versa. <TCP client mode> When TCP client mode is set in WIZ120SR, it attempts to establish a connection to the server. To operate this mode, Local IP, Subnet, Gateway Address, Peer IP, and Peer port number should be set.
Page 18
When your module is set as “Client mode” or “Mixed mode” or “UDP mode”, peer IP and port should be set in order for WIZ120SR to connect to the server (or peer). - Use DNS : If your application needs the DNS function, click the select button and input the domain name and the DNS Server IP address.
☞ Before uploading the firmware through Ethernet, you should set the network information of WIZ120SR first, by Configuration Tool program as shown above in Figure 5. By using Ping test, you can check whether your network is configured correctly or not.
Figure 6. Open dialog box for uploading ☞ Do not upload any other files except for WIZ120SR application firmware file. ⑤ A dialogue box titled “Processing” will be displayed as below. Figure 7. Firmware uploading window ⑥ When uploading is completed, a message box with “Complete Uploading” will be displayed as shown in Figure 8.
4. Serial Configurations 4-1. Serial Command Format Serial Command is used to set the WIZ120SR parameters via serial interface. Please refer to the screenshot under section 2.2.2. When specific letters (three characters) are entered, WIZ120SR operates serial configuration mode. User can set any Special Character with the Configuration Tool, and this function support UART 0 only.
Page 22
Set the peer port number for UART1 Set the delimiter character in hex for UART1 0~255 Set the delimiter size for UART1 0~65535 Set the delimiter time for UART1 0~65535 Set the Inactivity timer value for UART1 WIZ120SR User‟s Manual (WIZnet, Inc.)
Get the delimiter character in hex for UART1 0~255 Get the delimiter size for UART1 0~65535 Get the delimiter time for UART1 0~65535 Get the Inactivity timer value for UART1 Table 7. Serial Command – Command Code WIZ120SR User‟s Manual (WIZnet, Inc.)
4-2. WIZ120SR Configuration with Serial Command Figure 9. Serial Configuration Enable Setting ① Please check the versions of your WIZ120SR firmware and configuration tool. If any version is not the same the latest one, then you should download the latest one from our webpage http://www.wiznet.co.kr.
1) All signal levels are 3.3V LVTTL. 2) A high signal must be applied for 1.2usec in order for proper operation. 3) The status pin „Connected‟ indicates the TCP socket of WIZ120SR is connected to remote system. 4) /LINK_LED pin is used to check if Ethernet cable is physically connected or not.
③ If your changes are successfully applied, the “Complete setting” message will be displayed. STEP3. (Data Transmission) ① Run terminal emulator program (e.g. HyperTerminal) on the PC. ② Set the same baud rate as specified in WIZ120SR (i.e. the value in the configuration tool) WIZ120SR User‟s Manual (WIZnet, Inc.)
Figure 13. Network Terminal Program Configuration ④ Type some characters on the serial HyperTerminal screen. In this example, “01234567890” is entered. ⑤ Make sure the characters you have entered are shown on the Network HyperTerminal window. (i.e. Serial to Ethernet) WIZ120SR User‟s Manual (WIZnet, Inc.)
Figure 14. Received Data by Network Terminal Program ⑥ Vice Versa, type some characters on the network HyperTerminal, and then make sure the characters you have typed are shown in the serial HyperTerminal window. (i.e. Ethernet to Serial) WIZ120SR User‟s Manual (WIZnet, Inc.)
Figure 15. Device Terminal Program Device Terminal is a program which has both serial and network terminals integrated for efficient testing of WIZnet gateway modules. As shown in Figure 15, at the upper part of the program is for you to configure the serial settings.
Need help?
Do you have a question about the WIZ120SR and is the answer not in the manual?
Questions and answers