ZLAN9500 User Manual PDF
ZLAN9500 User Manual PDF
User Manual
RS232/485/422/Ethernet to ZigBee
CopyRight©2008 Shanghai ZLAN Information Technology Co., Ltd. All right reserved
Version Information
History
Information in this document is subject to change without notice. It is against the law to copy the
document on any medium except as specifically allowed in the license or nondisclosure agreement.
The purchaser may make one copy of the document for backup purposes. No part of this manual may
photocopying, recording, or through information storage and retrieval systems, for any purpose other
than for the purchaser’s personal use, without the express written permission of Shanghai ZLAN
2
Content
1. Summary ....................................................................................................................................................... 4
2. Features......................................................................................................................................................... 7
3. Technical Parameters ................................................................................................................................ 7
4. Hardware Instruction ................................................................................................................................. 8
5. Zigbee Configuration ...............................................................................................................................12
6. TCP/IP Configuration ...............................................................................................................................12
6.1 Parameter Meaning ......................................................................................................................13
6.2 Parameter Modification Method ................................................................................................17
6.2.1 ZLVircom Type ...................................................................................................................17
6.2.2 Web Browser ......................................................................................................................18
6.3 Device Search ................................................................................................................................19
6.4 Parameter Configuration.............................................................................................................21
6.5 Transparent Communication .....................................................................................................21
6.6 Virtual Port ......................................................................................................................................23
7. After-service ...............................................................................................................................................26
3
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
1. Summary
Shanghai ZLAN Zigbee products currently have two categories, one is serial port converter to
Zigbee for Model ZLAN9500, it includes 3 kinds of serial port: RS232/485/422. The other is
Ethernet (TCP/IP) converting to Zigbee for Model ZLAN9503, can make Zigbee connected
Internet.
9500 can be used in data collection of variety RS232/485/232 serial devices, can transfer the
collecting data to Zigbee network, to realize a structure similar with wireless RS485. The Zigbee of
9503 usually as main station, it receives serial data from each 9500 devices, and converter serial
data to TCP/IP packet then transfer to the network server. The function diagram of ZLAN9500 and
4
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
The combination of 9500 and 9503 not only has the advantages of Zigbee wireless transfer and
convenient networking, but also can access to TCP/IP network, with all kinds of existing network
forms such as wifi, Ethernet, optical fiber, etc., realize the network transmission and storage,
provide a very good solution for modern IOT collecting transfer system building.
5
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
9500/9503 product realize the data transparent transferring between RS232/485/232 Ethernet and
Zigbee. As shown in figure 3, when two 9500 access to one network, the data sending by A serial
device immediately output in B serial device, and vice versa. When 9500 and 9503 connect, the
data sending by 9500 serial port can immediately appear in 9503 serial port, as transparently
converting to the TCP/IP data of 9503. 9503 can work in TCP server/TCP client/UDP mode, 9503
The Zigbee products of Shanghai ZLAN is high performance products designed for industrial
application, the transmission distance can achieve 2 km in the open. As using 2.4G DSSS spread
spectrum technology, the anti-jamming capability is strong. Compared to Wifi, its wireless
more convenient.
broadcast mode, also as point to multipoint mode. Can constitute star type and MESH network
6
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
2. Features
1) Long distance Zigbee communication solution, high performance, high stability. The
2) Big data transmission no packet loss. Duplex transmission under 38400bps the data doesn’t
configured as TCP server, TCP client, UDP mode and so on. Equipped with Windows virtual
serial port and device managing tool ZLVircom, can support virtual serial port.
4) The networking mode of Zigbee is flexible, can have many types: realizing point-to-point,
point-to-multipoint; having center node, no center node; star network, mesh network,
peer-to-peer network.
5) Network capacity is larger, 16 channel optional, 65535 network ID can be freely set.
6) 6 kinds of LED lights separately indicate data flow direction, TCP/IP network status, Zigbee
3. Technical Parameters
Specification Working Voltage DC9~24V
7
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Parameters 9500:50mA@9V
Woking Current
9503:start 250mA@9V, stable 220mA@9V;
Wireless Channel 16
Network ID 0000~FFFF
Size: L x W x H =9.4cm×6.5cm×2.5cm
4. Hardware Instruction
The front view of ZLAN9500/03 ZigBee Ethernet/serial port is shown in figure 4. ZLAN9500/03
8
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
adopts black anti-radiation SECC board. It is equipped with two "ears" for easy installation.
Size:
9
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Panel lights:
1) ACT: ACT light green indicates that data is being received from ZigBee and transmitted to
serial/Ethernet. ACT light blue indicates data from serial/Ethernet sending to ZigBee. If the
2) LINK: when the LINK light is green, the RJ45 network line has been connected. When the
LINK light is blue, it indicates that the TCP connection has been established or in UDP mode.
3) POWER: when green, indicates that 9500/03 has already been charged; The blue flashes
4) ZigBee: green flash indicates that ZigBee is working but not yet connected; The blue light
staying indicates that ZigBee has been connected; The blue flash indicates the configuration
mode. Note that for the center node, the ZigBee indicator is always bright blue.
4) Power outlet: can adopt standard plug 5.5mm (inner core is positive pole), voltage 9 ~ 24VDC.
10
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
1) ZigBee antenna: also can choose extension antenna, easy to install to the metal cabinet
outside.
2) CFG switch: when you dial “on”, enter ZigBee's configuration mode, and then Power light and
ZigBee indicator lights are both blue flash. For ZLAN9503, the device's IP will also be restored
3) Serial port adopts standard DB9 male head: the sequence is as table 1:
Table 1
5 GND Grounding
7 RTS After the flow control is enabled, when the pin is 0, the serial
8 CTS After the flow control is enabled, when the pin is 0, the serial
11
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
5. Zigbee Configuration
It can be configured via serial port: ZigBee work mode, module address, network ID, network type,
network node and other related parameters. If the user only use it as wireless RS485, the
configuration can be done by Shanghai ZLAN, users can use it after power-on without any
configuration. Please refer to the file <ZigBee Configuration Guide> for your own configuration.
6. TCP/IP Configuration
This configuration mode is only valid for ZLAN9503 and is invalid for ZLAN9500. The purpose of
this configuration is to convert ZigBee data into TCP/IP data. Please note:
The serial parameter configuration of the network part should be configured to be the same as the
12
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
ZigBee serial port parameter, especially the baud rate. If the serial port parameters of the ZigBee
part have not been modified, then just configure the serial parameters of figure 8 to 38400bps.
Other network related configurations are similar to ZLAN5103 products, which are introduced as
follows:
Use ZLVircom9503 for configuration. When 9503 is connected to the network via Ethernet, the
computer in the same LAN can search the device through the installed ZLVircom tool.
The post-search pop-up dialog is shown in figure 8. The parameters are stored in the flash
space of the networking product, which is loaded after power-on, will not lose when power-off.
13
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Virtual Serial Non-in use, established You can bind the current device to a created virtual serial port.
virtual serial
Dev Type ZLAN9503, ZLSN7044, Show only the model of the core module
ZLAN9503N,
ZLSN7044N, etc.
Dev Name Any You can give the device a readable name, with a maximum of 9
bytes, and support the Chinese name.
14
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Function of the Please refer to the part of “5.2 Model and Function”
Device
IP Mode Static, DHCP The user can choose Static or DHCP (Dynamic acquisition of IP)
Port 0~65535 Networking products are in the monitoring port of the TCP Server
or UDP mode. As a client, it is best to specify that the port is port 0,
which is good for increasing the connection speed, and the system
will randomly assign a local port when using the 0 port. At this time
the difference from specifying the non-zero port are: (1) when local
port to 0, module restarting set up a new TCP connection with
PC, old TCP connection may not be closed, so that the old TCP
connection of the host has been unable to close, specify the
non-zero port does not have the problem. The general host wants
to close the old connection when the module is restarted. (2) when
the local port is 0, the time of TCP rebuilding connection is faster.
Work Mode TCP Server ( TCP When set to TCP Server, the network Server needs to actively
Server Mode )、 TCP connect the networking products; When set to TCP Client, the
Client ( TCP Client networking product initiates the connection to the network server
Mode)、UDP Mode、 specified by the destination IP.
UDP Multicast
Gateway eg:192.168.1.1 Must be the same as the local LAN gateway. If it is not crossing
outer network (such as the cable connecting computer), it is best to
set the gateway as the IP address of the connected computer.
Dest. In the TCP Client or UDP mode, the data will be sent to the
IP/Domain destination IP or the computer of domain name instruction.
Dest. Port In the TCP Client or UDP mode, the data is sent to the destination
port of the destination IP.
15
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
19200、28800、38400、
57600、76800、115200、
230400、460800
Dest. Mode Static, Dynamic UDP working mode: if the destination computer is the best choice
for the domain name description, it is the static mode; If there are
multiple computers in the LAN communicating with networked
products through UDP, it is best to choose dynamic mode.
Transfer NONE 、 Modbus NONE indicates that the data forwarding from the serial port to the
Protocol TCP<->RTU 、 network is transparent; Modbus TCP < - > RTU will convert
Real_COM Modbus TCP protocol directly into RTU protocol to facilitate
coordination with Modbus TCP protocol; RealCOM is designed to
be compatible with the old version of REAL_COM.
Keep Active 0~255 (1) if the device is in the TCP client working mode, the TCP
Time heartbeat will be sent automatically for every "live time" if the
device is in the TCP client working mode. This can guarantee the
TCP availability of links. When set to 0, there will be no TCP
heartbeat. (2) is set to 0 to 254, when transformation protocol
selection for REAL_COM, every time keep alive time, equipment
will be sent a length of 0 to 1 content data, implement Realcom the
16
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
heartbeat of the agreement. When set to 255, the heartbeat will not
be realcom. (3) if the device is set to 0 ~ 254, if the device is
working on the TCP client, the device will send the device
parameters to the destination computer every time when the device
is protected. When set to 255, no parameters are sent. This
mechanism is not normally used, and users are not required to pay
attention.
Reconnect 0~255 Once in a TCP client mode of networking products and disconnect
Time the server (that is, as long as in the connection status), then every
once in a while a TCP connection to the server, the time interval for
break time, can be 0 ~ 254 seconds, if set 255, never for
reconnection. Note first TCP connection would immediately (such
as hardware on electricity, through zlvircom software restart
equipment, no data), only after the first connection failure will try
again after waiting for the "break time", so "break time" will not
affect the network and server connection setup time under normal
circumstances.
Max Frame 1~1400 One of the rules of serial. The connected product serial port sends
Length the received data to the network as a frame after receiving the
length data.
Max Interval 0~255 One of the rules of serial. When there is a pause in the data
(Smaller will received by the connected product, and the pause time is greater
better) than that time, the received data is sent to the network as a frame.
ZLVircom find the device and edit the device parameters through the Internet searching.
2) Even the networking products having IP conflicts between can be modified the
parameters.
17
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
If the ZLVirCom program is not installed on the user PC, the parameters can be
(1) Enter the IP address of the networking product in the browser, such as
Figure 10
(2) Enter Password in “Password”: default is 123456. Click the “login” button to log in.
18
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Figure 11
(3) In the appearance of the Web page, you can modify the parameters of the
networking product. In addition to the parameters of the Web login password, the
parameters are already specified in the 10.1 parameter definition. The Web login
(5) Please click "exit " button after the modification, anyone can enter this configuration
Run ZLVircom software and click "Device Manage" to see a list of devices.
19
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
From the device list, you can see all of the current online devices, and you can search for
devices that are not in one network segment. There is no need to use the "Add Manually"
20
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
function.
In this interface, the user can set the parameters of the device, then click "Modify Setting", and
the parameters are set to the flash of the device, with power-off no lost. The device will restart
automatically.
Now we need to test the transparent communication function of the networking products. The
transparent communication is: what data sent by computer to a networking product, the serial
port of the networking product will output what data. Instead, what data the serial port received,
21
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
If the COM port of PC is connected with the serial port of networking product, then open the
ZLComDebug serial port debugging assistant, the ZLComDebug can communicate with the
serial port of networking product. Open TCP&UDP debugging assistant SocketTest, and as
TCP client, connect to the 4196 port under the IP (currently 192.168.1.200) of the networking
product, and the TCP link can be established with networking products.
Since then, the data sent by SocketTest can be received by ZLComDebug, and the data sent
22
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
From FIG. 16 and FIG. 17, transparent communication between serial port and network port is
carried out. If the serial port is connected to a user's serial port device, it can communicate with
device serial port through the network TCP connection for data collection and control.
In FIG. 15 SocketTest is through TCP&UDP to communicate with device, in order to let the
user’s developed serial port software can be used but no need to be modified for TCP
communications, need to add a converting step of COM port to TCP between the user program
23
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Click on the "Serial Manage" of the main interface of ZLVircom, then click "Add", and select
COM5, where COM5 is the COM port that didn’t exist on the computer.
Then enter the “device manage”, and double-click the device that you need to bind to the
COM5. As shown in FIG. 14, select COM5 from the "virtual serial port" list in the upper left
corner. Then click "modify Settings". And return to the main interface of ZLVircom. You can see
that the COM5 has been connected to a device with IP 192.168.1.200. You can use COM5
24
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
Now close the before SocketTest and open a new ZLComdebug as the user's serial port
program, now open COM5. At this point, COM5 (virtual serial port) and COM4 (hardware serial
port) can send-receive data through networking products. If the serial port of the connected
product is not connected to the COM port of PC, but a serial port device, then the COM5 can be
opened to communicate with the device. And it's just use the network way now.
25
Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com
7. After-service
Shanghai ZLAN Information Technology Co., Ltd.
Address: 12 floor, D building, No. 80 CaoBao road, Xuhui District, Shanghai, China
Phone: 021-64325189
Fax: 021-64325200
Web: http://www.zlmcu.com
Email: support@zlmcu.com
26