Sollae Systems CSE-H21 Manuel utilisateur

Catégorie
Serveurs série
Taper
Manuel utilisateur
Sollae Systems Co., Ltd.
http://www.ezTCP.com
2 Ports RS232 Ethernet Converter
CSE-H21 User Manual
Version 2.4
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 1 -
http://www.ezTCP.com
This symbol, found on your product or on its packaging, indicates that this
product should not be treated as household waste when you wish to dispose
of it. Instead, it should be handed over to an applicable collection point for the
recycling of electrical and electronic equipment. By 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 disposal service or the retail store where you purchased this
product.
This equipment obtained certification by using 1.5M serial cable.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 2 -
http://www.ezTCP.com
Contents
1 Overview .................................................................................................................................. - 5 -
1.1 Overview ................................................................................................................................................................ - 5 -
1.2 Components ......................................................................................................................................................... - 5 -
1.3 Specification ......................................................................................................................................................... - 6 -
1.3.1
Hardware ...................................................................................................................................................... - 6 -
1.3.2
Software ........................................................................................................................................................ - 6 -
1.4 Layout ...................................................................................................................................................................... - 7 -
1.4.1
Layout ............................................................................................................................................................ - 7 -
1.4.2
LED indicators............................................................................................................................................. - 8 -
1.4.3
ISP Switch ..................................................................................................................................................... - 8 -
1.5 Interface ................................................................................................................................................................. - 9 -
1.5.1
RS232 Port (DB9M) .................................................................................................................................. - 9 -
1.5.2
Ethernet Interface .................................................................................................................................. - 11 -
1.5.3
Power ........................................................................................................................................................... - 12 -
2 Getting Start ......................................................................................................................... - 13 -
2.1 Installation Method ........................................................................................................................................ - 13 -
2.1.1
Checking the Communication Environment ............................................................................. - 13 -
2.1.2
Connecting to the Network .............................................................................................................. - 14 -
2.1.3
Configuring the Environmental Variables ................................................................................... - 14 -
2.2 Test Run ............................................................................................................................................................... - 14 -
2.2.1
Changing PC IP Address .................................................................................................................... - 14 -
2.2.2
Installing CSE-H21 ................................................................................................................................. - 14 -
2.2.3
Configuring CSE-H21 ........................................................................................................................... - 14 -
2.2.4
Communication Test ............................................................................................................................. - 16 -
3 Configuration ....................................................................................................................... - 19 -
3.1 IP Address and Environmental Variables ............................................................................................. - 19 -
3.2 Configuring with ezManager ..................................................................................................................... - 19 -
3.2.1
ezManager ................................................................................................................................................ - 19 -
3.2.2
Buttons of ezManager ......................................................................................................................... - 20 -
3.2.3
Parameters of ezManager .................................................................................................................. - 20 -
3.2.4
Matters to be attended to ................................................................................................................ - 21 -
3.3 AT command ..................................................................................................................................................... - 21 -
3.4 Notify IP Change ............................................................................................................................................. - 21 -
3.4.1
DDNS (Dynamic Domain Name System) .................................................................................... - 21 -
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 3 -
http://www.ezTCP.com
3.4.2
TCP/UDP..................................................................................................................................................... - 22 -
4 System Management .......................................................................................................... - 23 -
4.1 Operation Mode .............................................................................................................................................. - 23 -
4.1.1
Normal mode .......................................................................................................................................... - 23 -
4.1.2
Serial Configuration Mode ................................................................................................................ - 23 -
4.1.3
ISP Mode ................................................................................................................................................... - 23 -
4.1.4
Comparison between two modes .................................................................................................. - 23 -
4.2 Upgrading Firmware ...................................................................................................................................... - 24 -
4.3 Checking current status ............................................................................................................................... - 25 -
4.3.1
Telnet login ............................................................................................................................................... - 25 -
4.3.2
Commands ................................................................................................................................................ - 25 -
4.4 Check Status in the ezManager ............................................................................................................... - 27 -
4.5 Remote Debugging ........................................................................................................................................ - 28 -
4.6 Sending MAC Address.................................................................................................................................. - 28 -
5 Communication Mode ........................................................................................................ - 29 -
5.1 Introduction ....................................................................................................................................................... - 29 -
5.2 T2S TCP Server ............................................................................................................................................. - 30 -
5.2.1
TCP Connection ...................................................................................................................................... - 30 -
5.2.2
Serial Data before the TCP Connection ...................................................................................... - 30 -
5.2.3
Data Transmission ................................................................................................................................. - 30 -
5.2.4
Disconnection .......................................................................................................................................... - 31 -
5.3 COD TCP Client ............................................................................................................................................ - 32 -
5.3.1
Serial Data before the TCP Connection ...................................................................................... - 32 -
5.3.2
Data Transmission ................................................................................................................................. - 32 -
5.3.3
Disconnection .......................................................................................................................................... - 33 -
5.3.4
DNS .............................................................................................................................................................. - 33 -
5.4 ATC AT Command ....................................................................................................................................... - 34 -
5.4.1
Key parameters ....................................................................................................................................... - 34 -
5.4.2
Examples .................................................................................................................................................... - 35 -
5.5 UDP ....................................................................................................................................................................... - 38 -
5.5.1
Key parameters ....................................................................................................................................... - 38 -
5.5.2
Examples .................................................................................................................................................... - 39 -
6 Security Protocols & Option ............................................................................................. - 41 -
6.1 SSL ......................................................................................................................................................................... - 41 -
6.1.1
SSL (Secure Socket Layer) .................................................................................................................. - 41 -
6.1.2
How to set the SSL on CSE-H21 .................................................................................................... - 41 -
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 4 -
http://www.ezTCP.com
6.1.3
Restriction.................................................................................................................................................. - 42 -
6.2 SSH ........................................................................................................................................................................ - 42 -
6.2.1
SSH (Secure Shell) ................................................................................................................................. - 42 -
6.2.2
How to set the SSH on CSE-H21 ................................................................................................... - 42 -
6.2.3
Restriction.................................................................................................................................................. - 43 -
6.3 ezTCP Firewall ................................................................................................................................................... - 44 -
7 Related material ................................................................................................................... - 45 -
7.1 Technical Documents .................................................................................................................................... - 45 -
7.2 Smart phone application ............................................................................................................................. - 45 -
8 Technical Support and Warranty ...................................................................................... - 46 -
8.1 Technical Support ........................................................................................................................................... - 46 -
8.2 Warranty .............................................................................................................................................................. - 46 -
8.2.1
Refund ......................................................................................................................................................... - 46 -
8.2.2
Free Repair Services ............................................................................................................................. - 46 -
8.2.3
Charged Repair Services..................................................................................................................... - 46 -
9 Precaution and Exemption from Liability ....................................................................... - 47 -
9.1 Precaution........................................................................................................................................................... - 47 -
9.2 Exemption from Liability .............................................................................................................................. - 48 -
9.2.1
English version ........................................................................................................................................ - 48 -
9.2.2
French version ......................................................................................................................................... - 48 -
10 Revision History ................................................................................................................... - 51 -
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 5 -
http://www.ezTCP.com
1 Overview
1.1 Overview
Along with the development of the Internet, the demand for data communication
functions has increased recently. Data communication over the Internet requires using
TCP/IP, the Internet communication protocol. That is to say, in order to connect a system to
the Internet, TCP/IP protocol must be implemented. It is possible to implement TCP/IP by
directly implementing the protocol, porting public TCP/IP, or using Operating System (OS).
However, all these methods impose burdens on the developer in time, cost, and technology.
ezTCP series, a Serial TCP/IP protocol converter product group of Sollae Systems,
enables you to use TCP/IP communication (the Internet communication) function simply by
connecting the cable to a serial port”. ezTCP sends data from the serial port to the Internet
network after TCP/IP processing, and vice versa.
CSE-H21 in ezTCP product group is a product that provides TCP/IP communication
through Ethernet. In other words, like other ezTCP products, CSE-H21 sends data from the
serial port to the LAN after TCP/IP processing and vice versa.
As CSE-H21 has 2 RS232 ports, it can be connected to two RS232 devices in the same
time. And it is easy CSE-H21 to attach to user systems because of its compact size.
Because it has SSL and SSH function, user can communicate more safely. And it provides
DHCP and PPPoE functions, so that it can be applied to the cable network and the xDSL
network. And it has DDNS (Dynamic DNS) function, so it can be used more easily in the
internet.
It can be operated wide range temperature condition and its serial ports are isolated
electrically and there is surge protection function on the Ethernet port, so it is very suitable
for noisy industrial environment.
It also provides debugging function, so user can solve the problem with ours.
1.2 Components
CSE-H21 Body
CD including utilities and documents (Optional)
5V Power Adapter (Optional)
RS232 cable for PC connection (Optional)
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 6 -
http://www.ezTCP.com
1.3 Specification
1.3.1 Hardware
Power
Input Voltage
DC 5V (±10%)
Current
270mA typical
Dimension
Weight
CPU
Serial Port
Serial
2 × RS232 RTS/CTS Flow Control
(Baud rate: 300bps ~ 230,400bps)
Network
Ethernet 10Base-T or 100Base-TX (Auto-Sensing)
Auto MDI / MDIX cable auto-sense
Temperature
Certification
RoHS
1.3.2 Software
Protocol
Diagnose
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
AT Command
TCP Passive / Active Connection
UDP
UDP No Connection
Major
Utilities
ezManager
Configuration Utility for MS Windows
(Supports Downloading F/W)
ezVSP
Serial to TCP/IP Virtual driver for MS Windows
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 7 -
http://www.ezTCP.com
1.4 Layout
1.4.1 Layout
There are an Ethernet port, two RS232 ports, and a Power socket on the top side. And
there is an ISP switch on the right side. And 15 LED indicators are in the CSE-H21.
Figure 1-1 CSE-H21 Layout
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 8 -
http://www.ezTCP.com
1.4.2 LED indicators
There are 15 LED indicators on the CSE-H21. The left 5 are for LAN status, and the
middle and right 5 are for COM1 and COM2 respectively. The followings are the operations
of each LED indicators.
Table 1-1 LED indicators
Mode
Name
Color
LED Status
Description
Common
LAN
PWR
Red
On
Power is supplied.
LINK
Green
On
CSE-H21 is connected to the
Ethernet.
RXD
Yellow
Blinks
Ethernet packet is received
TXD
Green
Blinks
Ethernet packet is transmitted
COM
RXD
Yellow
Blinks
serial data are received
TXD
Green
Blinks
serial data are transmitted
RTS
Green
On
There are enough rooms to
receive serial data.
CTS
Yellow
On
CTS signal from the counter-part
serial device
Normal
mode
LAN
STS
Yellow
Blinks in
every second
IP address is assigned.
Blinks 4 times
/sec
IP address is net assigned in
DHCP or PPPoE modes.
COM
TCP
Green
On
TCP is connected
ISP
mode
LAN
STS
Yellow
Off
CSE-H21 is in the ISP mode
Serial
Configuration
mode
LAN
RXD/
TXD/
STS
-
blink 2 times
/sec
at one time
CSE-H21 is in the Serial
Configuration mode
COM1
TCP
Green
On
A RS232 cable is connected for
the serial configuration.
1.4.3 ISP Switch
There is an ISP switch on the side. If this switch is push 20ms~1s, it operates as Serial
Configuration Mode. If this switch is push over 1 second, CSE-H21 operates as ISP mode.
User can do firmware download to the CSE-H21 in the ISP mode. Please refer to 4.2 for
more information on firmware download.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 9 -
http://www.ezTCP.com
1.5 Interface
1.5.1 RS232 Port (DB9M)
There are two RS232 ports. The ports are interfaced with 9 pin D-sub male connectors.
The serial ports are isolated electrically.
Figure 1-2 9 pin D-sub male connector
RS232 ports
Table 1-2 RS232 Port Specification
Number
Name
Description
level
Dir.
Etc.
1
DCD
Data Carrier Detect
RS232
Input
optional
2
RXD
Receive Data
RS232
Input
mandatory
3
TXD
Transmit Data
RS232
Output
mandatory
4
DTR
Data Terminal Ready
RS232
Output
optional
5
GND
Ground
Ground
-
mandatory
6
DSR
Data Set Ready
RS232
Input
optional
7
RTS
Request To Send
RS232
Output
optional
8
CTS
Clear To Send
RS232
Input
optional
9
RI
Ring Indicator
RS232
Input
optional
Data bits, Parity, Stop bit
Table 1-3 RS232 Parameters
Items
Parameters
Data bit
8, 7, 6, 5
Parity
None, Even, Odd, Mark, Space
Stop bit
1, 1.5, 2
Flow Control
CSE-H21 supports RTS/CTS Hardware Flow Control.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 10 -
http://www.ezTCP.com
Telnet COM Port Control Option (RFC2217)
CSE-H21 has Telnet COM Port Control Option function that is specified by RFC2217.
If the Telnet COM Port Control Option is enabled, CSE-H21 sends the CTS, DSR control
signal to the communication counterpart, and CSE-H21 sets its serial port items (RTS,
DTR, Baud rate, data bits, parity, stop bit) after getting information from the
communication counterpart.
Disable TCP Transmission Delay
If you use this option, CSE-H21 sends the data from the serial port to Ethernet as
quickly as possible.
TX Delay
CSE-H21 has a function that delays its serial data for the users slow device. User can
set the interval between byte and byte which are outputting from CSE-H21s serial
ports. Its unit is byte.
TCP Server / Client mode
This mode is available on TCP client mode only. In this mode, you dont need to
change the mode for switching active or passive TCP connection. Note that the
[Event Byte] option should be set to 1 or lager value.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 11 -
http://www.ezTCP.com
1.5.2 Ethernet Interface
Network part of CSE-H21 is configured with Ethernet. So, what you have to do is only to
connect UTP cable. The Ethernet part detects 10Mbit or 100Mbit Ethernet automatically, to
connect the corresponding cable. It also provides auto MDI/MDIX function to detect 1:1
cable or cross-over cable automatically. Each piece of Ethernet equipment has unique
hardware addresses, and CSE-H21also has factory-set hardware address (which is called
MAC address)
Figure 1-3 RJ45 Ethernet connector
Table 1-4 Ethernet port pin description
Number
Name
Direction
1
Tx+
Output
2
Tx-
Output
3
Rx+
Input
4
-
-
5
-
-
6
Rx-
Input
7
-
-
8
-
-
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 12 -
http://www.ezTCP.com
1.5.3 Power
DC5V is used for CSE-H21 and the specification is below:
Figure 1-4 DC 5V Power Jack
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 13 -
http://www.ezTCP.com
2 Getting Start
2.1 Installation Method
You can install CSE-H21 in the following steps.
Table 2-1 CSE-H21 Installation steps
Title
Item
Sub-item
1.
Checking the
communication
environment
Check items
IP address environment
Serial port parameters
Application program to be used
2.
Connecting to
the network
Check
method
Check the LINK LED
3.
Configuring
the
environmental
parameters
Configuration
method
Set by ezManager, a utility program for
configuration through the network.
Set by AT commands in ATC mode
Configuration
items
IP address related items
Serial port related items
Communication mode (depending on
application program)
4. Application to the field
2.1.1 Checking the Communication Environment
Before installing CSE-H21, check the network environment where CSE-H21 is to be
installed, including the followings matters:
IP address environment (local IP, subnet mask, gateway, DHCP/PPPoE etc.)
Serial port type of the equipment to which CSE-H21 is going to be connected
(RS232)
Serial port items of the equipment to which CSE-H21 is going to be connected
(baud rate, data bit, parity, stop bit, flow control)
Application program protocol to be used (TCP/UDP, server/client, etc.)
Security Function (SSL, SSH)
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 14 -
http://www.ezTCP.com
2.1.2 Connecting to the Network
Connect power to CSE-H21, and connect CSE-H21 either directly to the Ethernet port of
the PC where test is to be performed or to the network (hub) to which the PC is connected.
2.1.3 Configuring the Environmental Variables
When network connection is completed, configure the environmental variables such as IP
address related items, serial port related items, and communication mode related items
through the LAN using “ezManagerthe environmental variable configuration program.
2.2 Test Run
You can perform test run according to the following orders. The test run described here
is based on the assumption that the IP address of the PC is set to 10.1.0.2.
2.2.1 Changing PC IP Address
You can change the IP address of your PC as follows:
IP Address
10.1.0.2
Subnet Mask
255.0.0.0
Gateway IP Address
-
2.2.2 Installing CSE-H21
Connect the supplied RS232 cable between your PC and CSE-H21, the LAN cable to the
hub to which the PC is connected or directly to the PC, and the supplied CSE-H21 power
adapter to CSE-H21 for power supply. If the LAN cable has been correctly connected when
power is supplied, LINK LED turns on.
2.2.3 Configuring CSE-H21
Configure CSE-H21 setting using ezManager, the ezTCP configuration program, as follows.
Run ezManager, and click [Search All] button in the ezManager window. And, ezManager
program will search all CSE-H21s on the local network.
When ezTCP is searched, MAC address of the ezTCP is displayed on the [Search Result]
window (The MAC address is indicated at the bottom of the product case).
Select the corresponding MAC address, and set the variables considering your network
environment.
When no ezTCP is found, check the Windows firewall. If you press [Windows Firewall]
button in the ezManager, you can see the Windows Firewall menu directly.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 15 -
http://www.ezTCP.com
For simple test, we recommend that the variables keep default values as shown in the
below table.
Parameter
Value
Network
Local IP Address
10.1.0.1
Subnet Mask
255.0.0.0
Option
Telnet
Enabled
IP Address Search
Enabled
Serial Port
(COM1/2)
Serial Type
RS232
Baud Rate
19200bps
Parity
NONE
Data Bits
8
Stop Bit
1
Flow
NONE
Communication Mode
T2S TCP Server
Local Port
1470/1471
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 16 -
http://www.ezTCP.com
2.2.4 Communication Test
Power the CSE-H21 off and on, then it tries to connect to the LAN.
A program for testing starts if you press the [Simple Test] button of the ezManager.
Press the [Connect] button after inputting 10.1.0.1 and 1470 in the IP and Port. If
the TCP connection is established there will be Connected [10.1.0.1: 1470]. And the
STS indicator will be on.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 17 -
http://www.ezTCP.com
Press the [Open] button after selecting serial port that is connected to the CSE-H21.
If the serial port is open, the COM1 the COM port has opened message will be
shown.
If you press the [Send Data] button on the LAN part (Top), the data shown in the
[Send] box will be transmitted to the [Receive] box on the RS232 part (Bottom).
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 18 -
http://www.ezTCP.com
If you press the [Send Data] button on the RS232 part (Bottom), the data shown in
the [Send] box will be transmitted to the [Receive] box on the LAN part.
If the transmitting and receiving data are same, the communication test is
successful.
CSE-H21 User Manual Ver. 2.4
Sollae Systems Co., Ltd.
- 19 -
http://www.ezTCP.com
3 Configuration
3.1 IP Address and Environmental Variables
For TCP/IP communication, you must set IP address related items. In addition, you have
to set serial port related items (serial port type, communication speed, data bit length,
parity bit, flow control, etc) to CSE-H21.
You can set the IP address and the serial port related items by using ezManager, the
supplied configuration utility which allows you to configure your CSE-H21 over the network,
or by using AT commands in ATC mode
3.2 Configuring with ezManager
3.2.1 ezManager
The basic environmental variables (IP address related items, serial port items, and etc.)
can be set by ezManager which is an integrated management tool for Windows.
The ezManager is operated in Microsoft Windows (Windows 2000 Pro, ME, XP Pro/Home,
Vista, 7). Following is the screen shot of ezManager which is just launched.
Figure 3-1 the initial window of the ezManager
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53

Sollae Systems CSE-H21 Manuel utilisateur

Catégorie
Serveurs série
Taper
Manuel utilisateur

dans d''autres langues