W 10SR WIZ11 R User's Manua al (Ve ersion 2..1.0) (c)200 08 WIZnet C Co., Ltd. All Rights Res served. Fo or more info ormation, vissit our webs site at http://www.wizneet.co.kr WIZnet'ss Onlin ne Technicall Supp ort If yo ou have som mething to ask about WIZnet pro oducts, wriite down yyour questio on on Q&A Board in WIZnet W webssite (www.w wiznet.co.k kr). WIZnet will give ann answer ass soon as po ossible. CLICK R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 2 page CO OPYRIGHT NOTIC N CE Copyright 2008 WIZnet Co., Ltd. All Rightts Reserved. Tecchnical Suppo ort: support@ @wiznet.co.krr Salles & Distribu ution: sales@ @wiznet.co.kr Forr more inform mation, visit ou ur website at http://www.w wiznet.co.kr R Copyrigght (c) WIZnett All Rights Reserved W IZ110SR | 3 page Table e of Contents 1. 2. INTRODUCTION........................................................................................... 6 1.1. KEY FEATU URES .......................................................................................... 6 1.2 2. SPECIFICAT ATION .......................................................................................... 6 1.3 3. PRODUCTSS CONTENTS .................................................................................. 7 W WIZ110SR BO OARD ........................................................................................ 8 2.1. BLOCK DIAAGRAM ........................................................................................ 8 2.2 2. CONFIGURRATION TOOL .................................................................................. 9 3. F FIRMWARE UPLOAD U ....................................................................................19 4. SSERIAL CONF FIGURATION ...............................................................................21 5. 6. 7. 4.1. SERIAL COMMAND O FORMAAT ............................................................................. 21 4.2 2. WIZ110SSR CONFIGURATTION WITH SERIIAL COMMAND .................................................. 24 D DEMONSTRAT ATION AND TEST ..........................................................................26 5.1. HARDWARRE INTERFACE ................................................................................. 26 5.2 2. TESTING SERIAL TO ETHEERNET FUNCTIOON ............................................................. 26 W WIZ110SR HA ARDWARE SPECIFICATIO ON .............................................................28 6.1. PARAMETEERS ........................................................................................... 28 6.2 2. SPECIFICAT ATION ......................................................................................... 28 6.3 3. BOARD DIMENSIONS AND PIN ASSIGNMENNT ............................................................. 28 W WARRANTY...............................................................................................30 R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 4 page F FIGURES S Figure 1. Block Diagram ........................................................................... 8 Figure 2. etwork Config)............................................... 9 2 Configuration Tool (Ne Figure 3. 3 PPPoE Connection Pro ocess in Serial Console ................................... 10 Figure 4. 4 TCP Serve er mode ...................................................................... 11 Figure 5. 5 TCP Clientt mode ....................................................................... 12 Figure 6. 6 UDP mode e .............................................................................. 13 Figure 7. 7 Configuration Tool (Serrial Config.) .................................................. 15 Figure 8. 8 Configuration Tool (Opttion 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 ............................................................. 29 0. RS-232 PIN Assignmen R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 5 page 1. IIntroduc ction WIZ110SR is a gateway modu ule that convverts RS-232 protocol intto TCP/IP prrotocol. It en nables remo ote gauging, managing an nd control off a device th hrough the ne etwork basedd on Etherne et and TCP/IP by conneccting to the existing equ ipment with h RS-232 serial interface.. In other words, w WIZ110SR is a protocol conve erter that trransmits the data sent by b serial equuipment as TCP/IP T data type and converts back the TCP/IP d data receive ed through th he network iinto 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 Quiickly are Customizzation Proviiding Firmwa - System Stability S and Reliability b by using W5100 Hardware e Chip - Supportss PPPoE Conn nection - Supportss Serial Confiiguration - w with Simple and a Easy com mmand - Supportss Password fo or the Securiity - Configura ation Tool Prrogram - 10/100 Ethernet E Inte erface and m max 230Kbps Serial Interfface - RoHS Com mpliant 1.2. Spe ecification IT TEM M MCU Descrip ption 8051 com mpliant (havving internal 62K Flash, 16K 1 SRAM, 22K EEPROM M) TC CP/IP W5100 (Ethernet MAC C & PHY Embbedded) Pro otocol TCP P, UDP, IP, ARP, A ICMP, MAC, M DHCP, PPPoE, DNS Networkk Interface 1 10/100 Mbps s(Auto detection), RJ-45 Connector Serial Interface RS232((DB9) Serial Signal TXD, RXD, RTS S, CTS, GND D Parity P : None, Even, Odd Serial Parameters Data Bits : 7,8 Flow Contrrol : None, RTS/CTS, XO ON/XOFF Speed S : up to o 230Kbps R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 6 page Input Voltage DC 5V 5 Power Co onsumption Under 180mA Temp perature 0 0C ~ 80C (Operation), -40C ~ 85C C (Storage) Hum midity 10 ~ 90% 9 Table e 1. Specific cation 1.3. Products Con ntents WIZ110SR Boardd LAN Ca able (Optionaal) 5V Power Adaptor A (Opttional) 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 separattely. R Copyrigght (c) WIZnett All Rights Reserved 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 traansmits the data d sent by y serial equippment to Eth hernet and cconverts bacck the TCP/IP data receiived through h the networrk into seriall data to tra ansmit back to the equiipment. Whe en the data is received from serial port, it is ssent to W5100 by MCU. If any data is transmittted from Eth hernet, it is received to the internal buffer of W5100, W and ssent 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. R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 8 page 2.2. 2 2.2.1. Con nfiguration n Tool Netw work Configuration Figure e 2. Configurration Tool (Network Config) C Veersion : Dispplays firmware version. You can use PPP PoE, Serial Co ommand, Paassword function from firrmware Ver.22.5. Enable Serial Debug Moode : If thiss mode is chhecked, you can monitoor the statuus and et message of o WIZ110SR R (listen OK, connect faiil etc.) through serial teerminal. If Debug D socke mode e is on, debug message can cause aabnormal op peration of the serial d evice. There efore, just u use this mode only for De ebug mode. Booard List : Iff you click "Search" " buttton, all the MAC addresses on a sam me subnet, will w be d displayed. R Copyrigght (c) WIZnett All Rights Reserved W WIZ110SR | 9 page IPP Configurattion Method d: Select IP setting mode, you can n select amoong Static, DHCP, PPPoE E mode. Static c: "Static" is i the option n for settingg WIZ110SR with static IP address. First selectt MAC addre ess that you u want to set it as staatic IP in `b board list'. Then, T the ""Local IP, Su ubnet, Gatew way boxes are a enabled. Input Staticc IP address and click "setting" buttton. Then IP is set as you want. (PPP PoE ID, Passw word box willl be disabled d) DHCP P: Set this option o to use e DHCP mode e. First, chec ck `DHCP' an nd click `Settting' button n. If IP addre ess is successsfully acquired from DH HCP server, the t MAC add dress will bee 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 aand Gatewa ay are displa ayed. If mod dule could not n acquire network infformation frrom DHCP seerver, IP address, Gatew way Address and Subnet mask will be e initialized to 0.0.0.0. PPPo oE : WIZ110SSR 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 & Passwoord. 3. Cliick "setting" " button to apply. a 4. Co onnect Modulle to ADSL Line. 5. If " "Enable Serial Debug Mo ode" is selectted, you can n see PPPoE access a statuss via Se erial console e. Figure 3. PPPoE P Conn nection Proc cess in Seriial Console R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 10 0 page LLocal IP/Portt : WIZ110SR's IP addresss and Port nuumber for neetwork conneection Be e sure to inp put correct network infformation. If I you inputt incorrect IP address, it can cause e network collision c or mal-function m n. Suubnet : WIZ1110SR's subnet mask Gaateway : WIZ110SR's Gateway addreess PPPoE ID/Passsword : If you y select `P PPPoE' mode e, input ID/Password whhich you rec ceived from ISP companyy. Seerver IP/Porrt : When WIZ110SR W is sset as "Clien nt mode" orr Mixed modde", server IP and port sshould be se et. WIZ110SR R attempts too connect this IP addresss. N Network mod de : clientt/server/mix xed : This iss to select th he communication meth hod based o on TCP. TCP is the proto ocol to estab blish the con nnection beffore data com mmunication n, but UDP jjust processe es the data communicattion withoutt 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 metthod. At the TCP server mode, WIZ1 110SR opera ates as serve er on the prrocess of con nnection, an nd waits for the connecttion trial from the clientt. WIZ110SR R operates as a client at tthe TCP Clie ent mode on the proceess of conne ection, and ttries to conn nect to the server's IP aand Port. Miixed modes supports bo oth of Serve er and Client. The comm munication process p of eaach mode is as below. Figure 4 4. TCP Serv ver mode At the TCP Serverr mode, WIZ110SR waits for the conn nection requ uests. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 11 1 page e can be use eful when th he monitorin ng center trries to conneect to the device d TCP SServer mode (where WIZ110SR R is installe ed) in order to check the t status or o provide thhe commands. In norm mal time WIZ110SR is on the waiting status, and if there is any connecttion request (SYN) from the monitoring cen nter, the cconnection is establisshed(ESTABLLISH), and data comm munication iss processed (Data ( Transaaction). Finallly connectio on is closed ((FIN). In orrder to operrate this mo ode, Local IP P, Subnet, Gateway G Add dress and Loocal Port Nu umber shoulld be configu ured first. As illu ustrated in the t above fig gure, data trransmission 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 connecttion 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 In thiis mode, WIZ Z110SR norm mally operate es as TCP Server and waiits for the coonnection re equest from the peer. Ho owever, if WIZ110SR W rece eives data frrom the seria al device beffore connecttion is estab blished, it ch hanges to the client mod de and sends the data to the serverr IP. Therefo ore, at the m mixed mode, the server mode m is operrated prior to t the client mode. As likke TCP Serve er mode, the Mixed moode 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 checkk device stattus. In addittion to this, if any eme ergency occu urs in the serial device, the modu le will chan nge to Client mode to esstablish the connection tto the server and deliver the emergeency status of the devicce. . 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 thhe IP addresss and port number of th he peer and send the daata. Usse 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 Sysstem) is the database sy ystem having g informationn about IP ad ddress and ccorrespondin ng domain na ame. When cconnecting to o domain name, you cann use DNS fun nction of WIZ110SR. Inp put IP addre ess of DNS sserver provid ded by ISP in DNS Serveer IP, and do omain name e in the Servver (Domain) If serrver has dyna amic IP addrress, but dom main name, if you use DNS D function,, you do nott need to co onfigure server IP addresss whenever iit's changed. . D Direct IP Search Direcct IP Search can c be used for searchin g WIZ110SR not installed d in the samee subnet. If the e Direct IP se earch is chec cked, the con nfiguration tool t use the TCP instead UDP broadc cast to R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 13 3 page s searcch modules. Therefore, network infformation off the module such as IPP address, subnet maskk and gatewa ay is required d for the seaarch. 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 "Searrch" button. If module doe es not have valid netw work informa ation, Direct IP search is not availlable. Check k if module e is connecte ed to the N NAT or priva ate network k. If so, it iss not possib ble to conne ect to the module m from m outside. Seearch The SSearch functtion is used to search aall 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 ssearched mo odule is displayed as MAC C address in the t "Board list". Seetting This ffunction is to o complete the t configuraation change e. If you u select the e MAC address from the "Board list" ", the defau ult configuraation value of o the modu ule will be displayed. d Change the cconfiguration n and click "Setting" " buutton to com mplete the cconfiguration n. The mod dule will re--initialize with the changed configguration. Changed value e is saved in n the EEPRO OM of the m odule. Thuss, the value is not remooved even though powe er is disconne ected. The cconfiguration n value can be b changed iin below steps. Se elect the MAC address off which conffiguration va alue should be b changed iin the "Boarrd list. The vvalues config gured will be e displayed. Ch hange the va alue Cliick "Setting" " button. The configurattion change will w be comp plete. Th he module will be initialiized to the cchanged valu ues (re-booting is processsed) o check confiiguration ressult, click `Se earch' button. To Uppload Firmw ware will be uploaded th hrough netwoork Affter uploadin ng the firmw ware, 20~30 0 seconds arre required for f initializaation. Exxit : Close thhe configurattion tool proogram. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 14 4 page 2 2.2.2. Seria al configura ation Figure 7. Config guration Too ol (Serial Config.) Seerial Serial Configuratiion value of selected moodule is displlayed. In ord der to chang ge the serial configuratioon of WIZ110 0SR, this men nu can be useed. By y clicking the e "Setting" button, chaanged value can be applied. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 15 5 page 2 2.2.3. Option configurration Figurre 8. Configu uration Tool (Option Co onfig.) Innactivity tim me Afterr the connecction 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, thiss function is not activate ed. In this deefault setting, the conne ection is ma aintained ev ven though tthere is no data transm mission. In oorder to closse the conne ection, the `Close' ` comm mand should be given. This function can be used for f more thaan two or more m system ms to connecct to a WIZ110SR modu ule. If one syystem holds the connecttion to the WIZ110SR, W other systemss can not co onnect to the e module. Iff there is no data transm mission durin ng the time defined d in Innactivity time e, the conne ection will be b closed for other system m to be conn nected. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 16 6 page a can be useful u for th he case when the serverr system is uunexpectedly 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 willl close the cconnection and a enter intto waiting staatus. D Data Packing Condition You ccan designate e how the se erial data can n be packed to send to the t Ethernett. erial buffer and sends any In de efault mode, WIZ110SR checks c the se a receivedd data to Eth hernet witho out any standard. Therefore, the daata can be re egarded as error e data duue to inconssistent data length. In order o to solve this proble em, the data from seria al can be paccked according to the specified con ndition beforre sending too Ethernet. The T condition n is as below w. Time e: If there iss not any ne ew data durring designatted time, alll data in thhe serial bufffer is converted to Ethernet packet. If ne ew data is re eceived, the time is re-ccalculated an nd the received data d is saved d in the serrial buffer. Time T condition can be uutilized whe en the serial data a size is variable and haas no ending g character, but needs tto be delivered in frame unit. (If the valu ue is `0', opttion is not ussed) Size: When data is collected as much as the defined size in the serial bufferr, it is transm mitted to Ethernet (If the valu ue is `0', opttion is not ussed) Chara acter: The data d is collec cted in the sserial buffer until specifiied characteer is received d, and transmitted d to Etherne et. The charaacter can be e specified in n Hex formattion. (The va alue is `0', this op ption is not used) u Any one off three condiitions is satissfied, the da ata is transm mitted to thee Ethernet. Ex) Delimitter: Size=10, Char=0x0D Serial data : 01234 456789abc Ethern net data : 01 123456789 "abc" data rem mains in the serial bufferr of module. Paassword `Passw word' functiion is for blo ocking client''s access which is not alllowed. 'Passw word' function can be operated on nly in `TCP Server' S mode. When `paassword' fun nction opera ates, clients should input password tto access. 1. E Execute Con nfiguration To ool program..(Configuratiion Tool verssion should bbe 2.1 or abo ove) 2. SSelect `Serve er' of "Opera ation Mode".. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 17 7 page Figure 9. 9 Option Mo ode for Pass sword Confiiguration 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 passwoord setting 6. W When any client accessess the module e, client sho ould send 'password' to seerver module e first, and tthen access will w be allow wed. S Serial Config guration: This function is for module configuratioon not throu ugh network k with Confiiguration too ol but throu ugh serial communicati c on. When yyou want to t set via serial s comm munication, check "enab ble". Please detail about serial conffiguration reffers to "4. Se erial Configuuration". . R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 18 8 page 3. Firmwarre Upload R Run `WIZ100 0SR/WIZ110SR Configurattion Tool' pro ogram, and click c "Searchh" button. IIf the modulle is properly y connected d to the netw work, "Comp plete Searchhing" messag ge and MAC a address will be displayed d on the "Booard List" as shown below w Figure. Figure 10. Board Searrch Window Select a mo odule shown in "Board lisst", and clic ck "Upload" button. Before uploading thro ough Etherrnet, you sh hould set the t networkk information of WIZ110SR firstt by Configu uration Tool program as shown abov ve Fig 10. Byy using Ping g test, W When the window w as sh hown below Figure is diisplayed, sellect file for upload and d click "Ope en" button. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 19 9 page Figure 11. Ope en dialog box for upload ding Do o not upload d any other files except ffor WIZ110SR R application n firmware fiile. 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 messsage box with "Complette Uploadingg" will be Figure 13 . Complete Uploading R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 20 0 page 4. S Serial Co onfigurattion 4.1. Serial Command C Format It is p possible to configure WIZ Z110SR by ussing serial co ommand. By inputting speccified 3 chara acters you c an enter into the configuration modde. The chara acters can b be defined att the Configu uration Tool.. mmand Fram me format Com Descripto or ST TX Co ommand code e Parameterr ETX Length(byttes) 1 2 Variable 1 Table 3. Serial C Configuratio on Frame Fo ormat ply Frame fo ormat Rep Descripto or ST TX R Reply code Parameterr ETX Length(byttes) 1 1 Variable 1 Table 4.. Serial Con nfiguration Reply R Frame e Format X & ETX STX Setting Comments s STX `<' : Hex = 3Ch ETX `>' : Hex = 3Eh Tab ble 5. Seriall Configurattion STX & ETX E ply Code Rep Reply Comments C S Command C wa as successfu ul F Command C fa ailed 0 Invalid STX 1 Invalid comm mand 2 Invalid param meter 3 Invalid ETX E Enter E serial ccommand mo ode Tab ble 6. Serial Configuratiion Reply Code R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 21 1 page Com mmand Cod de Comm mand Parrameter Comments WI xxxx.xxx.xxx.xxx x (eg. 192.16 8.11.133) Set Local L IP WS xxxx.xxx.xxx.xxx x (eg. 255.25 5.255.0) Set Subnet S maskk WG xxxx.xxx.xxx.xxx x (eg. 192.16 8.11.1) Set Gateway G WP 0~6 65535 Set Local L IP's poort number WD 0 : Static, 1 : DH HCP, 2 : PPP PoE Set the IP configuuration method WM 0 :T TCP Client, 1 :TCP Mixed d, 2 :TCP Se erver Set the TCP operration mode WK 0 : TCP, T 1 : UDP P Set Protocol(TCP P P or UDP) 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 Set the serial bbaud rate, data, d parity and flow f control. 4byte es:[Baud][daata byte][paritty][flow] [parity] 0 : no n parity, 1 : Odd, 2 :Eve en [Flow] 0 : no, 1 : Xon/Xo off, 2 :RTS/C CTS WT 0 : Disable, 1 : Enable E Set the serial com mmand meth hod WU 0 : Not Use, 1 : Use DNS Use or not WE xxxxxxx (eg. In hex h format : 2 2B 2B 2B) Set the commandd mode charracter WX xxxx.xxx.xxx.xxx x (eg. 192.16 8.11.144) Set server s IP adddress WN 0~6 65535 Set server s port nuumber WR WV WW Restart xxxx.xxx.xxx.xxx x (eg. 255.25 5.255.0) xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx (eg. wiznet.co.k kr) DNS IP Setting Domain Setting WY PPP PoE ID PPPo oE ID Settingg WZ PPP PoE Passwo ord PPPo oE Passwordd Setting OC XX Set delimiter d cha racter in hex x OS 0~2 255 Set delimiter d sizee OT 0~6 65535 Set delimiter d timee OI 0~6 65535 Set Inactivity timeer value RA MA AC Address Get MAC M Addresss RU 0 : Not Use, 1 : Use Chec ck DNS Use or Not RV IP address a DNS IP Check RW Dom main Domain Check R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 22 2 page Comm mand Parrameter Comments RY PPP PoE ID PPPo oE ID Checkk RZ PPP PoE Passwo ord PPPo oE Passwordd Check RI IP Address A Get Local L IP RS Sub bnet Mask Get Subnet S maskk RG Gatteway address Get Gateway G RP Loccal Port Num mber Get Local L IP's poort number RD 0 : Static, 1 : DH HCP, 2 : PPP PoE Get the t IP configuuration meth hod RM 0 :T TCP Client, 1 :TCP Mixed d, 2 :TCP Se erver Get the t operationn mode RK 0 : TCP, T 1 : UDP P Get the t Protocol XXX XX eg. [Baudrate]1: 115200, 2: 57600, 3: 38400, 4: 4 19200, 5: 9 9600, RB 6: 4800, 7: 2400,8: 120 00 t serial bauud rate Get the [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 RT 0 : Disable, 1 : Enable E Get the t serial com mmand meth hod RE xxxxxxx (eg. In hex h format : 2 2B 2B 2B) Get the t commandd mode charracter RF x.x (eg. 3.1) Get the t firmware version RX xxxx.xxx.xxx.xxx x (eg. 192.16 8.11.144) Get the t server IP P address RN 0~6 65535 Get the t server poort number QC XX Get delimiter d chaaracter in hex x QS 0~2 255 Get delimiter d sizee QT 0~6 65535 Get delimiter d timee QI 0~6 65535 Get Inactivity timeer value Table e 7. Serial Co onfiguration n Command Code R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 23 3 page 4.2. WIZ110 0SR Config guration w with Seriall Comman nd C Check WIZ110SR Firmw ware version. If version is lower, download the lateest firmware from f d download pa age of http://w www.wiznet.cco.kr Figure13. Se rial Configu uration Enab ble Setting A At the defau ult status, th he serial con nfiguration iss disabled. So o, click `enaable' check box b of sserial configuration and click `settin g' button. The defaut va alue of stringg is "+++". T The testing can be pro ocessed as below, This s testing is for checkingg module IP P and cchanging it to o another. 1 Input "+++" Enter Serial Configuratioon mode 2 Ch heck "" response r Successfully y entered 3 Input """ Change the IP address to 192.168.11 1.3 4 Ch heck "" response r Sucessfully change the IIP address 5 Input "" Check IP address of the module 6 Ch heck "" response Check chang ged IP addreess 7 Input "" Re-boot R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 24 4 page 8 Ch heck "" response r 9 Mo odule re-boo oting Successfully y re-booted Table 8. Serrial Configura ation Testing Process Abovve process is shown in the e serial conssole 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 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 R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 25 5 page 5. D Demonstration and a Test In thiis chapter, we w give an ex xample that can be used to test the function of W WIZ110SR The ttesting environment is ass below. PC Ha ardware WIZ1100SR 1)) RS232 Port 1) WIZ110SR Boardd 2)) LAN Port 2) Serial Cable 3) LAN Cable C 4) DC5V V Power Adaaptor S Software on Tool Prog gram 1)) Configuratio 2)) Hyper Term minal Tablle 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 Installl as below steps. STEP P 1: By using g RJ45 Etherrnet cable, co onnect the WIZ110SR W to the networkk. STEP P 2: Connectt the WIZ110 0SR to the se erial device by b using seria al cable. STEP P 3: Connectt 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 R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 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 seetting IP and Port. STEP P6: Type some s charac cters at the e screen of o serial Hy yper terminaal. For exa ample, "0123 34567890" iss input. STEP P7: The inpu ut characters s of STEP 6, is displayed d in the screen of netwo rk Hyper terrminal. (Checcking "Serial to Ethernet"" function) STEP P8: You can check "Etherrnet 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. Abovve function can be tested d by Device Terminal T prog gram that WIIZnet is prov viding. Figure 1 15. Device Terminal T R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 27 7 page 6. W WIZ110S SR Hardw ware Spe ecification 6.1. Parame eters Power 5V V DC / 180mA A Dimension 75 5 x 50 x 17 (L L x W x H) Tempera ature Op perating Tem mperature : 0 ~ 80 Ethernett 10 0/100 Base-T T Ethernet (A Auto detection n) Serial interface RS S-232 6.2. Specific cation MCU 80 051 Complian nt FLASH 62 2KByte (MCU U Internal) SRAM 16 6KByte (MCU U Internal) EEPROM M 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 ] 56.00 3.60 7.70 3.70 45.00 8.00 3.50 3.50 O3.00 75.90 Figure 16.. WIZ110SR Dimension R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 28 8 page 6.3.2 2. Connec ctor Speciification 6.3.2 2.1. RJ45 Etherrnet port Pin nouts Pin Signa l 1 TX+ 2 TX- 3 RX+ 6 RX- Figure 17. RJ-45 PIN Assignment A 6.3.2 2.2. RS-2 232 1 2 6 Pin Numberr 3 7 Signal 4 8 5 9 Description 1 NC Not Conn nected 2 RxD Receive Data 3 TxD Transmitt Data 4 DTR Data Terminal Ready y 5 GND Ground 6 DSR Data Sett Ready 7 RTS Request To Send 8 CTS Clear To Send 9 NC Not Conn nected Table 10. R RS-232 PIN Assignment A R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 29 9 page 7. W Warranty y WIZn net Co., Ltd offers o the following limite ed warranties s applicable only to the ooriginal purchaser. This o offer is non-ttransferable. WIZn net warrants our products s and its partts 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 aand labor wa arranty after the date off original reta ail purchase e. During this period, WIZnet W will reepair or replace a defecctive productts or part free e of charge. Warrranty Condittions: 1 1. The warrranty applies s only to prod ducts distribu uted by WIZn net or our offiicial distributtors. 2 2. The warrranty applies s only to defe ects in materrial or workmanship as m mentioned above in 6.Warran nty. The warrranty appliess only to de efects which occur duringg normal use and does nott extend to damage d to p roducts or parts p which results from aalternation, repair, r modificattion, faulty in nstallation orr service by anyone a other than someoone authoriz zed by WIZnet Inc. ; damage to productss or parts ca aused by acc cident, abusee, or misuse e, poor maintena ance, mishan ndling, misap pplication, orr used in violation of insttructions furn nished by us ; damage occurring in shipm ment or any damage cau used by an acct of God, su uch as lightening g or line surg ge. cedure for Obtaining O Warranty W Serrvice Proc 1. Contact an a authorized d distributorss or dealer off 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 thee completed RMA request form. f All pro oducts return ned for warra anty must be carefully rrepackaged in the original packing p materials. 3 3. Any serviice issue, ple ease contactt to sales@w wiznet.co.kr R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 30 0 page Document Re evision His story D Date Re evision 2007 7-09-01 v v1.0.0 Changes s Firrst Release A PPPoE E description ns(F/W updated) - Added 2008 8-02-27 v v1.1.0 - Added A serial cconfiguration n command - Removed R harrdware config guration description A and m modified seria al configuration commannd(F/W upda ated to - Added 2008 8-06-04 v v2.0.0 ver3.1) - Modified M boarrd dimension ns(Chapter 6.3.1) CD is not pro ovide anymorre. The software C ware contents s, please visit our websitee. 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.33. Software CD is rem moved in the e table of con ntents. R Copyrigght (c) WIZnett All Rights Reserved WIIZ110SR | 31 1 page