Вы находитесь на странице: 1из 12

ZB-2570/2571/2570P/2571P Application Note

Warranty
All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.

Warning
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, or for any infringements of patents or other rights of third parties resulting from its use.

Copyright
Copyright 2009 by ICP DAS. All rights are reserved.

Trademark
The names used for identification only may be registered trademarks of their respective companies.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 1

Table of Contents
Introduction ........................................................................................................ 3 Serial Transparent non-addressable Mode:........................................................ 4 Modbus RTU/ASCII Mode: ................................................................................. 5 Serial Transparent addressable Mode:............................................................... 6 Ethernet Transparent non-a ddressable Mode: .................................................. 7 Modbus TCP Mode: ........................................................................................... 8 Ethernet Transparent addressable Mode:........................................................... 9 Modbus RTU/ASCII to Modbus TCP Mode:...................................................... 10 Modbus TCP to Modbus RTU/ASCII Mode:...................................................... 11 Vitural COM Transparent Mode : ...................................................................... 12

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 2

Introduction
This document introduces the applications of the ICP DAS ZB-2570/2570P (host) and ZB-2571/2571P (slave). The ZigBee (IEEE 802.15.4), a new wireless technology, supports more flexible and powerful functions such as mesh, repeater, automatic network organized and data encryptions etc. ICP DAS provides a new wireless converter ZB-2570/2570P and ZB-2571/2571P that is based on ZigBee technology. The following figure shows the converters classification of the operating modes by different interfaces:

Transparent non-addressable Serial Port (RS-232/485) Modbus RTU Transparent addressable

Transparent non-addressable (TCP server/client) Ethernet (RJ-45) Modbus TCP (server/client) Transparent addressable (TCP server/client) Serial Port (RS-232/485) & Ethernet (RJ-45) Ethernet (RJ-45) & Serial Port (RS-232/485)

Modbus RTU to Modbus TCP(server/client) Modbus TCP(server/client) to Modbus RTU

Vitural COM Transparent Mode

You can refer to the following web site for more information about ZigBee: http://www.icpdas.com/products/GSM_GPRS/zigbee/zigbee_introduction.htm You can refer to the following web site for more information about ZigBee converters: http://www.icpdas.com/products/GSM_GPRS/wireless/solutions.htm#6 ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6 Page 3

1. Serial Transparent non-addressable Mode :


When ZB-2570/2570P(host) receive by RS-232 or RS-485, it broadcast to ZigBee mesh. As ZB-2571/2571P(slave) receive packet, ZB-2571/2571P sent to remote I/O module by RS-485. The remote device respond to PC or controller by the same path. If your device is addressable, such as the ICP DAS I-7000/M-7000/I-87k remote I/O modules, you can use this mode to control remote device. In this mode, if you want to sent the data which over 50 Bytes, the data be cut for one packet of 50 Bytes. ZigBee module wait 50 ms after send a packet. When ZB-2571/2571P receive one packet, it right away pass the data to remote device. The romote device respone data in the same way.

In some applications where the host controller needs to broadcast data to all RS-232/RS-485 devices, and these devices receive data only (no response), you can also use this mode.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 4

2. Modbus RTU/ASCII Mode :


This mode is used in Modbus RTU/ASCII device. PC or controller connect to ZB-2570/2570P by RS-232 or RS-485 and the device connect to ZB-2571/2571P by RS-485. In this mode, if you want to sent the data which over 50 Bytes, the data be cut for one packet of 50 Bytes. ZigBee module wait 50 ms after send a packet. When ZB-2571/2571P receive all packet, it just pass the data to remote device. The romote device respone data in the same way.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 5

3. Serial Transparent addressable Mode :


If the RS-232/RS-485 interface modules arent addressable, you can use this mode to set an address for the ZB-2571/2571P ranging from 1~0xFFFF (the ZB-2570/2570P is always set as 0). Add 5 ASCII characters to the header of the original request data from your controller, then the remote device with the correct address will respond to it. This mode is similar to that used in ICP DAS I-752N products. In this mode, transmission delay is the same with Serial Transparent non-addressable.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 6

4. Ethernet Transparent non-a ddressable Mode :


This mode is similar to Serial Transparent non-addressable, but is used to connect to Ethernet devices. You should create a socket using the ZB-2570/2570P or controller instead of a remote device on the controller side. The ZB-2571/2571P or rear device will create a socket connection to each other (you should set the connection IP and port number via our utility software before you use it.). When the controller sends a TCP package to the ZB-2570/2570P, the ZB-2570/2570P will broadcast it. When the ZB-2571/2571P receives the data from the ZB-2570/2570P, it will forward it to the rear device. If the device responds to the data, the ZB-2571/2571P will only send the TCP package to the ZB-2570/2570P. Your controller will then receive the data that is forwarded from the ZB-2570/2570P. In this mode, transmission delay is the same with Serial Transparent non-addressable.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 7

5. Modbus TCP Mode :


This is a specific mode for Modbus TCP devices. You should set a mapping address to the Modbus TCP device in the ZB-2571/2571P via our utility software, then Modbus TCP request commands can be sent from your SCADA software or your own software via the ZB-2570/2570P. The device with the correct address will then respond to the command. For example, if the default address of your Modbus TCP device is 1 and you set the mapping address of the ZB-2571/2571P to address 2, you should send a Modbus TCP request command from your software with the address field set as 02. In this mode, transmission delay is the same with Modbus RTU/ASCII.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 8

6. Ethernet Transparent addressable Mode :


This mode is similar to Serial Transparent addressable, but is used to connect to Ethernet devices. In this mode, transmission delay is the same with Serial Transparent non-addressable.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 9

7. Modbus RTU/ASCII to Modbus TCP Mode :


This is a specific mode for Modbus RTU/ASCII device in controller side and Modbus TCP devices in the other side. You should set a mapping address to the Modbus TCP device in the ZB-2571/2571P via our utility software, then Modbus TCP request commands can be sent from your SCADA software or your own software via the ZB-2570/2570P. When ZB-2570/2570P receives the command from controller, ZB-2570/2570P will broadcast it. ZB-2571/2571P with the correct address will transform address into mapping address and change protocol from Modbus RTU/ASCII to Modbus TCP. When rear device recceive command from ZB-2571/2571P, the rear device will respond in Modbus TCP protocol. ZB-2571/2571P will transform mapping address into address, change protocol from Modbus TCP to Modbus RTU/ASCII and send to ZB-2570/2570P. when ZB-2570/2570P receives the data, ZB-2570/2570P will send to your controller. In this mode, transmission delay is the same with Modbus RTU/ASCII.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 10

8. Modbus TCP to Modbus RTU/ASCII Mode:


This is a specific mode for Modbus TCP device in controller side and Modbus RTU/ASCII devices in the other side. When ZB-2570/2570P receives the command from controller, ZB-2570/2570P will change protocol from Modbus TCP to Modbus RTU/ASCII and broadcast it. The rear decive with the correct address will respond. When ZB-2571/2571P recceive data from the rear device, ZB-2571/2571P will change protocol from Modbus TCP to Modbus RTU/ASCII and send to ZB-2570/2570P. When ZB-2570/2570P receives the data, ZB-2570/2570P will send to your controller. In this mode, transmission delay is the same with Modbus RTU/ASCII.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 11

9. Vitural COM Transparent Mode:


This is a specific mode allow you to use TCP/IP as simply as Serial port .First you should install the software, Vxcomm utility. Then you need to set something else. When you use this mode, just open the Vitural COM port that you set up, and send data into COM port, the data will be exported from COM1 of ZB-2571/2571P. When ZB-2571/2571P receives the data from COM1, the data will be exported from the Vitural COM.

ZB-2570/2571/2570P/2571P Application Note, Ver. 1.6

Page 12

Вам также может понравиться