Xinje Z-BOX User manual

Z-BOXwireless module
User manual
WUXI XINJE ELECTRIC CO., LTD.
Data No. ZC01 20110306 3.1


i
All copyrights reserved by WUXI XINJE ELECTRIC CO., LTD.
Any copying, transferring or any other usage is prohibited. Otherwise Xinje will have
the right to pursue legal responsibilities. All rights including patent and permission of
modules and designs are reserved.
January, 2010

Catalog
PREFACE ........................................................................................................................................ 1
1 SPECIFICATION........................................................................................................................... 2
1-1.TYPE..................................................................................................................................... 2
1-2.DIMENSION............................................................................................................................ 3
1-3.FEATURES............................................................................................................................. 3
2 Z-BOX........................................................................................................................................... 5
2-1. HARDWARE ............................................................................................................................. 5
2-2. SOFTWARE.............................................................................................................................. 8
3 ZBOX-BD...................................................................................................................................... 9
3-1. HARDWARE ............................................................................................................................. 9
3-2. SOFTWARE.............................................................................................................................11
4 WIRELESS ANTENNA............................................................................................................... 14
4-1. TERMINALANTENNA............................................................................................................... 14
4-2. SUCKERANTENNA ................................................................................................................. 15
4-3. WALL-MOUNTEDANTENNA...................................................................................................... 16
4-4. ANTENNA LAYOUT .................................................................................................................. 17
5 APPLICATION ............................................................................................................................ 21
5-1. ONE HMIWITH MULTI-PLC..................................................................................................... 21
5-2. DISTRIBUTED CONTROL SYSTEM ............................................................................................. 26
6 Q&A ............................................................................................................................................ 30

1
Preface
As the fast development of wireless technology, the related products are used widely. The
wireless products are new source for industry network which can simplify the network
distribution, save cost of network configuration and maintenance. With the wireless
network, the product can remote-monitor local device state, collect technology
parameters, update terminal device program, upload/download recipe of local data.

2
1Specification
1-1.Type
Z-BOX series wireless LAN products include Z-BOX module and Z-BOX expansion board:
Type
Function
Z-BOX module
Connect Modbus master station, such as PC, HMI, PLC. To
realize wireless communication. Refer to chapter 2.
XC-ZBOX-BD
Plug and play, connect Xinje PLC to realize wireless
communication. Refer to chapter 3.
XP-ZBOX-BD
Plug and play, connect Xinje integrated PLC&HMI controller, to
realize wireless communication. Refer to chapter 3.
If the antenna of module and BD board is not long enough, we provide below choices:
Name
Function
2.4GHz terminal antenna
Z-BOX default configuration, suitable for large and not
complete closed space. Refer to chapter 4-1.
2.4GHz sucker antenna
Suitable for narrow, closed and strong signal shielded space,
such as metal electrical cabinet. Refer to chapter 4-2.
2.4GHz wall-mounted
antenna
Large cover area, strong signal, strong interference immunity
ability. Suitable for large area factory. The network can cover
the whole place. Refer to chapter 4-3.

3
1-2.Dimension
Z-BOX module dimension: (unit: mm)
Note: ZBOX-BD is plug-and-play expansion board, it can install on Xinje PLC, and integrated
PLC&HMI controller directly.
1-3.Features
Coordinator, router and repeater are needed in the wireless LAN. The coordinator is the
essential device for the network; router and repeater can extend the network.
Product features:
(1) Strong networking ability, support star, tree and mesh network. ZBOX can auto-select
network structure as the actual environment.
(2) Network node has big capacity and fast starting speed, the node quantity can up to 254.
(3) Use 2.4GHz wave band, strong interference immunity ability.
(4) Lower power consumption.
(5) Easy to wiring, network node can move and expand.
(6) Strong self-healing ability. ZBOX will search other network path when communication is
error.

4
Advantage:
(1) Simplify the network distribution
(2) Save the cost of structure and maintenance
(3) Enable to remote monitor, update local devices, upload/download recipe data
(4) Ensure the reliability and stability of communication
Application:
(1) Industry control, remote sensing, remote measurement
(2) Monitor the unattended machine room, store house
(3) Pipe network monitoring
(4) Oilfield and coal data collection and monitoring
(5) Factory remote distribution control

5
2Z-BOX
2-1. Hardware
Part introduction of ZBOX:
Performance:
Item
Explanation
Working frequency
2.4GHz
Max transmit power
4.5dBm
Working temperature
-10°C ~ 60°C
Protocol
Zigbee, Modbus-RTU
Max data transfer speed
100Kb/s
Power supply
ZBOX is active module. It needs external power supply.
The power range is: AC 85~264V/47-63Hz or DC 90~375V (L+, N-).
SWITCH
There are 2 switches on the ZBOX:
①Power supply
②Serial port
③SWITCH
④LED indicator

6
Switch
Description
Function
S1
Device type
selection
ON
Router
OFF
Coordinator
S2
State save
selection
ON
Remember the network state, recover the
last network after re-power on
OFF
Not save network state, re-select the
network
LED indicator
ZBOX indicator diagram:
LED function:
No.
LED
Function
①
POWER
Power
Z-BOX power supply is normal when LED is ON
②
COM
Serial
port
Data exchange when LED is flickering
③
RF
Wireless
signal
The wireless signal send and receive when LED is
flickering
④
ACT
Network
Flicker 1time/s: coordinator is building the network. LED is
always ON after networking is successful
Flicker 3 time/s: router is adding the network. LED is
always ON after succeed
Flicker 50 time/s: read the BD serial port signal of PLC.
LED is always ON after succeed (PLC mode)
⑤
Signal
: weak signal
: medium signal
: strong signal

7
Serial port
Z-BOX module has a RS232 port which can connect PC, HMI, PLC and other devices.
DB 9-pin port
2
RXD
3
TXD
5
GND

8
2-2. Software
ZBOX has two working modes: PC mode and PLC mode.
PC mode: connect all the Modbus master devices, such as HMI, PC…
PLC mode: connect the devices which can be Modbus master and slave, such as PLC,
integrated PLC&HMI controller.
ZBOX default mode is PC mode. User can change the mode by ZBOX config software.
Z-BOX Config software is used to change the working mode.
(1) Please download the ZBOX config software on www.xinje.com.
(2) Connect ZBOX and PC with TP cable, power on the module.
(3) Open ZBOX config software.
Function:
1. COM: PC serial port
2. Device type config: select PC mode or PLC mode
3. Unknown mode: show the present module working mode
4. Read: read the module parameter
5. Write: modify the module parameter

9
3ZBOX-BD
3-1. Hardware
Type and performance
ZBOX-BD has two types: XC-ZBOX-BD and XP3-ZBOX-BD. The performance is as below:
Parameter
XC-ZBOX-BD
XP3-ZBOX-BD
Purpose
For XC series PLC
For integrated PLC&HMI controller
Working frequency
2.4GHz
2.4GHz
Max transmit power
4.5dBm
4.5dBm
Working temperature
-10°C ~ 60°C
-10°C ~ 60°C
Protocol
Zigbee, ModBus-RTU
Zigbee, ModBus-RTU
Max transfer speed
100Kb/s
100Kb/s
SWITCH
There are 4 switches on the ZBOX-BD.
No.
Description
Function
S1
Device type
selection
ON
Router
OFF
Coordinator
S2
State save
selection
ON
Remember the network state, recover
the last network after re-power on
OFF
Do not save the network state,
re-select the network
S3
Reserved
S4

10
LED indicator
LED
Function
COM
Serial
port
Data exchange when LED is flickering
RF
Wireless
signal
The wireless signal send and receive when LED is flickering
ACT
Network
Flicker 1time/s: coordinator is building the network. LED is always ON
after networking is successful
Flicker 3 time/s: router is adding the network. LED is always ON after
succeed
Flicker 50 time/s: read the BD serial port signal of PLC. LED is always ON
after succeed (PLC mode)
RSII
Signal
: weak signal
: medium signal
: strong signal

11
3-2. Software
ZBOX-BD will install on PLC and integrated PLC&HMI controller. Before using, please
configure the com3 of PLC in XCPpro software.
System requirements:
Hardware: PLC and integrated PLC&HMI hardware v3.1 and above.
Software: XCPpro software v3.1 and above.
Configuration steps
1. Install the ZBOX-BD on the PLC or integrated PLC&HMI controller.
2. Connect the PLC or integrated PLC&HMI controller with the PC, open XCPpro software.
3. Configure the COM3 parameter:
Click configure/PLC comm port setting in the menu. Click “read from PLC” in below window.
Then select “serial port 3” and Modbus Num 1. Then click “write to PLC”. Click “BD” in the left
list.

12
Select “BD serial port”---“OK”. Then download empty program to the PLC. At last, re-power
on the PLC.
Download and upload program
1. Open the XCPpro software, click Option/comm Mode setting.
Input the PLC serial port 3(BD serial port) station No. in below window:
2. Click configure/BD setting. Select “BD serial port”----“OK”.

13
3. Make the program and download to the PLC or upload from the PLC.

14
4Wireless antenna
4-1. Terminal antenna
Terminal antenna has small volume, easy to install. It is suitable for large and not complete
closed space.
Item
Description
Frequency
2400~2483MHZ
Receiving sensitivity
>-106dBm
Standing wave
≤1.8
Gain
3dBi
Max transmit power
50W
Input matched impedance
50Ω
Interface
SMA Male
Communication distance
Up to 150m (open environment)
Antenna dimension
Φ8×84 mm
Note: ZBOX default antenna is terminal antenna.

15
4-2. Sucker antenna
Sucker antenna is suitable for narrow, closed and strong signal shielded space, such as
metal electrical cabinet.
Item
Description
Frequency
2400~2483MHZ
Receiving sensitivity
>-106dBm
Standing wave
≤1.8
Gain
3dBi
Max transmit power
50W
Input matched impedance
50Ω
Interface
SMA Male
Communication distance
Up to 150m (open environment)

16
4-3. Wall-mounted antenna
Wall-mounted antenna has large cover area, strong signal, and strong interference immunity
ability. It is suitable for large area factory.
Item
Description
Frequency
2400~2483MHZ
Receiving sensitivity
>-106dBm
Standing wave
≤1.8
Gain
3dBi
Max transmit power
50W
Input matched impedance
50Ω
Interface
SMA Male
Wall-mounted antenna is mounted on the wall in order to expand the network cover area.
Please refer to below mounting steps:
Table of contents