Sollae Systems CSE-H55N User Manual

Sollae Systems CSE-H55N User Manual

Rs422/485 - ethernet converter
Hide thumbs Also See for CSE-H55N:
Table of Contents

Advertisement

Quick Links

RS422/485 - Ethernet Converter
CSE-H55N User's Manual
Version 1.2
Sollae Systems Co., Ltd.
http://www.ezTCP.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CSE-H55N and is the answer not in the manual?

Questions and answers

Summary of Contents for Sollae Systems CSE-H55N

  • Page 1 RS422/485 - Ethernet Converter CSE-H55N User’s Manual Version 1.2 Sollae Systems Co., Ltd. http://www.ezTCP.com...
  • Page 2: Table Of Contents

    CSE-H55N User’s Manual Ver. 1.2 Contents Overview ..........................- 4 - 1.1 Overview ................................- 4 - 1.2 Features .................................. - 4 - 1.3 Application Examples ............................- 5 - 1.4 Components ................................. - 7 - 1.5 Specification ................................. - 8 - 1.5.1 Hardware ..............................
  • Page 3 CSE-H55N User’s Manual Ver. 1.2 4.6.2 Revoking Serurity Options......................... - 26 - Communication Modes ...................... - 27 - 5.1 TCP Server ................................- 27 - 5.1.1 Key parameters ............................- 27 - 5.1.2 Examples ..............................- 28 - 5.2 TCP Client ................................- 31 - 5.2.1 Key parameters ............................
  • Page 4 CSE-H55N User’s Manual Ver. 1.2 8.2 Sending MAC Address..........................- 56 - 8.3 Serial Port Tab Functions ..........................- 57 - 8.3.1 Disable TCP Transmission Delay - ① ................... - 57 - 8.3.2 Data Frame Interval - ② ........................- 57 - 8.3.3 Separator - ③............................
  • Page 5: Overview

    The serial communication is quite simple to implement but has weaknesses like short distance and hard maintenance. CSE-H55N lets the serial devices connect to the Internet. To communicate on the Internet, devices should use TCP/IP protocol, so CSE-H55N processes the converting serial data to TCP/IP.
  • Page 6: Application Examples

    CSE-H55N User’s Manual Ver. 1.2 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 - 5 - http://www.ezTCP.com...
  • Page 7 CSE-H55N User’s Manual Ver. 1.2  Applied to the Internet with an IP Share Router 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 ...
  • Page 8: Components

    CSE-H55N User’s Manual Ver. 1.2 1.4 Components  CSE-H55N’s Body  CD, including utilities and documents (option)  DC 5V Adapter (Option) - 7 - http://www.ezTCP.com...
  • Page 9: Specification

    CSE-H55N User’s Manual Ver. 1.2 1.5 Specification 1.5.1 Hardware Input Voltage DC 5V (±10%) Power Current 165mA typical Dimension 94mm x 57mm x 24mm Weight About 63g Serial RS422 / RS485 (Baud Rate: 1,200bps ~ 230,400bps) Serial Port 10 Base-T or 100 Base-TX Ethernet Auto-Sensing...
  • Page 10: Interfaces

    CSE-H55N User’s Manual Ver. 1.2 1.6 Interfaces 1.6.1 Serial Interface CSE-H55N has a serial port for user serial device (1,200bps ~ 230,400bps). This port is interfaced with 6-pins terminal block and the each pin should be fixed by a flat-head screwdriver driver.
  • Page 11 CSE-H55N User’s Manual Ver. 1.2  Serial Port Parameters Parameter Value Number Type RS422 / RS485 Baud rate 300 ~ 230,400 [bps] Parity NONE / EVEN / ODD / MARK / SPACE Data bit Stop bit 1 / 1.5 / 2...
  • Page 12: Ethernet Interface

    CSE-H55N User’s Manual Ver. 1.2 1.6.2 Ethernet Interface Since part of CSE-H55N network is composed of Ethernet, UTP cable may be connected. It will automatically sense 10Mbits or 100Mbits Ethernet and connect itself. It also provides auto MDI/MDIX function that can automatically sense 1:1 cable or cross over cable.
  • Page 13: Power

    CSE-H55N User’s Manual Ver. 1.2 1.6.3 Power DC 5V is used for the power. The specifications of the power jack are as the following: Figure 1-9 power jack - 12 - http://www.ezTCP.com...
  • Page 14: System Led

    CSE-H55N User’s Manual Ver. 1.2 1.7 System LED CSE-H55N has several lamps to show the current system status. Each lamp shows the following status: Mode Name Color Status Description Supplying the power LINK Green Connecting with Ethernet Common Yellow Blinks...
  • Page 15: Function 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-H55N to ISP or Serial Configuration mode with this switch. And it is used for factory reset.
  • Page 16: Installation And Test

    Before testing CSE-H55N, users should connect both serial and Ethernet port to a PC. To connect the RS232 port of your PC and CSE-H55N via serial, you need a RS232 to RS422/RS485 converter. It will be no problem that the Ethernet connection includes network hubs.
  • Page 17: Setting Network Aera

    CSE-H55N User’s Manual Ver. 1.2 2.1.1 Setting Network Area This step is for setting both CSE-H55N and users’ PC to be located the same network. If only they are, the TCP connection between them can be established.  Setting of the PC Add or change the IP address of the network adapter on your PC like following.
  • Page 18 Windows, and this is comfortable to use because it doesn’t need installation. First, search your CSE-H55N via network. All the values of parameters are set the default values in the factory. To apply it to your system, proper values should be set via ezManager.
  • Page 19: Simple Test

     Opening RS232 Port Figure 2-4 opening COM Port ④ Select COM port where the CSE-H55N is being connected. ⑤ Make sure that all the parameters are the same with CSE-H55N. ⑥ Press the [Open] button - 18 - http://www.ezTCP.com...
  • Page 20 CSE-H55N User’s Manual Ver. 1.2  Confirm the TCP Connection and COM port status Figure 2-5 TCP Connected message ⑦ Check the message if the TCP connection has been established well. Figure 2-6 COM Port open message ⑧ Check the message if the COM port has been opened - 19 - http://www.ezTCP.com...
  • Page 21 CSE-H55N User’s Manual Ver. 1.2  Data transmission test Figure 2-7 successful data transmission ⑨ Click the [Send data] on the LAN side. ⑩ Check the data have been shown from the step ⑨. Figure 2-1 LAN → RS232 ⑪ Press the [Send data] on the RS232 side.
  • Page 22: Configuration

    Figure 3-1 initial appearance of ezManager 3.1.1 Configuration via LAN  Checklists Make sure the connection between your PC and CSE-H55N. 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.
  • Page 23: Configuration Via Serial

    3.1.2 Configuration via Serial  Checklists To use serial configuration, COM port of PC should be connected with CSE-H55N. Because CSE-H55N doesn’t have a RS232 port, a RS232 to RS422/485 converter is needed. Of course, CSE-H55N should be in operation as [Serial Configuration Mode].
  • Page 24: At Command

     Checklists Make sure the connection between your PC and CSE-H55N using RS232 cross cable. To use this, CSE-H55N has to be set to [AT command] mode as its communication mode. This can be configured by ezManager. Figure 3-5 setting the communication mode to the AT command ...
  • Page 25: Operation Modes

    CSE-H55N User’s Manual Ver. 1.2 Operation Modes 4.1 What is the Operation Mode? Each of three operation mode of CSE-H55N is defined for specific purpose, and those are followed.  Normal mode This mode is for normal data communication and has 4 different connection modes.
  • Page 26: Comparison Of Each Mode

    CSE-H55N User’s Manual Ver. 1.2 4.3 Comparison of each mode Name Serial port Serial type Normal configured value RS422 / RS485 Serial Configuration 115,200/N/8/1 RS422 Table 4-1 comparison of each mode 4.4 Normal Mode In normal mode, there are four connection types to communication with a remote host.
  • Page 27: Serial Configuration Mode

     4.6.2 Revoking Serurity Options CSE-H55N 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 solve the problem.
  • Page 28: Communication Modes

    Communication Modes 5.1 TCP Server In this mode, CSE-H55N listens to a TCP connection request from remote hosts. Once a host tries connecting to CSE-H55N, it accepts a connection. After the connection is established, CSE-H55N converts the raw data from the serial port to TCP/IP data and sends it to the network and vice versa.
  • Page 29 5.1.2 Examples  A situation that [Event Byte] is set to 0. Figure 5-1 time chart Points States CSE-H55N is listens to connection requests ① Remote host sends a connection request (SYN) segment Processes of the connection ② The connection is established...
  • Page 30 CSE-H55N User’s Manual Ver. 1.2  A situation that [Event Byte] is set to 1. Figure 5-2 time chart Points States CSE-H55N listens connection requests ① Remote host sends a connection request (SYN) segment Processes of the connection ② The connection is established...
  • Page 31 Data communication on both sides ① The last segment arrives at the CSE-H55N No data communication for 5 seconds ② CSE-H55N send disconnection request (Fin) to a remote host Processes of the disconnection ③ The connection is terminated CSE-H55N listens connection requests...
  • Page 32: Tcp Server

    In this mode, CSE-H55N sends request segments to a TCP server with information of [Peer Address] and [Peer Port]. Once a host is listening, the connection will be established. After then, CSE-H55N converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 33 Figure 5-4 time chart Points States Power is not supplied yet. ① CSE-H55N 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.
  • Page 34 The data “1234567” is transmitted to the remote host Table 5-8 states of each point As you can see, CSE-H55N 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”...
  • Page 35 Figure 5-6 time chart for activating [TCP Server] option Points States CSE-H55N is listening to connection requests ① The connection has been established CSE-H55N 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].
  • Page 36: Key Parameters

    CSE-H55N User’s Manual Ver. 1.2 5.3 AT Command AT command is a mode which users control CSE-H55N with AT command like controlling modem. In this mode, active and passive TCP connections are available. And users are allowed to configure some environmental parameters with extended commands.
  • Page 37 AT commands ① ATA command has arrived. CSE-H55N listens to TCP connection requests. ② A remote host sends SYN segment to CSE-H55N Processes of TCP connection ③ TCP connection is established CSE-H55N sends “CONNECT” message to the serial port...
  • Page 38  TCP Client – setting parameters and active connection Figure 5-8 time chart Points States configuring parameters with AT commands CSE-H55N sends a TCP connection request with the ATD ① command Processes of TCP connection ② TCP connection is established CSE-H55N sends “CONNECT”...
  • Page 39 CSE-H55N sends “NO CARRIER” with disconnection Table 5-13 states of each other CSE-H55N changes the mode to AT command, when receiving “+++”. In this state, the communication with remote host is unavailable because CSE-H55N processes only AT commands. Whenever you want to go back to on-line state, just give “ATO” command.
  • Page 40: Key Parameters

    CSE-H55N User’s Manual Ver. 1.2 5.4 UDP UDP has no connection processes. In this mode, data is sent in block units. Therefore, data that comes through CSE-H55N’s serial port is collected in block units to send it elsewhere. 5.4.1 Key parameters ...
  • Page 41: Examples

     Block Size: 5 bytes / Data Frame: 1s (100 by 10ms) Figure 5-10 time chart Points States CSE-H55N receives data from the serial port CSE-H55N sends 5 bytes as one block based on the [Event ① byte]. Serial device sends data “678”. ②...
  • Page 42 ③ UDP data arrives from Remote Host 2. Send UDP data to Remote Host 2. Table 5-16 state description The data “ABC”, “DE”, “FGH” are from the serial port of CSE-H55N in the Figure 5-11.  - 41 - http://www.ezTCP.com...
  • Page 43: System Management

    6.1 Upgrading Firmware 6.1.1 Firmware Firmware is a type of software for operation of CSE-H55N. If there are needs for adding function or fixing bugs, the firmware is modified and released. We recommend that users keep use the latest released firmware.
  • Page 44 CSE-H55N User’s Manual Ver. 1.2  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 - 43 -...
  • Page 45: Status Monitoring

    CSE-H55N User’s Manual Ver. 1.2 6.2 Status Monitoring 6.2.1 Using TELNET Once the [TELNET] option is activated, users can remotely log in to CSE-H55N. If a password is set, users should input the password. After then, messages from CSE-H55N appear like the below figure.
  • Page 46 “st sio” command displays the number of bytes for the serial port. Figure 6-6 “st sio” command  st uptime “st uptime” command shows amount of time since CSE-H55N boots up. Figure 6-7 “st uptime” command  sc “sc” command is used when users close a session. [op1] means the name of session, and [op2] should be “close”.
  • Page 47: Using Ezmanager

    CSE-H55N User’s Manual Ver. 1.2 6.2.2 Using ezManager Status of CSE-H55N can be monitored by [Status] button on ezManager. By using the [Refresh Every 1 Second] option in the status window, the status is automatically updated in every second Figure 6-5 status window of ezManager ...
  • Page 48 CSE-H55N User’s Manual Ver. 1.2  IP6 NETWORK INFORMATION All information about related items with IPv6 Address is shown here. It works even if the IP address is assigned from DHCP or PPPoE.  TCP STATE TCP status of each port is shown this section.
  • Page 49  Password This text box is activated when CSE-H55N has a password. If users want to close TCP connection with right click of mouse on the session, this password has to be correctly filled.
  • Page 50 CSE-H55N User’s Manual Ver. 1.2  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-10 Without IP address conflict detection Figure 6-11 IP address conflict detection - 49 - http://www.ezTCP.com...
  • Page 51: Factory Reset

    CSE-H55N User’s Manual Ver. 1.2 6.3 Factory Reset It is a function physically initializes all the setting. You can save a setting to user-defined ENV region and 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.
  • Page 52: Setting Custom Default Values

    CSE-H55N User’s Manual Ver. 1.2 6.3.2 Setting custom default values ① Change the mode to Serial Configuration ② Save custom default values by ezManager or serial configuration commands ③ Input the command below <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 53: Security Function

    CSE-H55N User’s Manual Ver. 1.2 Security Function 7.1 SSL 7.1.1 What is the SSL(Secure Socekt Layer)? SSL is cryptographic protocol that provides secure communication on the Internet. The SSL works 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.
  • Page 54: Restriction

    CSE-H55N User’s Manual Ver. 1.2 ④ Input the key length and information in [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.
  • Page 55: Access Restriction (Eztcp Firewall)

    The maximum length is 8 bytes of Alphabet or number. When you want to revoke all of these restrictions, operate CSE-H55N as ISP mode. In  the mode, all restrictions are removable and communication with ezManager is revoked.
  • Page 56: Additional Functions

    CSE-H55N can be TCP server even though it assigned IP address automatically. Using [Notify IP Change] function, CSE-H55N sends its IP address with the host name to the designed server. There are 3 types- DDNS, TCP and UDP- for this service.
  • Page 57: Sending Mac Address

    CSE-H55N User’s Manual Ver. 1.2 8.2 Sending MAC Address [Sending MAC Address] is a function that CSE-H55N sends its MAC address to the remote host right after the connection is established. By using this function, a server can identify multiple devices with the information.
  • Page 58: Serial Port Tab Functions

    Figure 8-3 setting of TELNET COM Port Control option 8.3.1 Disable TCP Transmission Delay - ① If you use this option, CSE-H55N sends the data from the serial port to LAN as quickly as possible. 8.3.2 Data Frame Interval - ②...
  • Page 59: Separator - ③

    CSE-H55N User’s Manual Ver. 1.2 Separator - ③ 8.3.3 Using this function, you can control the length of network packets by specific characters. separator options Length select the length between 0 ~ 4 bytes Transmit Separators without additional bytes Operation...
  • Page 60: Rs485/Rs422 Interface

    CSE-H55N User’s Manual Ver. 1.2 RS485/RS422 Interface About RS485/RS422 Network The RS485 and the RS422 are the standards which communicate by differential voltage. These transmission distances are much longer comparing to the RS232. The RS485 is multi- driver/multi-receiver system but the RS422 is a single-driver/multi-receiver system.
  • Page 61: Termination Resistors

    CSE-H55N USER DEVICE Figure 9-2 RS422 1:1 Configuration 9.3.2 1:N Configuration The following is 1:N configuration of RS422. When the CSE-H55N operates as RS422 mode, it can’t be a slave because its driver is driving always. - 60 - http://www.ezTCP.com...
  • Page 62: Signal Ground, Biasing And Termination Resistors

    CSE-H55N User’s Manual Ver. 1.2 TR1 5V TRX- TRX+ CSE-H55N USER DEVICE USER DEVICE USER DEVICE Figure 9-3 RS422 1:N Configuration 9.3.3 Signal Ground, Biasing and Termination Resistors Like RS485, the RS422 requires signal ground connections, biasing resistors and termination resistors.
  • Page 63: Checklist In Trouble

    CSE-H55N User’s Manual Ver. 1.2 10 Checklist in Trouble When users are in trouble with CSE-H55N, make sure all the followed steps first. 10.1 Searching problem with ezManager  Confirming types of configuration utility CSE-H55N can be configured by ezManager.
  • Page 64: Connection Problem Over Tcp/Ip

    Mask, Gateway IP Address, DNS IP Address, Table 10-1 major parameters related with TCP/IP  PING Test Confirm the connection over the network by PING test. If the CSE-H55N doesn’t send any reply from the request, check the network environment.  Firewall In case the networks which need strong security, the access may be denied by their firewall.
  • Page 65: Data Communication Problem Over The Serial Port

    CSE-H55N User’s Manual Ver. 1.2 10.3 Data Communication Problem over the Serial Port  Connection of Pins Check if the connection of each pin is right. Using cables, users choose the right type of cable which is suitable for the device. Each pin should be connected with the same polarity like the below figures.
  • Page 67: Precaution

    CSE-H55N User’s Manual Ver. 1.2 11.3 Precaution  Sollae Systems is not responsible for product failures occurring due to user ’s alternation of the product.  Specifications of the product are subject to change without prior notice for performance improvement.
  • Page 68: Revision History

    CSE-H55N User’s Manual Ver. 1.2 12 Revision History Date Version Comments Author 2012.11.16 ○ First version has been released. Lisa Shin 2012.12.13 ○ Change the capture files Lisa Shin 2013.01.11 ○ Add descriptions of 422/485 Interface Lisa Shin ○ Add caution of saving on the ISP mode - 67 - http://www.ezTCP.com...

Table of Contents