background image

 

 

 
 
 
 

 

 

 

 

 
 
 

Sollae Systems Co., Ltd. 

http://www.ezTCP.com

 

RS232 - Ethernet Converter 

CSE-H53N User Manual 

Version 2.2 

Summary of Contents for CSE-H53N

Page 1: ...Sollae Systems Co Ltd http www ezTCP com RS232 Ethernet Converter CSE H53N User Manual Version 2 2 ...

Page 2: ...ensuring this product is disposed of correctly you will help prevent potential negative consequences to the environment and human health which could otherwise be caused by inappropriate disposal of this product The recycling of materials will help to conserve natural resources For more detailed information about the recycling of this product please contact your local city office household waste di...

Page 3: ...1 7 System LED 13 1 7 1 Function button 14 2 Installation and Test 15 2 1 Installation 15 2 1 1 Setting Network Aera 16 2 2 Simple Test 18 3 Configuration 21 3 1 Configuration with ezManager 21 3 1 1 Configuration via LAN 21 3 1 2 Configuration via Serial 22 3 2 AT command 23 4 Operation Modes 24 4 1 What is the Operation Mode 24 4 2 How to entering each mode 24 4 3 Comparison of each mode 25 4 4 ...

Page 4: ...ters 39 5 4 2 Examples 40 6 System Management 42 6 1 Upgrading Firmware 42 6 1 1 Firmware 42 6 1 2 Processes 42 6 2 Status Monitoring 44 6 2 1 Using TELNET 44 6 2 2 Using ezManager 47 6 3 Factory Reset 51 6 3 1 Using Factory Reset 51 6 3 2 Setting custom default values 52 7 Security Function 53 7 1 SSL 53 7 1 1 What is the SSL Secure Socket Layer 53 7 1 2 How to set the SSL 53 7 1 3 Restriction 54...

Page 5: ...ger 60 9 2 Connection Problem over TCP IP 61 9 3 Data Communication Problem over the Serial Port 62 10 Related Material 63 10 1Technical Documents 63 10 2Smart phone Application 63 11 Technical Support and Warranty 64 11 1Technical Support 64 11 2Warranty 64 11 2 1 Refund 64 11 2 2 Free Repair Services 64 11 2 3 Charged Repair Services 64 12 Precaution and Exemption from Liability 65 12 1Precautio...

Page 6: ...as weaknesses like short distance and hard maintenance CSE H53N lets the serial devices connect to the Internet To communicate on the Internet devices should use TCP IP protocol so CSE H53N processes the converting serial data to TCP IP 1 2 Main Features IPv4 IPv6 dual stack Stateless Stateful DHCPv6 address auto configuration RS232 D sub 9pin Male speed up to 230 4Kbps Industrial temperature rang...

Page 7: ...www ezTCP com 1 3 Application Examples 1 1 Connection with a PC Figure 1 1 1 1 connection with a PC Applied to LANs Figure 1 2 applied to LANs Applied to the Internet on Cable Networks Figure 1 3 applied to the Internet on cable networks ...

Page 8: ...r Figure 1 4 applied to the Internet with an IP share router Applied to a serial tunneling system Figure 1 5 applied to a serial tunneling system Applied to a multi drop network 1 4 Components CSE H53N s Body CD including utilities and documents optional DC 5V Adapter Optional RS232 cable optional ...

Page 9: ... Hardware specification 1 5 2 Software Protocol TCP UDP IPv4 Ipv6 dual stack ICMPv6 TCPv6 UDPv6 ICMP ARP DHCP PPPoE DNS DDNS Dynamic DNS Telnet SSL Telnet COM Port Control Option RFC 2217 Operation mode Normal For Normal Data Communication ISP For Upgrading F W Serial Configuration For Configuration via Serial Communicat ion mode TCP Server TCP Passive Connection TCP Client TCP Active Connection A...

Page 10: ...or Figure 1 6 6 pins Terminal block Pin Assignment for RS232 Number Name Description level I O Wiring 1 2 RXD Receive Data RS232 In Required 3 TXD Transmit Data RS232 Out Required 4 DTR Data Terminal Ready RS232 Out Optional 5 GND Ground Ground Required 6 DSR Data Set Ready RS232 In Optional 7 RTS Request To Send RS232 Out Optional 8 CTS Clear To Send RS232 In Optional 9 Table 1 3 pin assignment o...

Page 11: ...rt Parameters Parameter Value Number 1 Type RS232 Baud rate 300 230 400 bps Parity NONE EVEN ODD MARK SPACE Data bit 8 7 Stop bit 1 1 5 2 Flow control NONE RTS CTS Xon Xoff Table 1 4 serial port parameters When the Data bit is set to 7 NONE parity cannot be used ...

Page 12: ...at can automatically sense 1 1 cable or cross over cable Figure 1 7 RJ45 the Ethernet connector interface RJ45 the Ethernet port interface Number Name Direction 1 TX Output 2 TX Output 3 RX Input 4 5 6 RX Input 7 8 Table 1 5 RJ45 the Ethernet port interface Status of the system RJ45 LED Color LED status Description Yellow Off 10 Mbps On 100 Mbps Green On Connecting with Ethernet Off Not connecting...

Page 13: ...CSE H53N User Manual Ver 2 2 12 http www ezTCP com 1 6 3 Power DC 5V is used for the power The specifications of the power jack are as the following Figure 1 8 power jack ...

Page 14: ...o the Ethernet Normal mode STS Yellow Blinks in every second Obtaining an IP address Blinks 4 times at once Without obtaining an IP address under DHCP or PPPoE network On Connecting with TCP ISP mode STS Yellow Off Entering ISP mode Serial Configuration mode STS Yellow Blinks simultaneously Entering Serial Configuration mode LINK Green RXD Yellow TXD Green Table 1 7 LED status on the top panel The...

Page 15: ...ion button There is a switch which is named function switch or button located on the side of the product You can change the operation mode of CSE H53N to ISP or Serial Configuration mode with this switch And it is used for factory reset Figure 1 9 function switch ...

Page 16: ...tallation Before testing CSE H53N users should connect both serial and Ethernet port to a PC It will be no problem that the Ethernet connection includes network hubs In case if your PC doesn t have a RS232 port use a USB to RS232 cable Figure 2 1 connection between CSE H53N and a PC ...

Page 17: ...shed Setting of the PC Add or change the IP address of the network adapter on your PC like following Get into the menu of Windows Control Panel Network Connections Properties of the Network Adapter with right click of your mouse Then you can show the properties of Internet Protocol TCP IP In there press the Advanced button for adding an IP Address like the below figure Figure 2 2 adding changing t...

Page 18: ... to your system proper values should be set via ezManager Major parameters default values are listed on below table To implement this simple test keep these values without any changes Name Default Values Network Local IP Address 10 1 0 1 Subnet Mask 255 0 0 0 Ipv6 Disable Option TELNET Checked IP Address Search Checked Serial Port COM1 Serial Type RS232 Baud Rate 19 200bps Parity NONE Data Bits 8 ...

Page 19: ...N via LAN Figure 2 3 settings for TCP connection Select TCP Client Input correct IP address and port number of CSE H53N Clink the Connect button In case of TCP Server it will be Listen button Opening RS232 Port Figure 2 4 opening COM Port Select COM port which the CSE H53N is connected to Make sure that all the parameters are the same with CSE H53N Press the Open button ...

Page 20: ...ttp www ezTCP com Confirm the TCP Connection and COM port status Figure 2 5 TCP Connected message Check the message if the TCP connection is established Figure 2 6 COM Port open message Check the message if the COM port has been opened ...

Page 21: ...smission test Figure 2 7 successful data transmission Click the Send data on the LAN part Check the data have been shown from the step Figure 2 1 LAN RS232 Press the Send data on the RS232 part Check the data have been received from the step Figure 2 2 RS232 LAN ...

Page 22: ... 1 initial appearance of ezManager 3 1 1 Configuration via LAN Checklists Make sure the connection between your PC and CSE H53N If they are the same network MAC Address search button can be used If they aren t only IP Address search is allowed to use Procedures Figure 3 2 procedures for configuration via LAN ...

Page 23: ...erial Configuration mode Procedures Figure 3 3 procedures for configuration via Serial Step 2 Reading Figure 3 4 reading procedure via serial Choose the Serial tab Select the COM port which the CSE H53N is connected with Open the COM port with the Open button Load the setting with Read button Refer to the ezManager manual on our website for details You can download ezManager application for a smar...

Page 24: ...gured by ezManager Figure 3 5 setting the communication mode to the AT command Procedures Figure 3 6 procedures for configuration with AT command Division Available parameters IP Address related items Local IP Address DHCP PPPoE Subnet Mask Gateway IP Address DNS IP Address TCP connection related items Local Port Peer Address IP Address or Host name Peer Port Option ESC code sending option timeout...

Page 25: ...ers is also available in this mode Serial configuration mode This mode is for configuring environmental parameters through the RS232 port ISP mode This mode is for upgrading firmware In addition you can set environmental parameters even though the security options like password are activated by entering this mode 4 2 How to entering each mode Figure 4 1 How to entering each mode Push the function ...

Page 26: ...on request from TCP clients Passive Connection TCP Client Send connection request to a TCP server Active Connection AT Command Control connections by AT commands Active Passive Connection UDP Communicate in block units without connection Table 4 2 comparison of communication modes 1 Name Protocol Connection Modifying software of serial devices Serial configuration Topology TCP Server TCP Passive U...

Page 27: ... 4 6 1 Upgrading Firmware ISP mode is for upgrading firmware which is offered by us The upgrade is implemented on Ethernet The details are followed in the 6 1 Upgrading Firmware 4 6 2 Revoking Serurity Options CSE H53N offers restriction methods for security like filtering password or MAC and IP address In the ISP mode you can revoke all of these When you forgot the password enter the ISP mode to ...

Page 28: ...ou can handle the serial data of the serial buffer before a TCP connection is established Value Description 0 CSE H53N doesn t send the data Otherwise 512 or under CSE H53N sends the data right after a connection is established 512 or under bytes are strongly recommended Table 5 1 Event Byte Timeout If there is no transmission data for amount of the time the connection would be terminated Notify I...

Page 29: ...requests Remote host sends a connection request SYN segment Processes of the connection The connection is established Data communication is implemented on both side Table 5 2 states of each point Look at the blue arrow The data 123 from the serial port has been sent before establishing a connection In this case the data would not be sent because of the Event Byte is set to 0 ...

Page 30: ...ens connection requests Remote host sends a connection request SYN segment Processes of the connection The connection is established Data communication is implemented on both sides Table 5 3 states of each point As you can see the data 123 has been sent right after establishing a connection because the value of Event Byte had been set to 1 ...

Page 31: ...t Points States Data communication on both sides The last segment arrives at the CSE H53N No data communication for 5 seconds CSE H53N send disconnection request Fin to a remote host Processes of the disconnection The connection is terminated CSE H53N listens connection requests Table 5 4 states of each point ...

Page 32: ... CSE H53N boots up Otherwise 512 or under right after the bytes set to Event Byte have been received from the serial port Setting to less than 512 bytes is strongly recommended Table 5 5 the operation of Event Byte 1 In addition you can handle the serial data before a TCP connection is established with this parameter Value Description 0 CSE H53N does not send the data Otherwise 512 or under CSE H5...

Page 33: ...hart Points States Power is not supplied yet CSE H53N sends a connection request segment right after it boots up Processes of TCP connection The connection is established Data communication on both sides Table 5 7 state of each point Look at the blue arrow The data 123 from the serial port was sent before establishing a connection In this case the data would not be sent because of the Event Byte i...

Page 34: ...ght after receiving 5 bytes Processes of the TCP connection The connection is established The data 1234567 is transmitted to the remote host Table 5 8 states of each point As you can see CSE H53N has sent a request segment right after the size of the serial data has been 5 bytes Even though they arrived before the connection the data 123 45 and 67 was transmitted to the remote host because the Eve...

Page 35: ...N is on line and processes of the disconnection The connection has been terminated Both sides are offline Sends TCP connection request segment Table 5 9 state description The TCP Server Client mode can be useful option by using Event Byte and Timeout Note that only one TCP connection can be established at the same time so users should consider setting Timeout properly Refer to the TCP server Clien...

Page 36: ...t at plp 1470 CR PRIP Peer IP Address at prip 10 1 0 2 CR PRP Peer Port at prp 1470 CR PDC DHCP at pdc 1 ON CR PPE PPPoE at ppe 1 ON CR PTO Timeout at pto 10 CR PWP Store setting at pwp CR Table 5 10 some of extended commands for configuration Related items with IP Address and Local Port Local port can be set as well as IP address related parameters like IP Address Subnet Mask and Gateway IP Addre...

Page 37: ...onfiguring parameters with AT commands ATA command has arrived CSE H53N listens to TCP connection requests A remote host sends SYN segment to CSE H53N Processes of TCP connection TCP connection is established CSE H53N sends CONNECT message to the serial port Table 5 11 state of each other Refer to the At Command ATC Mode document on our website for details ...

Page 38: ...ive connection Figure 5 8 time chart Points States configuring parameters with AT commands CSE H53N sends a TCP connection request with the ATD command Processes of TCP connection TCP connection is established CSE H53N sends CONNECT message to the serial port Table 5 12 state of each other ...

Page 39: ... sends FIN segment right after the ATH arrives Processes of TCP disconnection TCP connection is terminated CSE H53N sends NO CARRIER with disconnection Table 5 13 states of each other CSE H53N changes the mode to AT command when receiving In this state the communication with remote host is unavailable because CSE H53N processes only AT commands Whenever you want to go back to on line state just gi...

Page 40: ...e Block Size Byte is to set the time to gather data in one block Its unit is byte If the data in configured size of the Event Byte comes into the serial port CSE H53N will send them as one block to the network The maximum value could be 1460 bytes Dynamic update of Peer host If you set the value of Peer Address and Peer Port to 0 dynamic update of peer host function is activated By using this func...

Page 41: ... H53N receives data from the serial port CSE H53N sends 5 bytes as one block based on the Event byte Serial device sends data 678 The data 678 arrives CSE H53N sends data from the remote host to the serial device 2byte time has passed CSE H53N sends data 678 as one block based on the Data frame Table 5 14 state of each point ...

Page 42: ...er Address 0 None Peer Port 0 Table 5 15 setting for dynamic update of peer host function Figure 5 11 time chart Points States Sending any UDP data to the network is impossible UDP data arrives from Remote Host 2 Send UDP data to Remote Host 2 UDP data arrives from Remote Host 1 Send UDP data to Remote Host 1 UDP data arrives from Remote Host 2 Send UDP data to Remote Host 2 Table 5 16 state descr...

Page 43: ...ware file We update our homepage when a new firmware is released You can find it on our website Entering ISP mode Enter ISP mode to download firmware file to CSE H53N Run a TFTP client and ready to send the F W file Run a TFTP client program ezManager is equipped the client program Click the Change F W HTML button Figure 6 1 running TFTP client Check the Advanced Menu check box Click the Change F ...

Page 44: ...Manual Ver 2 2 43 http www ezTCP com Checking firmware file and Sending Figure 6 2 sending firmware file Check if the name and path of the firmware file are correct Click the Send button Confirm the completed message ...

Page 45: ...heck each state Command Option Description Usage st net Ipv4 Network Status lsh st net net6 Ipv6 Network Status lsh st net6 sio Serial Port Status lsh st sio uptime System Uptime lsh st uptime sc OP1 OP2 Session Control lsh sc com1 close sd OP1 OP2 Serial Data Capture lsh sd 1 100 Serial Data Capturing Stops lsh sd 1 0 exit Telnet Session Exit lsh exit Table 6 1 Commands for checking states st net...

Page 46: ...t6 command st sio st sio command displays the number of bytes for the serial port lsh st sio port fmax rbmax rxbuf txbuf rx_count tx_count com1 0 0 0 0 0 0 lsh Figure 6 6 st sio command st uptime st uptime command shows amount of time since CSE H53N boots up lsh st uptime 00 05 19 16 up 0 days lsh Figure 6 7 st uptime command sc sc command is used when users close a session OP1 means the name of s...

Page 47: ...1 32 33 34 35 36 37 01234567 rx1 30 31 32 33 34 35 36 37 01234567 Figure 6 9 sd serial data capture Below is the example of how to stop capturing a serial data lsh sd 1 0 com1 dump stop lsh Figure 6 10 serial data capturing stops exit exit command is used when users close Telnet session lsh exit Figure 6 11 exit command In case of the sc command you should use only small letters You can download T...

Page 48: ...ow the status is automatically updated in every second Figure 6 12 status window of ezManager FIRMWARE VERSION The name of model name and the version of firmware are displayed here SYSTEM UPTIME Amount of time is displayed since CSE H53N boots up IP4 NETWORK INFORMATION All information about related items with Ipv4 Address is shown here It works even if the IP address is assigned from DHCP or PPPo...

Page 49: ...SE TCP connection is closed SYN_SENT Send SYN segment to make TCP connection ESTABLISHED When TCP connection is established N A In UDP mode Table 6 2 TCP STATE SERIAL STATUS Amount of data in every buffer is displayed The unit is byte Buffer Description sio_rx The number of data which is received from the COM port net_tx The number of data which is sent to the remote host net_rx The number of data...

Page 50: ...means the device has information about the opponent after it sends Neighbor Solicitation and receives Neighbor Advertisement STALE The device will change into STALE state after some time later reaching REACHABLE DELAY The device will change into DELAY state if there is no response to Neighbor Solicitation In this case CSE H53N will not be able to communicate with the device PROBE CSE H53N will res...

Page 51: ...p www ezTCP com IP address Conflict Detection By clicking this button you can find devices which have the same IP address to yours on the network Figure 6 13 Without IP address conflict detection Figure 6 14 IP address conflict detection ...

Page 52: ... use it as default values by the factory reset However if you do not use the region Factory Reset uses a factory default by manufacturer as its default values 6 3 1 Using Factory Reset Push the function button less than 1 second Push the function button over 10 seconds LED status is as follow pictures STS ON LINK ON RXD ON TXD RXD LINK STS PWR are ON TXD RXD LINK STS are blinks ...

Page 53: ...lues Change the mode to Serial Configuration Save custom default values by ezManager or serial configuration commands Input the command below b SPACE 3c5a CR After step current values in the SRAM is saved in user defined ENV region and the values will be always used for Factory Reset ...

Page 54: ...rks over TCP 7 1 2 How to set the SSL To works for SSL you have to set the SSL related parameters as the following steps Set the SSL check box in the ezManager Check the SSL of the Option tab of the ezManager Figure 7 1 Setting of Option After check the Advanced Menu of the ezManager Click the Certificate Figure 7 2 Create the certification Choice the Write self signed certificate Figure 7 3 Creat...

Page 55: ... Self signed certificate Figure 7 4 Input the information Check a success message Figure 7 5 Check of success message 7 1 3 Restriction If user set the SSL with the CSE H53N the other device have to set the SSL Maximum baud rate of serial port is the 115 200bps Cannot use SSL feature in Ipv6 ...

Page 56: ...1 10 1 0 254 192 168 1 4 255 255 255 255 192 168 1 4 Table 7 1 examples of defining allowed Ipv4 range Apply to ezManager Apply to ezManager is for applying above two restrictions to ezManager functions like Search Read Write and etc Examples for Ipv6 Ipv6 Address Prefix Allowed IP Address Range 2001 DB8 100 64 2001 DB8 1 2001 DB8 FFFF FFFF FFFF FFFF 2001 DB8 100 128 2001 DB8 100 Table 7 2 example...

Page 57: ... names on the website of DynDNS before you use All about service usage of an account could be changed according to the policy of DynDNS DynDNS website http dyn com dns Figure 8 1 setting DDNS Select the DDNS dyndns org 40 320 is a fixed value Input the ID of DDNS account Input the password of the account Input a host name which you create on your account TCP UDP In case you have an own server and ...

Page 58: ... right after the connection is established By using this function a server can identify multiple devices with the information Figure 8 2 setting of Sending MAC Address function Move to the Option tab Check the Send MAC Address option You can use Send MAC Address and SSL at the same time Refer to the Sending MAC Address Function document on our website for details ...

Page 59: ...is option CSE H53N sends the data from the serial port to LAN as quickly as possible 8 3 2 Separator Using this function you can control the length of network packets by specific characters Separator options Length select the length between 0 4 bytes Operation Transmit Separators without additional bytes Transmit Separators 1 byte Transmit Separators 2 bytes Table 8 1 separator ...

Page 60: ...P Server Client mode This mode is available on TCP client mode only In this mode you do not need to change the mode for switching active or passive TCP connection Note that the Event Byte option should be set to more than 1 Refer to the TCP Server Client mode document on our website for details CSE H53N s Data Frame interval is configured 2byte data interval Before sending data from the serial por...

Page 61: ...functions so it can cause some trouble to search CSE H53N Stop these programs before the searching Stable supply of the power Check if the power is supplied continually If the power is constantly supplied the PWR Red LED on the CSE H53N s body will be turned ON Connection with the network Make sure that the network connection is fine including Ethernet cable In this step we recommend that users co...

Page 62: ...wall In case the networks which need strong security the access may be denied by their firewall Under this circumstance users should ask the person in charge of their network to release ports which will be used Ex TCP 1470 UDP 50005 Operation Mode TCP connection is not possible when CSE H53N is operating in the ISP or Serial Configuration mode Communication Mode To make TCP connection both a serve...

Page 63: ...e connection of each pin is right Using cables users choose the right type of cable which is suitable for the device Figure 9 1 RS232 connection Setting parameters Check if all the serial port parameters like Baud Rate Data bit Stop bit and Parity are properly set Contact us if you have any questions about above steps or our products ...

Page 64: ...can find the technical documents at our website Datasheet IP Change Notification DDNS Sending MAC Address function TCP Server Client mode Telnet COM Port Control Option IPv6 Guide 10 2 Smart phone Application ezManager for iOS ezManager Lite for Android TCP IP Console for iOS TCP IP Client for Android ...

Page 65: ...e customer s request to refund the product within two weeks after purchase Sollae Systems will refund the product 11 2 2 Free Repair Services For product failures occurring within 2 years after purchase Sollae Systems provides free repair services or exchange the product However if the product failure is due to user s fault repair service fees will be charged or the product will be replaced at use...

Page 66: ...nd applications provided by Sollae Systems for purposes other than those for which they were designed is prohibited Do not use the product in an extremely cold or hot place or in a place where vibration is severe Do not use the product in an environment in which humidity is high or a lot of oil exists Do not use the product where there is caustic or combustible gas Sollae Systems does not guarante...

Page 67: ... cars planes trucks boats aircraft helicopters etc In the same way the CSE H53N is not designed or intended or authorized to test develop or be built into applications where failure could create a dangerous situation that may result in financial losses damage to property personal injury or the death of people or animals If you use the CSE H53N voluntarily or involuntarily for such unauthorized app...

Page 68: ... de données à caractère commercial ou de toute autre perte financière provenant de l utilisation ou de l incapacité à pouvoir utiliser le boîtier CSE H53N même si Sollae Systems Co Ltd ou un de ses distributeurs a été informé de la possibilité de tels dommages Le boîtier CSE H53N est exclusivement prévu pour un usage en intérieur dans un environnement sec et non poussiéreux Le boîtier CSE H53N n e...

Page 69: ...fiabilité créer des dysfonctionnements et ou la destruction du boîtier CSE H53N sans que la responsabilité de Sollae Systems Co Ltd et de ses distributeurs ne puissent être mise en cause ni que le boîtier CSE H53N puisse être échangé au titre de la garantie Rappel sur l évacuation des équipements électroniques usagés Le symbole de la poubelle barré présent sur le boîtier CSE H53N indique que vous ...

Page 70: ...n 2014 07 23 1 5 Added contents of telnet command sd exit Sara Lee 2014 11 11 1 6 Added contents of Peer address Sara Lee 2015 02 03 1 7 Modify Status of the system RJ45 LED Modify Firmware upgrade image Sara Lee 2015 05 20 1 8 Modify the French version of Exemption from Liability Sara Lee 2015 10 21 1 9 Added contents about parity Added contents of telnet command sd close Sara Lee 2016 03 31 2 0 ...

Reviews: