WIZ1 1000 User 's Ma anual (Ve ersion 1..1.0) (c)200 09 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 want to o know mo ore about WIZnet pro oducts, ple ease visit WIZnet we ebsite (www w.wiznet.co o.kr), and you could also put your questions on Q Q&A Board.. Our engin neers will reply you ass soon as poossible. CLICK R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 2 page Do ocumen nt Revision H History D Date R Revision Changes 2009-06-26 v1.0.0 First F Release e 2013-06-17 v.1.1.0 The T software CD is not prrovide anymo ore. For F more softtware conten nts, please viisit our webssite. (w www.wiznet. co.kr) Modified M the table of con ntents in CH 1.3. Softwarre CD is rem moved in n the table off contents. Co opyrigh ht Nottice Copyright 2009 WIZnet, Inc. All Rights Re eserved. Tecchnical Suppo ort: support@ @wiznet.co.krr Salles & Distribu ution: sales@ @wiznet.co.kr Forr more inform mation, please e visit our web bsite: http:///www.wiznet.co.kr R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 3 page Certificattion Infformatiion CE ffor Class A ITE WAR RNING : Th his is a clas ss A producct. In a dom mestic envirronment th is product may causse radio inte erference in which casse the user may be re equired to ttake adequ uate measures. FCC for Class A ITE ORMATION TO T THE USE ER INFO This equipmentt has been tested and d found to comply c with h the limits for a Class sA digita al device, pursuant p to part 15 of the FCC Rules. R Thes se limits aree designed to provide reasonable protec ction againsst harmful interference when thee equipmen nt is operrated in a commercial environme ent. This eq quipment ge enerates, uuses, and can c radia ate radio fre equency en nergy and, if not installed and us sed in accoordance with the instruction man nual, may cause c harm mful interfere ence to rad dio communnications. Operation of this equipme ent in a resiidential are ea is likely to cause haarmful interrference in which w case e the user w will be requ uired to corrrect the inteerference at a his own expense. WAR RNING : Cha anges or modificationss not expre essly approved by the manufactu urer could d void the user's u authority to ope erate the eq quipment. KCC for Class A ITE - Trade Na ame or Applic cant : WIZne et, Inc. - Equipme ent Name : Serial to Ethe rnet Device Server - Basic Mo odel Numberr : WIZ1000 - Manufaccturer / Counttry of Origin : WIZnet, Inc c. / KOREA - Certificattion Number : WWW-WIZ Z1000-S2E(A A) WAR RNING : This s equipmen nt has been n tested forr a Class A digital devvice. R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 4 page Table e of Contents 1. 2. INTRODUCTION........................................................................................... 7 1.1. KEY FEATU URES .......................................................................................... 7 1.2 2. SPECIFICAT ATION .......................................................................................... 8 1.3 3. PRODUCTSS CONTENTS .................................................................................. 9 W WIZ1000 ..................................................................................................10 2.1. BLOCK DIAAGRAM ....................................................................................... 10 2.2 2. CONFIGURRATION TOOL ................................................................................. 11 3. F FIRMWARE UPLOAD U ....................................................................................23 4. SSERIAL CONF FIGURATION ...............................................................................25 4.1. SERIAL COMMAND O FORMAAT ............................................................................. 25 4.2 2. WIZ1000 0 CONFIGURATIO ON WITH SERIA AL COMMAND ................................................... 28 5. T TELNET COM M PORT OPTIIONS .........................................................................30 6. D DEMONSTRAT ATION AND TEST ..........................................................................34 7. 8. 6.1. HARDWARRE INTERFACE ................................................................................. 34 6.2 2. TESTING SERIAL TO ETHEERNET FUNCTIOON ............................................................. 35 W WIZ1000 HA ARDWARE SPECIFICATION N ..............................................................36 7.1. PARAMETEERS ........................................................................................... 36 7.2 2. SPECIFICAT ATION ......................................................................................... 36 7.3 3. BOARD DIMENSIONS AND PIN ASSIGNMENNT ............................................................. 36 W WARRANTY...............................................................................................38 R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 5 page F FIGURES S Figure 1. Block Diagram .......................................................................... 10 Figure 2. 2 User Interfa ace of Config guration Tool (Configurattion via Netw work) ............. 11 Figure 3. 3 PPPoE Connection Pro ocess in Serial Console ................................... 12 Figure 4. 4 TCP Serve er mode ...................................................................... 13 Figure 5. 5 TCP Clientt mode ....................................................................... 14 Figure 6. 6 UDP mode e .............................................................................. 15 Figure 7 Search passsword input d dialog ........................................................ 16 Figure 8. 8 Configuration Tool (Serrial Config.) .................................................. 18 Figure 9. 9 Configuration Tool (Opttion Config.) ................................................. 20 Figure 10. Option Mo ode for Passsword Configuration ........................................ 22 Figure 11. Board Sea arch Window w .............................................................. 23 Figure 12. Open dialog box for u ploading ..................................................... 24 Figure 13. Firmware uploading w window ....................................................... 24 Figure 14. Complete e Uploading.................................................................. 24 Figure 15 Serial Con nfiguration Co onsole Displa ay .............................................. 29 Figure 16 Interface of o Telnet Com m Port Optio on Client ...................................... 30 Figure 17 Telnet Com m Port Optio n Client Tool Execution Example E ........................ 31 Figure 18. WIZ1000 Interface .................................................................... 34 Figure 19. Device Te erminal ....................................................................... 35 Figure 20. WIZ1000 Dimension D .................................................................. 36 Figure 21. 2 RJ-45 PIN N Assignmen nt .............................................................. 37 Tables Table 1. Specification n............................................................................... 8 Table 2. Products Co ontents........................................................................ 9 Table 3. Serial Config guration Fra me Format .................................................. 25 Table 4. Serial Config guration Rep ply Frame Fo ormat .......................................... 25 Table 5. Serial Config guration STX X & ETX ..................................................... 25 Table 6. Serial Config guration Rep ply Code ..................................................... 25 Table 7. Serial Config guration Com mmand Code e ............................................... 27 Table 8. Serial Config guration Tes ting Process s ................................................ 29 Table 9 Telnet T Com Port P Options List .......................................................... 32 Table 10 0. Testing Environment off WIZ1000 ................................................... 34 Table 11. RS-232 PIN N Assignmen nt ............................................................. 37 R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 6 page ction 1. IIntroduc WIZ10 000 is one model m of Serial to Ethe ernet Device Server whic ch is one finnished produ uct of WIZnet with CE, FCC and KCC certificatiions. WIZ100 00 acts as a gateway bettween RS-23 32 and Etherrnet. It enab bles remote gauging, maanaging and control of a device throough the ne etwork based d on Ethernet and TCP/ /IP by conne ecting to th he existing equipment e w with RS-232 serial interfface. In other words, WIZ1000 W is a protocol converter c tha at transmits the data se ent by seriall equipment as TCP/IP data type and d converts back the TCP/IP data recceived throug gh the network into serial data to trransmit backk to the equipment. 1.1. - Key y Features s Connect with the Serrial Device d directly 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 - Telnet Co om Port Optiion (RFC22177) Compliantt - 10/100 Ethernet E Inte erface and m max 230Kbps Serial Interfface - RoHS Com mpliant - CE, FCC and KCC cerrtificated R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 7 page 1.2. Spe ecification The sspecification ns of WIZ1000 0 are introdu uced in Table e 1. IT TEM Descrip ption 8051 com mpliant M MCU (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 Data Bits : 7,8 Serial Parameters Flow Contrrol : None, RTS/CTS, XO ON/XOFF Speed S : up to o 230Kbps Input Voltage DC 5V 5 Power Co onsumption Under 200mA Temp perature 0 0C ~ 80C (Operation), -40C ~ 85C C (Storage) Hum midity 10 ~ 90% 9 Table 1. Sp pecification of WIZ1000 R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 8 page 1.3. Products Con ntents WIZ1000 0 Device Serrver LAN Ca able (Optionaal) 5V Power Adaptor A (Opttional) Table 2.. Products Contents C ny missing item, contact to the shop where w you purchased. If there is an al items shou uld be purcha ased separattely. The optiona R Copyrigght (c) WIZnett All Rights Reserved WIZ1000 | 9 page 2. W WIZ1000 0 2.1. Bloc ck Diagram Figure e 1. Block Diagram WIZ10 000 is a prottocol converrter that tra nsmits the data d sent by 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 WIZ1000 | 10 0 page 2.2. 2 2.2.1. Con nfiguration n Tool Netw work Configuration Figure e 2. User Inte erface of Con nfiguration Tool T (Configuration via Neetwork) Veersion : Dispplays firmware version. The current version of the firmware f of sselected WIZ Z1000 is disp played in thiss field. Enable Serial Debug Moode : If thiss mode is chhecked, you can monitoor the statuus and et message of WIZ1000 (listen OK, connect fail etc.) throu ugh 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 R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 11 1 page d displayed. IPP Configurattion Method: Select IP ssetting modee, you can select s one frrom Static, DHCP, PPPoE E mode. Static c: "Static" is i the option for settin ng WIZ1000 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 : WIZ1000 supports PPPoE P for AD DSL user. Wh hen you select PPPoE in "IP Configuration Metho od" PPPoE ID D and Passwo ord box will be enabled. 1. To o set PPPoE, connect PC to WIZ10000 directly and 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. WIZ1000 Ver. 01.00 --PHASE 0. 0 PPPoE(ADSSL) setup pro ocess---PHASE 1. 1 PPPoE Disccover processs -- ok --PHASE 2. 2 LCP proce ess -- ok --PHASE 3. 3 PPPoE(ADSSL) Authentication mode e -Authentic cation protoccol : c223 00 0, --Waiting g for PPPoE s erver's admiission -- ok --PHASE 4. 4 IPCP proce ess --ok Figure 3. PPPoE P Conn nection Proc cess in Seriial Console R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 12 2 page LLocal IP/Portt : WIZ1000'ss IP address aand Port num mber for netw work connecction 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 : WIZ11000's subneet mask Gaateway : WIZ1000's Gateeway addresss 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 WIZ1000 is set as "Client mode" m or Mix xed mode", sserver IP and d port shoulld be set. WIIZ1000 attem mpts to conn ect this IP address. 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 N Network mo ode of WIZ10 000 can be divided into o TCP Server,, TCP Client and Mixed mode accorrding to th he connectio on establish hing method. At the TCP server mode, WIZ Z1000 nnection, an opera ates as serve er on the prrocess of con nd waits for the connecttion trial from the clientt. WIZ1000 operates o as client at thee TCP Client mode on th he process o of connection n, and tries to connect to t the server's IP and Po ort. Mixed modes m suppo orts both of Server and Client. The ccommunication process of each mod de is as belo ow. Figure 4 4. TCP Serv ver mode At the TCP Serverr mode, WIZ1000 waits ffor the conne ection reque ests. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 13 3 page e can be use eful when th he monitorin ng center trries to conneect to the device d TCP SServer mode (where WIZ1000 is installed) in order to ccheck the sttatus or prov vide the com mmands. In normal n time WIZ1000 is on the waitiing status, aand if there is any conne ection requeest (SYN) from the monittoring cente er, the conn nection is e established (ESTABLISH), ( and data ccommunicattion is . Finally con proce essed (Data Transaction) T nnection is cllosed (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 WIZ1000 W whicch is configu ured as TCP Server S modee. 2. As the connecttion is established, data can be transmitted in both directio ns - from the e host to the e WIZ1000, and a from the e WIZ1000 too the host TCP client mode> m In thiis mode, WIZ Z1000 norma ally operatess as TCP Serrver and waits for the coonnection re equest from the peer. Ho owever, if WIZ1000 W rece eives data fro om 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 WIZ Z1000 is used d) to check 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 UDP Figu ure 6. UDP mode m As we e know, UDP P is not a co onnection orriented proto ocol. But the communiccation port should s also be defined well. If the e UDP mode e is selected d, the data from serial interface can be defin ned where to o delivery via a the "Severr IP Address" and "Port",, and the WI Z1000 can also be defin ned where to o receive Eth hernet data from via the e "Remote Peer P IP Addrress" definitiion. If the d data destina ation and so ource are th e same, the e two IP address will aalso be the same. Pleasse note the destination d and a source arre using the same port. 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 WIIZ1000. Input IP address of DNS serve er provided by ISP in DN NS Server IP, and domain name in the e Server (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. If module doe es not have valid netw work informa ation, Direct IP search is not availlable. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 15 5 page k if module e is connecte ed to the N NAT or priva ate network k. If so, it iss not possib ble to Check conne ect to the module m from m outside. Diirect IP Addrress Search If the ere are more e than one WIZ1000 W in th he same subn net with the e same passw word, the fun nction of "D Direct IP Add dress Search h" will help users to ge et the speciffied WIZ10000 by input its IP addre ess directly. Seearch This function is used u for sea arching the cconnected WIZ1000s W in the t same suub-network. If you want to configure e or update the firmwarre of your WIZ1000, W you have to findd your WIZ10 000 at first. In order to protect WIZ1000 from aattacking, a search s passw word is need ed to input in the popup dialog aftter "Search" " button cliicked as shown in Figu ure 7. The password ca an be modiffied by using g this config guration tooll and its max ximum lengtth is 8 bytes . Be sure to input the ccorrect passsword of yo our WIZ10000, otherwise e, your dev vice cannot be found. After searcching over, the t MAC addresses of ffound WIZ10 000s are listted in the ""Board list" ". The defau ult password is `wiznet'. Fiigure 7 Searrch passworrd input dialog 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. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 16 6 page 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 e the configu uration tool program. p R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 17 7 page 2 2.2.2. Seria al configura ation Figure 8. Config guration Too ol (Serial Config.) CO OM Port Con nfiguration The p parameters of o COM portt of WIZ10000 are listed well in this page. Userss can set the e COM port o of WIZ1000 by b selecting the value off each param meter in the drop down liist. By y clicking the e "Setting" button, sele ected value can be applied. Seerial Data Paacking Condition n be packed to send to the You ccan designate e how the se erial data can t Ethernett. In de efault mode, WIZ1000 ch hecks the se erial buffer and sends any received 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 R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 18 8 page ndition beforre sending too Ethernet. The T condition n is as below w. the specified con e: If there iss not any ne ew data durring designatted time, alll data in thhe serial bufffer is Time 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: 012 23456789 "abc" will be remained r in the serial bu uffer of module. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 19 9 page 2 2.2.3. Option configurration Figurre 9. Configu uration Tool (Option Co onfig.) Inaactivity timeer 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 ffunction can n be used forr more than ttwo or more e systems to connect to a WIZ1000 module. m If one system ho olds the con nnection to the WIZ1000, other sysstems cannoot connect to t the modu ule. If there e is no data a transmissioon during the time deffined in Inaactivity time e, the conne ection will be b closed for other system m to be conn nected. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 20 0 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, WIZ1000 W will close the coonnection an nd enter into o listening staatus. Keeep Alive Intterval Keep p-alive packe et is usually used to che eck whether the other side is alive oor not. Userrs can define e the interva al of sending keep-alive p packet here, and timer will w be startedd when there e is no data tto delivery between WIZ1000 and the e other side. The interval can be set between 0~6 65535 secon nds, and 0 means m the ke eep-alive time er is disabled d that no kee ep-alive packket will be sent. Seerial Configuration Modee Switch Codde 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". Seearch Passw word For tthe security issues, WIZ1000 can haave its own password fo or searching.. The passw word is store ed in the EEPROM of WIIZ1000, and it can be modified m via a this configguration tooll. The passw word can be any alphabe et or numberr. Its length h can be variable and itss maximum length l is 8 b bytes. The pa assword is ca ase sensitivee and the deffault password is `wiznett'. Coonnection Paassword `Conn nection Passw word' function is for bloocking client''s access whiich is not alllowed. 'Conn nection Passw word' functiion can be ooperated only y in `TCP Se erver' mode. When `passsword' functtion operatess, clients sho ould input paassword to access. a 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 W WIZ1000 | 21 1 page Figure 10 0. Option Mo ode for Password Conffiguration 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. Teelnet Com Poort Option The p port of telne et and login password caan also be defined d by users. The m aximum leng gth of telne et login passw word is 8 byttes and its de efault passw word is `wiznet'. The deffault telnet port p is 23. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 22 2 page 3. Firmwarre Upload Ru un `WIZ1000 0 Configuratiion Tool' proogram, and click "Searc ch" button, and input search s pa assword in th he popup dia alog. 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 "Se earch Result" " as shown below Figure.. Figure 11. 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 WIZ1000 first by Configurration Tool p program as shown s above e Fig 10. By using Ping test, t R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 23 3 page W When the window w as sh hown below Figure is diisplayed, sellect file for upload and d click "Ope en" button. Figure 12. Ope en dialog bo ox for upload ding Do o not upload d any other files except ffor WIZ1000 application firmware filee. The firmwa are uploading g status will be pop up as a shown in Figure F 13. Fig gure 13. Firm mware uplo oading window When the firmware is uploaded u succcessfully, the following message willl be shown. Figu ure 14. Firmw ware upgrad ded success sfully R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 24 4 page 4. S Serial Co onfigurattion 4.1. Serial Command C Format It is p possible to configure WIZ Z1000 by usin ng serial com mmand. 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 W WIZ1000 | 25 5 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 W WIZ1000 | 26 6 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 W WIZ1000 | 27 7 page 4.2. WIZ100 00 Configu uration witth Serial Command C C Check WIZ1000 Firmwarre version. Iff version is lo ower, download the latestt firmware fro om d download pa age of http://w www.wiznet.cco.kr Figurre13. Serial C Configuratio on Enable Setting S 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. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 28 8 page 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 8 Ch heck "" response r Successfully y re-booted 9 Mo odule re-boo oting Table 8. Serrial Configura ation Testing Process Abovve process is shown in the e serial conssole as below w figure. WIZ1000 0 Ver.01.00 >Config socket : OK >Listen : OK > WIZ1000 0 Ver. 01.00 >Config socket : OK >Listen : OK Figurre 15 Serial C Configuration Console Display D R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 29 9 page 5. T Telnet Co om Port Options s Telne et Com Port Option is alsso supported d in WIZ1000 0 for configu uration of Coom Port rem motely. The T Telnet Com Port Option of WIZ10000 is compatiible with RF FC2217. A RFFC2217 compliant Telne et client prog gram can alsso be used too access WIZ Z1000. We also provide a Telnet Com m Port Optio on client pro ogram and itss user interfaace is shown n in Figure 16 6. Figure e 16 Interfaace of Telnett Com Port Option O e client is co onnected wiith WIZ1000,, the disable ed login fram me and settting frame will w be If the enabled. If the te elnet login password is se et, you will get a login message. m Aftter login corrrectly, the fo ollowing con nfiguration procedure p caan be started d. Please note the defauult login password of WIIZ1000 is `wiznet', and itt can be mod dified throug gh the option n page by ussers. Once the "Start!" " button is clicked, c the ""WILL" command will be e sent to WIZZ1000. If WIZ1000 R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 30 0 page accept the request, r it will w reply th he other side e with a "DO O" commandd, otherwise e, the can a "DON N'T" comman nd will be re eplied. The C Com port con nfiguration procedure p caan be started d only if the e "DO" reply is received from WIZ11000. For ea ach comman nd, the valuue of 0 is ussed to queryy the currentt settings of WIZ1000. Affter any settting, the "Ov ver!" button should be clicked to te ell WIZ1000 that the co onfiguration is over. If the t value of any param meter is cha anged, 000 will rebo WIZ10 oot again to apply it. Since e WIZ1000 is a gateway between b Com m port and Ethernet, E only the basic Com port options are supported. Su uch as "Set Line L State M Mask", "Set Modem M State e Mask" and ""Set Purge Data", D are in ntroduced in n RFC2217, but not supp ported by WIZ1000. W The e supported Com port options and tthe correspo onding value are list in Ta Table 9. For more m detaile ed introductiion of Telnet Com port o options, plea ase refer to RFC2217. Figure 17 User inte rface of Teln net Com Porrt Option R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 31 1 page Com Port Option Value Exxplain Suppo orted? Baud Rate 0 Re equest current baud rate e Yes 1200 ~ 230400 Se et baud rate Yes 0 Re equest current baud rate e Yes 5 Se et data size to t 5 bits No 6 Se et data size to t 6 bits No 7 Se et data size to t 7 bits Yes 8 Se et data size to t 8 bits Yes 0 Re equest current parity Yes NONE Se et parity to NONE N Yes ODD Se et parity to ODD O Yes EVEN Se et parity to EVEN E Yes MARK Se et parity to MARK M No SPACE Se et parity to SPACE S No 0 Re equest current stop bit size Yes 1 Se et stop bit to o1 Yes 2 Se et stop bit to o2 No 1.5 Se et stop bit to o 1.5 No 0 Re equest current flow conttrol status Yes NONE Se et flow contrrol to NONE Yes XON/XO OFF Se et flow contrrol to XON/X XOFF Yes HARDWA WARE Se et flow contrrol to HARDW WARE Yes 4~9 Re efer to RFC2217 No 10 Re equest current RTS signal status Yes 11 Se et RTS signal state ON Yes 12 Se et RTS signal state OFF Yes 13~19 Re efer to RFC2217 No 20 Re equest current CTS signa al status Yes 21 Se et CTS signall state ON Yes 22 Se et CTS signall state OFF Yes Line SState Mask Any Re efer to RFC2217 No Mode em State Massk Any Re efer to RFC2217 No Purge e Data Any Re efer to RFC2217 No Data Size Parityy Stop Bit Flow Control Table T 9 Teln et Com Portt Options Lisst R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 32 2 page m port opti on command is receive ed by WIZ10000, at leasst one Pleasse note thatt if any Com "WON N'T" comma and must sen nt to WIZ100 0 to reboot it and apply the new va lue. WIZ1000 only replie es the "WILL L" and reque est command d. If a Com port p option value v is receeived by WIZ Z1000, it willl not reply this t comman nd but settin ng. Moreover, any RFC22 217 compliannt Telnet too ol can be ussed to comm municate witth WIZ1000. An example e of using Te elnet Com PPort Option Client progrram to comm municate witth WIZ1000 iis shown in Figure F 17. Affter connectted with WIZ Z1000, the re eceived resp ponses of WIZ Z1000 are lissted in the below b textbo ox. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 33 3 page 6. D Demonstration and a Test In thiis chapter, we w give an ex xample that can be used to test the function of W WIZ1000 The ttesting environment is ass below. PC Ha ardware WIZ10000 1)) RS232 Port 1) WIZ1000 Device S Server 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 Table 10. Testin ng Environm ment of WIZ1 1000 6.1. Hardwa are Interfa ace Power SSerial Cable Reset LAN Cab ble Figure 1 8. WIZ1000 Interface Installl as below steps. STEP P 1: By using g RJ45 Etherrnet cable, co onnect the WIZ1000 W to th he network. R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 34 4 page STEP P 2: Connectt the WIZ100 00 to the seri al device by using serial cable. STEP P 3: Connectt 5V DC adap ptor for powe er supplying.. 6.2. Testing g Serial to Ethernet Function STEP P1: Power on n WIZ1000 board. b STEP P2: Configure e the WIZ1000 by using Configuration Tool progra am. STEP P3: Execute terminal em mulator progra am such as Hyper Terminal, and sellect the COM M port that W WIZ1000 will use. STEP P4: Set the Baud B rate as WIZ1000. and open the STEP P5: Execute another Hyp per terminal, a 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 19. Device Terminal T R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 35 5 page 7. W WIZ1000 Hardwa are Speciification 7.1. Parame eters Power DC C 5V / 200mA A Dimension 90 0.5 x 92 x 22..7 (L x W x H) 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 7.2. Specific cation MCU 80 051 Complian nt FLASH 62 2KByte (MCU U Internal) SRAM 16 6KByte (MCU U Internal) EEPROM M 2K KByte (MCU Internal) 7.3. Board Dimension D ns and Pin n Assignm ment 7.3.1 1. Dimens sions A 90.5 E 6.3 I 5.0 M 87.5 B 11.5 F 22.5 J 11.5 N 4.5 C 67.5 G 9.0 K 9.0 O 25.0 0 D 5.2 H 8.0 L 22.5 P 11.5 Figure 20 0. WIZ1000 Dimension D R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 36 6 page 7.3.2 2. Connec ctor Speciification 7.3.2 2.1. RJ45 Etherrnet port Pin nouts Pin Signa l 1 TX+ 2 TX- 3 RX+ 6 RX- Figure 21. RJ-45 PIN Assignment A 7.3.2 2.2. RS-2 232 1 2 6 3 7 4 8 5 9 Pin Numb ber Signal Description 1 H/W Trrigger Harrdware Trigge er signal Input 2 RxD Recceive Data 3 TxD Tran nsmit Data 4 EXT_G GND Exte ernal Power Ground (Inte ernally shorteed to GND) 5 GND Gro ound 6 NC Nott connect 7 RTS Req quest To Sen nd 8 CTS Clea ar To Send 9 EXT_V VCC Exte ernal Power Input (5V) Table 11. R RS-232 PIN Assignment A R Copyrigght (c) WIZnett All Rights Reserved W WIZ1000 | 37 7 page 8. 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 stand dard ONE(1)) YEAR for th he WIZ1000 board and laabor warranty y after the date of original retail purc chase. Durin g this period d, WIZnet will repair or reeplace a deffective produ ucts or part free of charge e. 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 W WIZ1000 | 38 8 page