You are on page 1of 19

WIZ125SR User Manual

( Version 1.0 )

©2010 WIZnet Co., Ltd. All Rights Reserved. ☞ For more information, visit our website at http://www.wiznet.co.kr
WIZ125SR User Manual (WIZnet Co., Ltd.)

-1-

) -2- .0 Official Release Changes WIZ125SR Manual (WIZnet Co.Document Revision History Date 2010-04-20 Revision V1. Ltd..

Ltd.kr For more information.kr WIZ125SR Manual (WIZnet Co. please visit our website and submit your questions on the Q&A Board..kr Sales & Distribution: sales@wiznet.) -3- .co.wiznet.co.. Ltd. We will reply your questions as soon as possible CLICK COPYRIGHT NOTICE Copyright 2010 WIZnet Co. Technical Support: support@wiznet.co.WIZnet’s Online Technical Support If you have any questions about our products. visit our website at http://www. All Rights Reserved.

.. 1 1..........1 RJ-45 Connector .......................................................................) -4- ........ 11 3.............2 WIZ125SR Configuration with Serial Command ..... 4 2................................................... Serial Configuration .............................. 13 WIZ125SR Manual (WIZnet Co............................3 WIZ125SR Interface ................................................................... 4 2...............................................................................2 Connector Specification ...........................................................Contents 1............................. 11 3...............................................2 DB-9 Connector ............ 12 4......................... Hardware Specification ... 9 3................ Ltd........................................................................ Introduction .......................................................................................................................................... 1 1.............. Warranty ................................. 12 3..............2 Product Specifications ........................................................................................................ 2 1..............1 Key Features................................................................................................ 12 3.2........................................................................2................................... 3 2...........................1 Serial Command Format.............................1 WIZ125SR Dimension .......................................................................

....................................... 11 FIGURE 4.............................................. SERIAL CONFIGURATION ENABLE SETTING ................................ Ltd............ WIZ125SR DIMENSIONS (UNIT : MM) ..................) -5- .......9 FIGURE 3........................................... RJ-45 PIN ASSIGNMENT ............................................... 12 WIZ125SR Manual (WIZnet Co.................................................................................................Figures FIGURE 1.................... 3 FIGURE 2........... WIZ125SR INTERFACE ........................................................................................

.......................................................................... SERIAL CONFIGURATION COMMAND CODE ................................................................................ Ltd....5 TABLE 6......................................4 TABLE 5........ 10 TABLE 8....................................... SERIAL CONFIGURATION STX & ETX ................................................................................ 12 WIZ125SR Manual (WIZnet Co............................ SERIAL CONFIGURATION FRAME FORMAT .... DB-9 RS-232C CONNECTOR PIN-ASSIGNMENT ...........................................4 TABLE 4....................) -6- . SERIAL CONFIGURATION TEST PROCEDURE ........................................Tables TABLE 1....................................................................................8 TABLE 7.......................... WIZ125SR SPECIFICATIONS ..........................................2 TABLE 2.......................... SERIAL CONFIGURATION REPLY CODE...............................4 TABLE 3............................................................................................................ SERIAL CONFIGURATION REPLY FRAME FORMAT .............................................

WIZ125SR has been designed by using WIZ120SR module and WIZ120SR-EVB.) 1 . 1. Introduction WIZ125SR is a 2 ports gateway module that converts RS-232 protocol into TCP/IP protocol.1 Key Features „ Direct connection to the serial device ¾ ¾ Adding network function simply and quickly Providing Firmware customization „ Support 2 Port Serial „ System Stability and Reliability by using W5100 Hardware Chip „ Supports PPPoE Connection „ Support “User Password” function for security „ Supports Serial Configuration – with Simple and Easy command „ Supports Password for the Security „ Configuration Tool Program „ 10/100 Ethernet Interface and max 230Kbps Serial Interface „ Support DNS function „ RoHS Compliant WIZ125SR User Manual (WIZnet Co. Ltd. In other words.. remote management of the device through the network based on the Ethernet and the TCP/IP by connecting to existing equipments with RS-232 serial interface. Refer to the ‘WIZ120SR User Manual’ for detail description.1. It enables remote gauging. Therefore all functions and operations are identical with WIZ120SR module. WIZ125SR is a protocol converter that transmits the data sent by serial equipment as TCP/IP data type and converts back the TCP/IP data received through the network into serial data to transmit back to the equipment.

ICMP. 7-O-1. UDP.5mm x 18mm ( Include connector size ) Table 1. 8-E-1. CTS/RTS TXD. 8-O-1.5mm x 65.2 Product Specifications Category Protocol Network Interface Serial Port CPU Serial line format Serial flow control Serial signal Software Serial Transmission Speed Temperature Humidity Power Size Specification TCP. Ltd. 220mA(MAX) 88. MAC. GND Remote Download and Configuration 1200bps ~ 230Kbps 0 ~ 70°C (Operating). PPPoE. RXD. 10~90% DC 5V. IP. RTS. XON/XOFF. CTS. IGMP. ARP. DNS 10/100 Base-T Ethernet (Auto detection) / RJ-45 RS-232C DB-9 2port Cortex-M3 Core 8-N-1. WIZ125SR Specifications -40 ~ 85°C (Storage) WIZ125SR User Manual (WIZnet Co.) 2 . 7-E-1 None.. DHCP.1.

Ltd. WIZ125SR Interface WIZ125SR User Manual (WIZnet Co..3 WIZ125SR Interface Figure 1.) 3 .1.

.1 Serial Command Format Serial Command is used to set WIZ125SR parameter. This function is using S/W trigger of WIZ125SR. and this function support UART 0 only. you can start configuration mode. Serial Configuration 2. Serial Configuration Frame format Reply Frame format Descriptor Length(bytes) STX 1 Reply code 1 Parameter Variable ETX 1 Table 3. User can set any special character with the configuration tool. Command Frame format Descriptor Length(bytes) STX 1 Command code 2 Parameter Variable ETX 1 Table 2. if input specific letters(three characters). Serial Configuration STX & ETX Reply Code Reply S Comments Command was successful WIZ125SR User Manual (WIZnet Co. Serial Configuration Reply Frame format STX & ETX Setting STX ETX Comments ‘<’ : Hex = 3Ch ‘>’ : Hex = 3Eh Table 4.2.) 4 . Ltd.

5: 9600.133) xxx. 1 : DHCP. Serial Configuration Reply Code Command Code Command WI WS WG Set common parameter WD WT WE WY WZ WR WP WM 0~65535 0 : TCP Client. 192.xxx. WB 3: 38400..xxx. 255.xxx (eg. 1 : UDP XXXX eg.xxx (eg. 7: 2400. data.168.1) 0 : Static.xxx. Ltd.xxx.xxx (eg.11. 2 : TCP Server Set UART0 parameter WK 0 : TCP. 6: 4800.168.11. 192.F 0 1 2 3 E Command failed Invalid STX Invalid command Invalid parameter Invalid ETX Enter Serial Command Mode Table 5. 8bit WIZ125SR User Manual (WIZnet Co. parity and flow control for UART0.) Parameter xxx.255.255.8: 1200 [data byte] 7 : 7bit. 4: 19200.0) xxx. In hex format : 2B 2B 2B) PPPoE ID PPPoE Password Comments Set Local IP Set Subnet mask Set Gateway Set the IP configuration method Set the serial command method Set the command mode character Set PPPoE ID Set PPPoE Password Restart Set Local IP’s port number for UART0 Set the TCP operation mode for UART0 Set Protocol(TCP or UDP) for UART0 Set the serial baud rate. 1 : Enable xxxxxx (eg. 4bytes:[Baud][data byte][parity][flow] 5 . [Baudrate]1: 115200. 2: 57600. 1 : TCP Mixed. 2 : PPPoE 0 : Disable.xxx.xxx.

. parity and flow control for UART1.168.xxx. 8bit [parity] 0 : no parity.255. 4bytes:[Baud][data byte][parity][flow] Set DNS option for UART0 Set DNS IP for UART0 Set Domain for UART0 Set server IP address for UART0 Set server port number for UART0 Set delimiter character in hex for UART0 Set delimiter size for UART0 Set delimiter time for UART0 Set Inactivity timer value for UART0 Set Local IP’s port number for UART1 Set the TCP operation mode for UART1 Set Protocol(TCP or UDP) for UART1 OM OK WIZ125SR User Manual (WIZnet Co. wiznet.kr) xxx.xxx (eg. 2 : TCP Server 0 : TCP.xxx (eg.co. 1 : Odd. 1 : Enable xxx. 5: 9600.xxx. Set UART1 parameter OB 6: 4800.[parity] 0 : no parity. 2 :Even [Flow] 0 : no.144) 0~65535 Set DNS option for UART1 Set DNS IP for UART1 Set Domain for UART1 Set server IP address for UART1 Set server port number for UART1 Set the serial baud rate. 1 : Xon/Xoff.xxx. 1 : TCP Mixed. 2 :RTS/CTS WU WV WW WX WN WC WJ WH WL OP 0 : Disable.) 6 . 4: 19200. 2: 57600.255. [Baudrate]1: 115200.144) 0~65535 XX 0~255 0~65535 0~65535 0~65535 0 : TCP Client.8: 1200 [data byte] 7 : 7bit. data.xxx.11.xxx. 7: 2400.xxx. 3: 38400. wiznet.0) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (eg.255. 1 : Odd.xxx. 1 : Enable xxx. 255.11. Ltd.xxx. 1 : UDP XXXX eg.co.kr) xxx.xxx (eg.xxx (eg. 192.168. 1 : Xon/Xoff.255. 192. 2 :Even [Flow] 0 : no. 2 :RTS/CTS OU OV OW OX ON 0 : Disable. 255.0) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (eg.

xxx.8: 1200 [data byte] 7 : 7bit.xxx. 1 : Use IP address Domain name xxx. Ltd. 192.0) IP Address Subnet Mask Gateway address 0 : Static. Set delimiter character in hex for UART1 Set delimiter size for UART1 Set delimiter time for UART1 Set Inactivity timer value for UART1 Get MAC Address Get the firmware version Get Local IP Get Subnet mask Get Gateway Get the IP configuration method Get the serial command method Get the command mode character Get PPPoE ID Get PPPoE Password Get Local IP’s port number for UART0 Get the operation mode for UART0 Get the Protocol for UART0 RM RK Get UART0 parameter RB 3: 38400. 8bit [parity] 0 : no parity. 1 : Enable xxxxxx (eg. 1.) 7 .168. 2 : TCP Server 0 : TCP.. 2 : PPPoE 0 : Disable. 5: 9600. 6: 4800. 7: 2400. 1 : Odd. 2: 57600.x (eg. 2 :RTS/CTS RU RV RW RX 0 : Not use . 1 : DHCP. 4: 19200. 1 : TCP Mixed. 2 :Even [Flow] 0 : no.OC OJ OH OL RA RF RI Get common parameter RS RG RD RT RE RY RZ RP XX 0~255 0~65535 0~65535 MAC Address x.144) Get DNS option for UART0 Get DNS IP for UART0 Get Domain Name for UART0 Get the server IP address for UART0 Get the UART0 baud rate WIZ125SR User Manual (WIZnet Co.xxx (eg.11. 1 : Xon/Xoff. In hex format : 2B 2B 2B) PPPoE ID PPPoE Password Local Port Number 0 : TCP Client. [Baudrate]1: 115200. 1 : UDP XXXX eg.

7: 2400. [Baudrate]1: 115200. 1 : TCP Mixed.) 8 . Serial Configuration Command Code WIZ125SR User Manual (WIZnet Co. 5: 9600. Ltd. 2 : TCP Server 0 : TCP. 2 :Even [Flow] 0 : no. 1 : UDP XXXX eg.168.RN 0~65535 Get the server port number for UART0 Get delimiter character in hex for UART0 Get delimiter size for UART0 Get delimiter time for UART0 Get Inactivity timer value for UART0 Get Local IP’s port number for UART1 Get the operation mode for UART1 Get the Protocol for UART1 RC RJ RH RL QP XX 0~255 0~65535 0~65535 Local Port Number 0 : TCP Client. 1 : Use IP address Domain name xxx. 1 : Xon/Xoff. data. 2 :RTS/CTS 0 : Not use . 192. 8bit Get UART1 parameter QU QV QW QX QN [parity] 0 : no parity.. QM QK Set the serial baud rate.11. 1 : Odd. 2: 57600. 4bytes:[Baud][data byte][parity][flow] OB 6: 4800. parity and flow control for UART1.xxx. 4: 19200.8: 1200 [data byte] 7 : 7bit. 3: 38400.xxx (eg.144) 0~65535 Get DNS option for UART1 Get DNS IP for UART1 Get Domain Name for UART1 Get the server IP address for UART1 Get the server port number for UART1 Get delimiter character in hex for UART1 Get delimiter size for UART1 Get delimiter time for UART1 Get Inactivity timer value for UART1 QC QJ QH QL XX 0~255 0~65535 0~65535 Table 6.xxx.

) .. Serial Configuration enable setting ① Check WIZ125SR Firmware version. Ltd. 2B are input) As above Figure. ③ Input any three characters for the serial command mode trigger (in above Figure.2 WIZ125SR Configuration with Serial Command Figure 2. 2B. 2B.3 9 WIZ125SR User Manual (WIZnet Co. If version is lower.11.kr.co.wiznet. download the latest firmware from download page of http://www. Serial configuration function is support firmware version 2.3>” input Enter Serial Configuration mode Notice Access Success Change module IP to 192. String fact for entering configuration mode is ‘+++’ (‘+’ : 0x2B) ④ If you finish enable setting.11. This procedure is ‘checking module IP and change to other IP address’ 1 2 3 Input “+++” “<E>” Check Answer “<WI192.2.168. you can test as below procedure.5 or later.168. ② Connect the serial cable to ‘UART 0’. click ‘Enable check box’ of serial configuration and save the ‘Setting’ button.

) 10 ..3>” Check answer “<WR>” input “<S>” check answer Module reboot Notice success IP setting check module IP address check the changed module IP address reboot Notice success of reboot command Table 7. Ltd.4 5 6 7 8 9 “<S>” Check answer “<RI>” input “<S192. Serial Configuration Test Procedure WIZ125SR User Manual (WIZnet Co.168.11.

5 3.5 4.5 5.0 9.0 C G K O 15..5 10. Hardware Specification 3.5 37.5 4. Ltd.0 Figure 3.3.) 11 .5 20.0 20.0 4. WIZ125SR Dimensions (unit : mm) WIZ125SR User Manual (WIZnet Co.0 B F J N 4.5 D H L 16.0 88.1 WIZ125SR Dimension A E I M 65.

1 RJ-45 Connector Pin 1 2 3 6 Signal TX+ TXRX+ RX- Figure 4.2.2 DB-9 Connector Pin Number 1 2 3 4 5 6 7 8 9 Signal RXD1 / RXD2 TXD1 / TXD2 GND RTS1 / RTS2 CTS1 / CTS2 - Description Receive Data for Port 1 & Port 2 Transmit Data for Port 1 & Port 2 System Ground Request To Send for Port 1 & Port 2 Clear To Send for Port 1 & Port 2 Table 8. DB-9 RS-232C Connector PIN-Assignment WIZ125SR User Manual (WIZnet Co.2.) 12 .3. RJ-45 PIN Assignment 3.2 Connector Specification 3. Ltd..

This offer is non-transferable. 2. or used in violation of instructions furnished by us ..) 13 . Warranty WIZnet Co. damage to products or parts caused by accident. WIZnet warrants our products and its parts against defects in materials and workmanship under normal use for period of standard ONE(1) YEAR for the WIZ125SR board and labor warranty after the date of original retail purchase. please contact to sales@wiznet. mishandling. misapplication. poor maintenance. 3. or misuse. The warranty applies only to products distributed by WIZnet or our official distributors. The warranty applies only to defects in material or workmanship as mentioned above in 6. Any service issue. Send the products to the distributors or dealers together with the completed RMA request form. 2. modification. faulty installation or service by anyone other than someone authorized by WIZnet Inc. Ltd.kr WIZ125SR User Manual (WIZnet Co. repair. abuse. such as lightening or line surge.co. During this period.Warranty. damage occurring in shipment or any damage caused by an act of God. . Contact an authorized distributors or dealer of WIZnet Inc. All products returned for warranty must be carefully repackaged in the original packing materials. for obtaining an RMA (Return Merchandise Authorization) request form within the applicable warranty period. Ltd offers the following limited warranties applicable only to the original purchaser. Warranty Conditions: 1. Procedure for Obtaining Warranty Service 1.4. WIZnet will repair or replace a defective products or part free of charge.. The warranty applies only to defects which occur during normal use and does not extend to damage to products or parts which results from alternation.