Page 2
WIZnet‟s Online Technical Support If you have something to ask about WIZnet products, write down your question on Q&A Board in WIZnet website (www.wiznet.co.kr). WIZnet will give an answer as soon as possible. Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Page 3
COPYRIGHT NOTICE Copyright 2008 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 Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Configuration Tool ................14 2.2. Firmware Upload ..................24 Serial Configuration ..................26 Serial Command Format ..............26 4.1. WIZ100SR Configuration with Serial Command ........29 4.2. Hardware Configuration ................31 Frame Format ................31 5.1. Hardware Configuration Examples ............33 5.2.
Page 5
24. N ..............39 IGURE ETWORK ERMINAL ROGRAM CONFIGURATION 25. R ............39 IGURE ECEIVED ATA BY ETWORK ERMINAL ROGRAM 26. D ....................40 IGURE EVICE ERMINAL ROGRAM 27. S ..........................41 IGURE CHEMATIC Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Page 6
13. H ............32 ABLE ARDWARE ONFIGURATION ARAMETER DESCRIPTIONS 14. H ............... 32 ABLE ARDWARE ONFIGURATION NTRANCE ESSAGE 15. WIZ100SR PIN F ....................35 ABLE UNCTIONS 16. WIZ100SR B ....................35 ABLE OARD IMENSION Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
TCP/IP by connecting to the existing equipment with RS-232 serial interface. In other words, WIZ100SR is a protocol converter that transmits the data sent by serial equipment as TCP/IP data type and converts back the TCP/IP data received through the network into serial data to transmit back to the equipment 1.1.
10_LED Link_LED Figure 1. WIZ100SR Test Board ☞ NOTE : Be careful of setting Mode Switch. If Mode Swich is set as Config mode, the network function is not normally operated. For the function test, set it as Normal mode.
1.3.2.1. Serial Interface Figure 2. Serial Pin Assignment of WIZ100SR Test Board Pin Number Signal Description Not Connected Receive Data Transmit Data Data Terminal Ready Ground Data Set Ready Request To Send Clear To Send Not Connected Table 3. Serial Pin Description RxD, TxD, GND : These are all you need if the device does not use hardware handshaking.
Page 12
1.3.2.2. LED Power LED: displays power stauts of WIZ100SR Link LED: indicates network link is established 10 LED: indicates network speed is 10Mbps 100 LED: indicates network speed is 100Mbps Collision LED: indicates a packet transmitted from the Ethernet controller to the network has collied with antother packet Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Connect the RJ-45 connector of WIZ100SR test board to the Ethernet hub or LAN port of PC. STEP3: Connect the DB9 jack of WIZ100SR and serial device with RS-232 serial line. STEP4: Connect the 5V (500mA) DC power adaptor to the WIZ100SR test board.
ⓓ IP Configuration Method: Select IP setting mode, you can select one of Static, DHCP, PPPoE mode. - Static: “Static” is option for setting WIZ100SR IP with static IP address. Firstly, select MAC Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Page 15
If module could not acquire network information from DHCP server, IP address, Gateway Address and Subnet mask will be initialized to 0.0.0.0. - PPPoE : WIZ100SR supports PPPoE for ADSL user. When you select PPPoE at the “IP Configuration Method”, PPPoE ID & Password box is enabled.
Page 16
ⓗ PPPoE ID/Password : If you select „PPPoE‟ mode, input ID/Password which you received from ISP company. ⓘ Server IP/Port : When WIZ100SR is set as “Client mode” or Mixed mode”, server IP and port should be set. WIZ100SR attempts to connect this IP address.
Page 17
<TCP client mode Communication> Figure 7. TCP Client mode If WIZ100SR is set as TCP Client, it tries to establish connection to the server. To operate this mode, Local IP, Subnet, Gateway Address, Server IP, and Server port number should be set. If server IP had domain name, use DNS function.
Page 18
As like TCP Server mode, the Mixed mode is useful for the case that the monitoring center tries to connect to the serial device (in which WIZ100SR is used) to check device status. In addition to this, if any emergency occurs in the serial device, the module will change to Client mode to establish the connection to the server and deliver the emergency status of the device.
Page 19
⑤ To check configuration result, click „Search‟ button. ⓟ Upload Firmware will be uploaded through network ☞ After uploading the firmware, 20~30 seconds are required for initialization. ⓠ Exit : Close the configuration tool program. Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
ⓡ Serial Serial Configuration value of selected module is displayed. In order to change the serial configuration of WIZ100SR, this menu can be used. ☞ By clicking the “Setting” button, changed value can be applied. Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
In order to close the connection, the „Close‟ command should be given. This function can be used for more than two or more systems to connect to a WIZ100SR module. If one system holds the connection to the WIZ100SR, other systems can not connect to the module.
Page 22
You can designate how the serial data can be packed to send to the Ethernet. In default mode, WIZ100SR checks the serial buffer and sends any received data to Ethernet without any standard. Therefore, the data can be regarded as error data due to inconsistent data lenth.
This function is for module configuration not through network with Configuration tool but through serial communication. When you want to set via serial communication, check “enable”. Please detail about serial configuration refers to “4. Serial Configuration”. Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
① Select a module shown in “Board list”, and click “Upload” button. ☞ Before uploading through Ethernet, you should set the network information of WIZ100SR first by Configuration Tool program as shown abovr Fig 10. By using Ping test, you can check if network is correctly configured.
Figure 13. Open dialog box for uploading ☞ Do not upload any other files except for WIZ100SR application firmware file. ③ A dialogue box titled “Processing” will be displayed as below. Figure 14. Firmware uploading window ④ When uploading is complete, a message box with “Complete Uploading” will be displayed as shown in Figure 14.
4. Serial Configuration 4.1. Serial Command Format It is possible to configure WIZ100SR 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 27
0~65535 Set Inactivity timer value MAC Address Get MAC Address 0 : Not Use, 1 : Use DNS Use or Not IP address DNS IP Check Domain Domain Check PPPoE ID PPPoE ID Check Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Get the server IP address 0~65535 Get the server port number Get delimiter character in hex 0~255 Get delimiter size 0~65535 Get delimiter time 0~65535 Get Inactivity timer value Table 8. Serial Configuration Command Code Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
4.2. WIZ100SR Configuration with Serial Command Figure 16. Serial Configuration Enable Setting ① Check WIZ100SR Firmware Version. If Version is lower, download the latest firmware from download page of http://www.wiznet.co.kr ② At the default status, the serial configuration is disabled. So, click „enable‟ check box of serial configuration and click „setting‟...
STEP 3. Check „<S‟ message is displayed. After displaying this message, CR(0x0D) & LF(0x0A) are displayed together. STEP 4. After completing the change, check if changed value is appropriated saved by using READ command. Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
6. PIN Assignment and Dimenstion Figure 18. WIZ100SR Pin Assignment PIN NAME Functions RESET Reset (Active High) Input RS-232 Data Output Output RS-232 Request To Send Output Optional RS-232 Data Terminal Ready Output Optional RS-232 Data Input Input RS-232 Clear To Send...
Page 35
2) A high on RESET pin about minimum 1.2 usec must be applied for proper operation. 3) „Connected‟ of Status pin means the TCP socket of WIZ100SR is connected to remote system. 4) /LINK_LED pin is used to check if Ethernet cable is physically connected or not.
7. Demonstration and Test In this chapter, we give an example that can be used to test the function of WIZ100SR. The testing environment is as follows; <Hardware> PC having RS-232 serial port WIZ100SR & WIZ100SR Test Board (The test board for WIZ100SR should be Rev ...
(If it is set as Config mode, the network is disabled, and Configuration Tool can not be used) ② Connect the PC and WIZ100SR Test board by using serial cable. ③ Connect the PC and WIZ100SR Test board by using Ethernet cable.
Figure 22. Result Window after Running “Setting” STEP3. (Data Transmission) ① Run terminal emulator program (e.g. Hyper terminal) on Test PC. ② Set the baud rate as the same value of WIZ100SR Figure 23. Serial Terminal Program configuration Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
⑤ Make sure this data is shown on the Network Hyper terminal window. (Serial to Ethernet) Figure 25. Received Data by Network Terminal Program ⑥ As the same way, type some charaters on the network Hyper terminal, and then make Hardwired Internet Connectivity Wizard (WIZnet, Inc.)
Client and TCP Server modes. If Server Mode is checked, Device Terminal will operate as server mode, and the WIZ100SR module will work as client mode. The PC where the Device Terminal is operating will work as a server, the IP address of the PC should be set as Server IP of the module.