Sei sulla pagina 1di 31

W 10SR WIZ11 R Users Manua al

(Ve ersion 2. .1.0)

200 08 WIZnet C Co., Ltd. All Rights Res served. Fo or more info ormation, vis sit our webs site at http://www.wizne et.co.kr

WIZnets s Onlin ne Technical l Supp ort


If yo ou have som mething to ask about WIZnet pro oducts, wri ite down y your questio on on Q&A Board in WIZnet W webs site (www.w wiznet.co.k kr). WIZnet will give an n answer as s soon as po ossible.

CLICK

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 2 page

CO OPYRIGHT NOTIC N CE
Copyright 2008 WIZnet Co., Ltd. All Right ts Reserved. Tec chnical Suppo ort: support@ @wiznet.co.kr r Sal les & Distribu ution: sales@ @wiznet.co.kr

For r more inform mation, visit ou ur website at http://www.w wiznet.co.kr

ght WIZnet t All Rights Reserved R Copyrig

W IZ110SR | 3 page

Table e of Contents
1. ............................................. .................... 6 INTRODUCTION.......................... 1.1. 1.2 2. 1.3 3. 2. KEY FEATU URES ......................... ............................................. .................... 6 SPECIFICAT ATION ......................... ............................................. .................... 6 PRODUCTS S CONTENTS ................. ............................................. .................... 7

W WIZ110SR BO OARD ....................... ............................................. .................... 8 2.1. 2.2 2. BLOCK DIA AGRAM ....................... ............................................. .................... 8 CONFIGUR RATION TOOL ................. ............................................. .................... 9

3. 4.

F FIRMWARE UPLOAD U .................... ............................................. ...................19 S SERIAL CONF FIGURATION ............... ............................................. ...................21 4.1. 4.2 2. SERIAL COMMAND O FORMA AT ............. ............................................. ................... 21 WIZ110S SR CONFIGURAT TION WITH SERI IAL COMMAND ............................... ................... 24

5.

D DEMONSTRAT ATION AND TEST .......... ............................................. ...................26 5.1. 5.2 2. HARDWAR RE INTERFACE ................. ............................................. ................... 26 TESTING SERIAL TO ETHE ERNET FUNCTIO ON .......................................... ................... 26

6.

W WIZ110SR HA ARDWARE SPECIFICATIO ON .......................................... ...................28 6.1. 6.2 2. 6.3 3. PARAMETE ERS ........................... ............................................. ................... 28 SPECIFICAT ATION ......................... ............................................. ................... 28 BOARD DIMENSIONS AND PIN ASSIGNMEN NT .......................................... ................... 28

7.

W WARRANTY............................... ............................................. ...................30

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 4 page

F FIGURES S
Figure 1. Block Diagram .......... ............................................. .................... 8 Figure 2. etwork Config)........................... 2 Configuration Tool (Ne .................... 9 Figure 3. 3 PPPoE Connection Pro ocess in Serial Console ................ ................... 10 Figure 4. 4 TCP Serve er mode ...... ............................................. ................... 11 Figure 5. 5 TCP Client t mode ....... ............................................. ................... 12 Figure 6. 6 UDP mode e .............. ............................................. ................... 13 Figure 7. 7 Configuration Tool (Ser rial Config.) ............................... ................... 15 Figure 8. 8 Configuration Tool (Opt tion Config.) .............................. ................... 16 Figure 9. 9 Option Mod de for Passw word Configuration ...................... ................... 18 Figure 10. Board Search Window w ........................................... ................... 19 Figure 11. Open dialog box for up ploading .................................. ................... 20 Figure 12. Firmware uploading w window .................................... ................... 20 Figure 13. Complete e Uploading.. ............................................. ................... 20 Figure 14. WIZ110SR R Interface .. ............................................. ................... 26 Figure 15. Device Te erminal ....... ............................................. ................... 27 Figure 16. WIZ110SR R Dimension . ............................................. ................... 28 Figure 17. RJ-45 PIN N Assignmen nt ........................................... ................... 29

Tables
Table 1. Specification n.............. ............................................. .................... 7 Table 2. Products Co ontents....... ............................................. .................... 7 Table 3. Serial Config guration Fra me Format ............................... ................... 21 Table 4. Serial Config guration Rep ply Frame Fo ormat ....................... ................... 21 Table 5. Serial Config guration STX X & ETX .................................. ................... 21 Table 6. Serial Config guration Rep ply Code .................................. ................... 21 Table 7. Serial Config guration Com mmand Code e ............................ ................... 23 Table 8. Serial Config guration Tes ting Process s ............................. ................... 25 Table 9. Testing Environment of W WIZ110SR ............................... ................... 26 Table 10 nt .......................................... 0. RS-232 PIN Assignmen ................... 29

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 5 page

1. I Introduc ction
WIZ110SR is a gateway modu ule that conv verts RS-232 protocol int to TCP/IP pr rotocol. It en nables remo ote gauging, managing an nd control of f a device th hrough the ne etwork based d on Etherne et and TCP/IP by connec cting to the existing equ ipment with h RS-232 serial interface. . In other words, w WIZ110SR is a protocol conve erter that tr ransmits the data sent by b serial equ uipment as TCP/IP T data type and converts back the TCP/IP d data receive ed through th he network i into serial data to transmit back to the equipme ent.

1.1.
-

Key y Features s
Direct Co onnection to o the Serial D Device Adding Network Function Sim mply and Qui ickly iding Firmwa are Customiz zation Provi

System Stability S and Reliability b by using W5100 Hardware e Chip Supports s PPPoE Conn nection Supports s Serial Confi iguration w with Simple and a Easy com mmand Supports s Password fo or the Securi ity Configura ation Tool Pr rogram 10/100 Ethernet E Inte erface and m max 230Kbps Serial Interf face RoHS Com mpliant

1.2.

Spe ecification
IT TEM M MCU TC CP/IP Pro otocol Network k Interface Serial Interface Serial Signal Descrip ption 8051 com mpliant (hav ving internal 62K Flash, 16K 1 SRAM, 2 2K EEPROM M) W5100 (Ethernet MAC C & PHY Emb bedded) TCP P, UDP, IP, ARP, A ICMP, MAC, M DHCP, PPPoE, DNS 1 10/100 Mbps s(Auto detection), RJ-45 Connector RS232( (DB9) TXD, RXD, RTS S, CTS, GND D Parity P : None, Even, Odd Serial Parameters Data Bits : 7,8 Flow Contr rol : None, RTS/CTS, XO ON/XOFF Speed S : up to o 230Kbps

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 6 page

Input Voltage Power Co onsumption Temp perature Hum midity Table e 1. Specific cation

DC 5V 5 Under 180mA 0 C ~ 80C (Operation), -40 - C ~ 85C (Storage) 10 ~ 90% 9

1.3.

Products Con ntents

d WIZ110SR Board

LAN Ca able (Optiona al)

5V Power Adaptor A (Opt tional)

Table 2. . Products Contents C If there is an ny missing item, contact to the shop where w you purchased. The optiona al items shou uld be purcha ased separat tely.

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 7 page

2. W WIZ110S SR Board d
2.1. Bloc ck Diagram

Figure e 1. Block Diagram WIZ110SR is a pro otocol conve erter that tra ansmits the data d sent by y serial equip pment to Eth hernet and c converts bac ck the TCP/IP data recei ived through h the networ rk into serial l data to tra ansmit back to the equi ipment. Whe en the data is received from serial port, it is s sent to W5100 by MCU. If any data is transmitt ted from Eth hernet, it is received to the internal buffer of W5100, W and s sent to the serial port by b MCU. MC CU in the mo odule contro ols the data according to t the configuration value that user defined.

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 8 page

2.2.
2 2.2.1.

Con nfiguration n Tool


Netw work Configuration

Figure e 2. Configur ration Tool (Network Config) C

Ve ersion : Disp plays firmware version.


You can use PPP PoE, Serial Co ommand, Pa assword function from fir rmware Ver.2 2.5.

Enable Serial Debug Mo ode : If this s mode is ch hecked, you can monito or the statu us and
et message of o WIZ110SR R (listen OK, connect fai il etc.) through serial te erminal. If Debug D socke mode e is on, debug message can cause a abnormal op peration of the serial d evice. There efore, just u use this mode only for De ebug mode.

Bo oard List : If f you click Search but tton, all the MAC addresses on a sam me subnet, will w be
d displayed.

ght WIZnet t All Rights Reserved R Copyrig

W WIZ110SR | 9 page

IP P Configurat tion Method d: Select IP setting mode, you can n select amo ong Static, DHCP,
PPPoE E mode. Static c: Static is i the option n for setting g WIZ110SR with static IP address. First select t MAC addre ess that you u want to set it as sta atic IP in b board list. Then, T the Local IP, Su ubnet, Gatew way boxes are a enabled. Input Static c IP address and click setting butt ton. Then IP is set as you want. (PPP PoE ID, Passw word box wil ll be disabled d) DHCP P: Set this option o to use e DHCP mode e. First, chec ck DHCP an nd click Set tting button n. If IP addre ess is succes ssfully acquired from DH HCP server, the t MAC add dress will be e displayed on o the board d list. (It tak kes some time to acquire e IP address from f DHCP server) When n a module on the boa ard list is se elected, IP address, Subnet mask a and Gatewa ay are displa ayed. If mod dule could not n acquire network inf formation fr rom DHCP se erver, IP address, Gatew way Address and Subnet mask will be e initialized to 0.0.0.0. PPPo oE : WIZ110S SR supports PPPoE for A ADSL user. Wh hen you sele ect PPPoE in IP Configuration Metho od PPPoE ID D and Passwo ord box will be enabled. 1. To set PPPoE, connect PC to WIZ110SR R directly an nd execute Configuration C n Tool progra am on PC. (C Configuratio on Tool versio on should be e 2.1 or abov ve) 2. Select PPPoE of the IP Configuration C n Method ta ab and input ID & Passwo ord. 3. Cli ick setting button to apply. a 4. Co onnect Modul le to ADSL Line. s 5. If Enable Serial Debug Mo ode is select ted, you can n see PPPoE access a status via Se erial console e.

Figure 3. PPPoE P Conn nection Proc cess in Seri ial Console

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 10 0 page

L Local IP/Port t : WIZ110SRs IP address s and Port nu umber for ne etwork conne ection
Be e sure to inp put correct network inf formation. If I you input t incorrect IP address, it can
cause e network collision c or mal-function m n.

Su ubnet : WIZ1 110SRs subnet mask Ga ateway : WIZ110SRs Gateway addre ess PPPoE ID/Pas ssword : If you y select P PPPoE mode e, input ID/Password wh hich you rec ceived
y. from ISP company

Se erver IP/Por rt : When WIZ110SR W is s set as Clien nt mode or r Mixed mod de, server IP and
port s should be se et. WIZ110SR R attempts to o connect this IP address s.

N Network mod de :
client t/server/mix xed : This is s to select th he communication meth hod based o on TCP. TCP is the proto ocol to estab blish the con nnection bef fore data com mmunication n, but UDP jjust processe es the data communicat tion without t connection n establishme ent. The Network mo ode of WIZ110SR can be divided into TCP Server, TCP C Client and Mixed mode e according to the conn nection estab blishing met thod. At the TCP server mode, WIZ1 110SR opera ates as serve er on the pr rocess of con nnection, an nd waits for the connect tion trial from the client t. WIZ110SR R operates as a client at t the TCP Clie ent mode on the proce ess of conne ection, and t tries to conn nect to the servers IP a and Port. Mi ixed modes supports bo oth of Serve er and Client. The comm munication process p of ea ach mode is as below.

<TCP P server mode>

Figure 4 4. TCP Serv ver mode

At the TCP Server r mode, WIZ110SR waits for the conn nection requ uests. ght WIZnet t All Rights Reserved R Copyrig WI IZ110SR | 11 1 page

Server mode e can be use eful when th he monitorin ng center tr ries to conne ect to the device d TCP S (where WIZ110SR R is installe ed) in order to check the t status or o provide th he commands. In norm mal time WIZ110SR is on the waiting status, and if there is any connect tion request (SYN) from the monitoring cen nter, the connection c is establis shed(ESTABL LISH), and data (FIN). comm munication is s processed (Data ( Transa action). Final lly connectio on is closed ( In or rder to oper rate this mo ode, Local IP P, Subnet, Gateway G Add dress and Lo ocal Port Nu umber shoul ld be configu ured first. As illu ustrated in the t above fig gure, data tr ransmission proceeds p as follows, 1. Th he host conne ects to the WIZ110SR W wh hich is config gured as TCP Server mod e. 2. As the connect tion is established, data can be transmitted in both directio ns from the e host to the e WIZ110SR, and from th he WIZ110SR R to the host

TCP client mode> m <T

Figure 5. TCP Clien nt mode

If WIZ Z110SR is set t as TCP Clie ent, it tries t to establish connection c to t the server r. To op perate this mode, m Local IP, Subnet, Gateway Ad ddress, Serve er IP, and Se erver port nu umber shoul ld be set. If server s IP had d domain na me, use DNS S function. In TC CP Client mo ode, WIZ110 0SR can activ vely establis sh a TCP connection to a host com mputer when n power is su upplied. As illu ustrated in the t above fig gure, data tr ransmission proceeds p as follows: 1. As power is su upplied, WIZ110SR board d operating as a TCP client mode activ vely establis shes a conne ection to the e server. 2. If t the connecti ion is comple ete, data ca an be transmitted in both h directions from the host h to the W WIZ110SR and d from WIZ110SR to the host

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 12 2 page

<Mix xed mode> In thi is mode, WIZ Z110SR norm mally operate es as TCP Server and wai its for the co onnection re equest from the peer. Ho owever, if WIZ110SR W rece eives data fr rom the seria al device bef fore connect tion is estab blished, it ch hanges to the client mod de and sends the data to the server r IP. Therefo ore, at the m mixed mode, the server mode m is oper rated prior to t the client mode. As lik ke TCP Serve er mode, the Mixed mo ode is useful for the case that the m monitoring center c tries to connect to the seria al device (in n which WIZ1 110SR is use ed) to check k device stat tus. In addit tion to this, if any eme ergency occu urs in the serial device, the modu le will chan nge to to the server and deliver the emerge Client mode to es stablish the connection t ency status of the devic ce. .

U Use UDP mo ode

Figu ure 6. UDP mode m

At th he UDP mode e, the conne ection estab blishment is not defined. Just set th he IP addres ss and port number of th he peer and send the da ata.

Us se DNS : If DNS D function n is needed, check this option o and in nput the dom main name of o DNS
serve er. DNS(Doma ain Name Sys stem) is the database sy ystem having g information n about IP ad ddress and c correspondin ng domain na ame. When c connecting to o domain name, you can n use DNS fun nction of WIZ110SR. Inp put IP addre ess of DNS s server provid ded by ISP in DNS Serve er IP, and do omain name e in the Serv ver (Domain) If ser rver has dyna amic IP addr ress, but dom main name, if you use DNS D function, , you do not t need to co onfigure server IP address s whenever i its changed. .

D Direct IP Search
Direc ct IP Search can c be used for searchin g WIZ110SR not installed d in the same e subnet. If the e Direct IP se earch is chec cked, the con nfiguration tool t use the TCP instead UDP broadc cast to ght WIZnet t All Rights Reserved R Copyrig WI IZ110SR | 13 3 page

ch modules. Therefore, network inf formation of f the module such as IP P address, subnet s searc mask k and gatewa ay is required d for the sea arch. If you u check Dire ect IP search h, the field i n which IP address a is input, will be activated. In I this field, , input IP add dress of the module, and d click Sear rch button.

If module doe es not have valid netw work informa ation, Direct IP search is not avail lable.
Check k if module e is connecte ed to the N NAT or priva ate network k. If so, it is s not possib ble to conne ect to the module m from m outside.

Se earch
The S Search funct tion is used to search a all modules existing on the same LA AN. By using g UDP et will be se broad dcast, all mo odules on the e same subne earched. The s searched mo odule is displayed as MAC C address in the t Board list.

Se etting
This f function is to o complete the t configura ation change e. If you u select the e MAC address from the Board list , the defau ult configura ation value of o the modu ule will be displayed. d Change the c configuration n and click Setting bu utton to com mplete the c configuration n. The mod dule will re-initialize with the changed config guration. Changed value e is saved in n the EEPRO OM of the m odule. Thus s, the value is not remo oved even though powe er is disconne ected. The c configuration n value can be b changed i in below steps. Se elect the MAC address of f which conf figuration va alue should be b changed i in the Boar rd list. The v values config gured will be e displayed. Ch hange the va alue Cli ick Setting button. The configurat tion change will w be comp plete. Th he module will be initiali ized to the c changed valu ues (re-booting is process sed) o check confi iguration res sult, click Se earch button. To

Up pload
Firmw ware will be uploaded th hrough netwo ork Af fter uploadin ng the firmw ware, 20~30 0 seconds ar re required for f initializa ation.

Ex xit : Close th he configurat tion tool pro ogram.

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 14 4 page

2 2.2.2.

Seria al configura ation

Figure 7. Config guration Too ol (Serial Config.)

Se erial
Serial Configurati ion value of selected mo odule is displ layed. ed. In ord der to chang ge the serial configuratio on of WIZ110 0SR, this men nu can be use By y clicking the e Setting button, cha anged value can be applied.

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 15 5 page

2 2.2.3.

Option configur ration

Figur re 8. Configu uration Tool (Option Co onfig.)

In nactivity tim me
After r the connec ction is estab blished, if th here is not data d transmission within the time de efined in Ina activity time e, the connec ction is close ed automatic cally. The d default value e is 0. If 0 0 is set, this s function is not activate ed. In this de efault setting, the conne ection is ma aintained ev ven though t there is no data transm mission. In o order to clos se the conne ection, the Close comm mand should be given. This function can be used for f more tha an two or more m system ms to connec ct to a WIZ110SR modu ule. If one sy ystem holds the connect tion to the WIZ110SR, W other systems s can not co onnect to the e module. If f there is no data transm mission durin ng the time defined d in In nactivity time e, the conne ection will be b closed for other system m to be conn nected.

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 16 6 page

a can be useful u for th he case when the server r system is u unexpectedly y shut Inactivity Time also n. In this sta atus, if there e is not any data comm munication du uring the tim me defined in i the down Inactivity time, WIZ110SR W wil ll close the c connection and a enter int to waiting sta atus.

D Data Packing Condition


You c can designate e how the se erial data can n be packed to send to the t Ethernet t. erial buffer and sends any In de efault mode, WIZ110SR checks c the se a received d data to Eth hernet witho out any standard. Therefore, the da ata can be re egarded as error e data du ue to incons sistent data length. In order o to solve this proble em, the data from seria al can be pac cked according to the specified con ndition befor re sending to o Ethernet. The T condition n is as below w. Time e: If there is s not any ne ew data dur ring designat ted time, al ll data in th he serial buf ffer is converted to Ethernet packet. If ne ew data is re eceived, the time is re-c calculated an nd the received data d is saved d in the ser rial buffer. Time T condition can be u utilized whe en the serial data a size is variable and ha as no ending g character, but needs t to be delivered in frame unit. (If the valu ue is 0, opt tion is not us sed) Size: When data is collected as much as the defined size in the serial buffer r, it is transm mitted to Ethernet (If the valu ue is 0, opt tion is not us sed) Chara acter: The data d is collec cted in the s serial buffer until specifi ied characte er is received d, and transmitted d to Etherne et. The chara acter can be e specified in n Hex format tion. (The va alue is 0, this op ption is not used) u Any one of f three condi itions is satis sfied, the da ata is transm mitted to the e Ethernet. Ex) Delimit ter: Size=10, Char=0x0D Serial data : 01234 456789abc Ethern net data : 01 123456789 abc data rem mains in the serial buffer r of module.

Pa assword
Passw word functi ion is for blo ocking client s access which is not all lowed. Passw word function can be operated on nly in TCP Server S mode. When pa nction assword fun opera ates, clients should input password t to access. 1. E Execute Con nfiguration To ool program. .(Configurati ion Tool vers sion should b be 2.1 or abo ove)

2. S Select Serve er of Opera ation Mode. .

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 17 7 page

Figure 9. 9 Option Mo ode for Pass sword Confi iguration 3. A As shown in Figure F 8, sele ect Option t ab and check 'Enable' co ombo box of "Password" menu. m 4. In nput passwo ord. 5. C Click "Setting g" button to apply passwo ord setting 6. W When any client accesses s the module e, client sho ould send 'password' to se erver module e first, and t then access will w be allow wed.

S Serial Config guration:


This function is for module configuratio on not throu ugh network k with Confi iguration too ol but throu ugh serial communicati c on. When y you want to t set via serial s comm munication, check enab ble. Please detail about serial conf figuration ref fers to 4. Se erial Configu uration. .

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 18 8 page

3. Firmwar re Upload
R Run WIZ100 0SR/WIZ110SR Configurat tion Tool pro ogram, and click c Search h button. I If the modul le is properly y connected d to the netw work, Comp plete Search hing messag ge and

MAC a address will be displayed d on the Bo oard List as shown below w Figure.

Figure 10. Board Sear rch Window

Select a mo odule shown in Board lis st, and clic ck Upload button. Before uploading thro ough Ether rnet, you sh hould set the t network k information of WIZ110SR first t by Configu uration Tool program as shown abov ve Fig 10. By y using Ping g test,

W When the window w as sh hown below Figure is di isplayed, sel lect file for upload and d click

Ope en button.

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 19 9 page

Figure 11. Ope en dialog box for upload ding Do o not upload d any other files except f for WIZ110SR R application n firmware fi ile. A dialogue box titled P Processing w will be displa ayed as belo ow.

Fig gure 12. Firm mware uplo oading window

When uploa ading is complete, a mes ssage box with Complet te Uploading g will be

Figure 13 . Complete Uploading

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 20 0 page

4. S Serial Co onfigurat tion


4.1. Serial Command C Format
It is p possible to configure WIZ Z110SR by us sing serial co ommand. By inputting spec cified 3 chara acters you c an enter into the configuration mod de. The chara acters can b be defined at t the Configu uration Tool. .

<Fr rame Form mat>


mmand Fram me format Com Descripto or Length(byt tes) ST TX 1 Co ommand code e 2 Parameter r Variable ETX 1

Table 3. Serial C Configuratio on Frame Fo ormat

ply Frame fo ormat Rep Descripto or Length(byt tes) ST TX 1 R Reply code 1 r Parameter Variable ETX 1

Table 4. . Serial Con nfiguration Reply R Frame e Format

X & ETX STX Setting STX ETX Comments s < : Hex = 3Ch > : Hex = 3Eh

Tab ble 5. Serial l Configurat tion STX & ETX E

ply Code Rep Reply S F 0 1 2 3 E Comments C Command C wa as successfu ul Command C fa ailed Invalid STX Invalid comm mand Invalid param meter Invalid ETX Enter E serial c command mo ode Tab ble 6. Serial Configurati ion Reply Code

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 21 1 page

Com mmand Cod de Comm mand WI WS WG WP WD WM WK Par rameter xxx x.xxx.xxx.xxx x (eg. 192.16 8.11.133) xxx x.xxx.xxx.xxx x (eg. 255.25 5.255.0) xxx x.xxx.xxx.xxx x (eg. 192.16 8.11.1) 0~6 65535 0 : Static, 1 : DH HCP, 2 : PPP PoE 0 :T TCP Client, 1 :TCP Mixed d, 2 :TCP Se erver 0 : TCP, T 1 : UDP P XXX XX eg. [Baudrate]1: 115200, 2: 57600, 3: 38400, 4: 4 19200, 5: 9 9600, WB 6: 4800, 7: 2400,8: 120 00 [data byte] 7 : 7bit, 8bit [parity] 0 : no n parity, 1 : Odd, 2 :Eve en [Flow] 0 : no, 1 : Xon/Xo off, 2 :RTS/C CTS WT WU WE WX WN WR WV WW WY WZ OC OS OT OI RA RU RV RW xxx x.xxx.xxx.xxx x (eg. 255.25 5.255.0) xxx xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxx (eg. wiznet.co.k kr) PPP PoE ID PPP PoE Passwo ord XX 0~2 255 0~6 65535 0~6 65535 MA AC Address 0 : Not Use, 1 : Use IP address a Dom main 0 : Disable, 1 : Enable E 0 : Not Use, 1 : Use xxx xxxx (eg. In hex h format : 2 2B 2B 2B) xxx x.xxx.xxx.xxx x (eg. 192.16 8.11.144) 0~6 65535 Set the serial com mmand meth hod DNS Use or not Set the command d mode char racter Set server s IP add dress Set server s port nu umber Restart DNS IP Setting Domain Setting PPPo oE ID Setting g PPPo oE Password d Setting Set delimiter d cha racter in hex x Set delimiter d size e Set delimiter d time e Set Inactivity time er value Get MAC M Addres ss Chec ck DNS Use or Not DNS IP Check Domain Check Set the serial b baud rate, data, d parity and flow f control. 4byte es:[Baud][da ata byte][parit ty][flow] Comments Set Local L IP Set Subnet S mask k Set Gateway G Set Local L IPs po ort number Set the IP configu uration method Set the TCP oper ration mode Set Protocol(TCP P P or UDP)

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 22 2 page

Comm mand RY RZ RI RS RG RP RD RM RK

Par rameter PPP PoE ID PPP PoE Passwo ord IP Address A Sub bnet Mask Gat teway address Loc cal Port Num mber 0 : Static, 1 : DH HCP, 2 : PPP PoE 0 :T TCP Client, 1 :TCP Mixed d, 2 :TCP Se erver 0 : TCP, T 1 : UDP P XXX XX eg. [Baudrate]1: 115200, 2: 57600, 3: 38400, 4: 4 19200, 5: 9 9600,

Comments PPPo oE ID Check k PPPo oE Password d Check Get Local L IP Get Subnet S mask k Get Gateway G Get Local L IPs po ort number Get the t IP configu uration meth hod Get the t operation n mode Get the t Protocol

RB

6: 4800, 7: 2400,8: 120 00 [data byte] 7 : 7bit, 8bit [parity] 0 : no n parity, 1 : Odd, 2 :Eve en [Flow] 0 : no, 1 : Xon/Xo off, 2 :RTS/C CTS

t serial bau ud rate Get the

RT RE RF RX RN QC QS QT QI

0 : Disable, 1 : Enable E xxx xxxx (eg. In hex h format : 2 2B 2B 2B) x.x (eg. 3.1) xxx x.xxx.xxx.xxx x (eg. 192.16 8.11.144) 0~6 65535 XX 0~2 255 0~6 65535 0~6 65535

Get the t serial com mmand meth hod Get the t command d mode char racter Get the t firmware version Get the t server IP P address Get the t server po ort number Get delimiter d cha aracter in hex x Get delimiter d size e Get delimiter d time e Get Inactivity time er value

Table e 7. Serial Co onfiguration n Command Code

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 23 3 page

4.2.

WIZ110 0SR Config guration w with Serial l Comman nd


C Check WIZ110SR Firmw ware version. If version is lower, download the late est firmware from f d download pa age of http://w www.wiznet.c co.kr

Figure13. Se rial Configu uration Enab ble Setting A At the defau ult status, th he serial con nfiguration is s disabled. So o, click ena able check box b of s serial configuration and click settin g button. The defaut va alue of string g is +++. T The testing can be pro ocessed as below, This s testing is for checking g module IP P and c changing it to o another. 1 2 3 4 5 6 7 Input +++ Ch heck <E> response r Input <WI192 2.168.11.3> Ch heck <S> response r Input <RI> Ch heck <S192.168.11.3> response Input <WR> Enter Serial Configuratio on mode Successfully y entered Change the IP address to 192.168.11 1.3 Sucessfully change the I IP address Check IP address of the module Check chang ged IP addre ess Re-boot WI IZ110SR | 24 4 page

ght WIZnet t All Rights Reserved R Copyrig

8 9

Ch heck <S> response r Mo odule re-boo oting

Successfully y re-booted

Table 8. Ser rial Configura ation Testing Process

Abov ve process is shown in the e serial cons sole as below w figure.

WIZ100SR/ /WIZ110SR V Ver.03.01 MAC ADDR RESS : 00.0 08.DC.13.5E.24 SUBNET MASK M : 255. .255.255.0 G/W IP ADD DRESS : 192.168 8.11.1

LOCAL IP ADDRESS A : 192.168.11.2 2

>Config soc cket : ok >Listen : Ok k <E><S><S192.168.11.3 3><S> WIZ100SR/ /WIZ110SR V Ver. 03.01 MAC ADDR RESS : 00.0 08.DC.13.5E.24 SUBNET MASK M : 255. .255.255.0 G/W IP ADD DRESS : 192.168 8.11.1

LOCAL IP ADDRESS A : 192.168.11.3 3

cket : ok >Config soc >Listen : Ok k Figure1 14. Serial C Configuratio on Console Display

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 25 5 page

5. D Demonstration and a Test


In thi is chapter, we w give an ex xample that can be used to test the function of W WIZ110SR The t testing environment is as s below. PC ) RS232 Port 1) Ha ardware 2) ) LAN Port WIZ110 0SR 1) WIZ110SR Board d 2) Serial Cable 3) LAN Cable C 4) DC5V V Power Ada aptor S Software ) Configuratio on Tool Prog gram 1) 2) ) Hyper Term minal Tabl le 9. Testing g Environme ent of WIZ11 10SR

5.1.

Hardwa are Interfa ace

LAN Cable Serial Cable Power

Figure 14 4. WIZ110SR R Interface

Instal ll as below steps. STEP P 1: By using g RJ45 Ether rnet cable, co onnect the WIZ110SR W to the network k. STEP P 2: Connect t the WIZ110 0SR to the se erial device by b using seria al cable. STEP P 3: Connect t 5V DC adap ptor for powe er supplying. .

5.2.

Testing g Serial to Ethernet Function

STEP P1: Power on n WIZ110SR R board. STEP P2: Configure e the WIZ110 0SR by using g Configuration Tool prog gram. STEP P3: Execute terminal em mulator progra am such as Hyper Terminal, and sellect the COM M port ght WIZnet t All Rights Reserved R Copyrig WI IZ110SR | 26 6 page

WIZ110SR will w use. that W STEP P4: Set the Baud B rate as WIZ110SR. STEP P5: Execute another Hyp per terminal, a and open the e TCP/IP(Winsock) for se etting IP and Port. STEP P6: Type some s charac cters at the e screen of o serial Hy yper termina al. For exa ample, 0123 34567890 is s input. STEP P7: The inpu ut characters s of STEP 6, is displayed d in the screen of netwo rk Hyper ter rminal. (Chec cking Serial to Ethernet function) STEP P8: You can check Ether rnet to Seria l function by y inputting so ome characte ter in the scre een of Netw work terminal and checkin ng them in the e serial term minal.

Abov ve function can be tested d by Device Terminal T prog gram that WI IZnet is prov viding.

Figure 1 15. Device Terminal T

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 27 7 page

6. W WIZ110S SR Hardw ware Spe ecification


6.1.

Parame eters
Power Dimension Tempera ature Ethernet t Serial interface 5V V DC / 180mA A 75 5 x 50 x 17 (L L x W x H) Op perating Tem mperature : 0 ~ 80 10 0/100 Base-T T Ethernet (A Auto detection n) RS S-232

6.2.

Specific cation
MCU FLASH SRAM EEPROM M 80 051 Complian nt 62 2KByte (MCU U Internal) 16 6KByte (MCU U Internal) 2KByt yte (MCU Inte ernal)

6.3. Board Dimension D ns and Pin n Assignm ment 6.3.1 1. Dimens sions
[ un nit : mm ]
3.50

56.00

3.60

3.50

45.00

8.00
3.00 75.90

Figure 16. . WIZ110SR Dimension ght WIZnet t All Rights Reserved R Copyrig WI IZ110SR | 28 8 page

7.70

3.70

6.3.2 2. Connec ctor Speci ification 6.3.2 2.1. RJ45


Ether rnet port Pin nouts

Pin 1 2 3 6

Signa l TX+ TXRX+ RX-

Figure 17. RJ-45 PIN Assignment A

6.3.2 2.2.

RS-2 232
1 6 2 7 3 8 4 9 5

Pin Number r 1 2 3 4 5 6 7 8 9

Signal NC RxD TxD DTR GND DSR RTS CTS NC

Description Not Conn nected Receive Data Transmit t Data Data Terminal Ready y Ground Data Set t Ready Request To Send Clear To Send Not Conn nected

Table 10. R RS-232 PIN Assignment A

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 29 9 page

7. W Warranty y
WIZn net Co., Ltd offers o the following limite ed warranties s applicable only to the o original purchaser. This o offer is non-t transferable.

WIZn net warrants our products s and its part ts against de efects in materials and wo workmanship under normal use for pe eriod of stan ndard ONE(1 1) YEAR for the WIZ110 0SR board a and labor wa arranty after the date of f original reta ail purchase e. During this period, WIZnet W will re epair or replace a defec ctive product ts or part free e of charge.

ranty Condit tions: Warr 1 1. The warr ranty applies s only to prod ducts distribu uted by WIZn net or our offiicial distribut tors. 2 2. The warr ranty applies s only to defe ects in mater rial or workmanship as m mentioned above in 6.Warran nty. The war rranty applies s only to de efects which occur during g normal use and does not t extend to damage d to p roducts or parts p which results from a alternation, repair, r modificat tion, faulty in nstallation or r service by anyone a other than someo one authoriz zed by WIZnet Inc. ; damage to products s or parts ca aused by acc cident, abuse e, or misuse e, poor maintena ance, mishan ndling, misap pplication, or r used in violation of inst tructions furn nished by us ; damage occurring in shipm ment or any damage cau used by an ac ct of God, su uch as lightening g or line surg ge.

cedure for Obtaining O Warranty W Ser rvice Proc 1. Contact an a authorized d distributors s or dealer of f WIZnet Inc. . for obtainin g an RMA (R Return Merchand dise Authoriz zation) reque est form within the applica able warranty ty period. 2 2. Send the e products to t the distrib butors or de ealers togeth her with the e completed RMA request form. f All pro oducts return ned for warra anty must be carefully r repackaged in the original packing p materials. 3 3. Any servi ice issue, ple ease contact t to sales@w wiznet.co.kr

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 30 0 page

Document Re evision His story


D Date 2007 7-09-01 Re evision v v1.0.0 Fir rst Release A PPPoE E description ns(F/W updated) - Added 2008 8-02-27 v v1.1.0 - Added A serial c configuration n command - Removed R har rdware config guration description A and m modified seria al configuration comman nd(F/W upda ated to - Added 2008 8-06-04 v v2.0.0 ver3.1) - Modified M boar rd dimension ns(Chapter 6.3.1) CD is not pro ovide anymor re. The software C ware contents s, please visit our website e. For more softw 2013 3-06-19 v v2.1.0 (ww ww.wiznet.co o.kr) Mo odified the ta able of Prod duct contents in CH 1.3 3. Software CD is rem moved in the e table of con ntents. Changes s

ght WIZnet t All Rights Reserved R Copyrig

WI IZ110SR | 31 1 page

Potrebbero piacerti anche