Firmtech FZ200BS ZIGBEE USB ADAPTER User Manual

Firmtech co., Ltd ZIGBEE USB ADAPTER Users Manual

Users Manual

                                                    Zigbee USB Serial Adapter   ABOUT FZ200BSZigbee 2006 SupportUSB Interface4dBi Dipole Antenna ProvidedAT Command provided
FZ200BS Manual VERSION 0.1.0  2(C) Copyright FIRMTECH Co., Ltd. 2005 All rights reserved The  products  and  operation  descriptions  contained  herein  shall  be  protected  by  copyright law.   Any  part  or  whole  of  products  or  operation  description  shall  not  be  copied,  reproduced, translated,  nor  transformed  into  readable  form  by  electronic  device  or  machines,  without prior consent in writing by FIRMTECH Co., Ltd. There  might  be  some  misprinting  or  technical  faults  in  the  products  and  operation description which are subject to change without prior notice.  FCC Information to User This  equipment  has  been  tested  and  found  to  comply  with  the  limits  for  a  Class  B  digital device, pursuant to Part 15 of the FCC Rules. These limits are designed  to  provide reasonable  protection  against  harmful  interference  in  a  residential  installation.  This equipment generates, uses and can radiate radio frequency energy and, if not installed and used  in  accordance  with  the  instructions,  may  cause  harmful  interference  to  radio communications.  However,  there  is  no  guarantee  that  interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception,  which  can  be  determined  by  turning  the  equipment  off  and  on,  the  user  is encouraged to try to correct the interference by one of the following measures: • Reorient or relocate the receiving antenna. • Increase the separation between the equipment and receiver. • Connect the equipment into an outlet on a circuit different from that to which the receiver is con-nected. • Consult the dealer or an experienced radio/TV technician for help. Caution Modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. FCC Compliance Information : This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference,  and  (2)  this  device  must  accept  any  interference  received,  including interference that may cause undesired operation IMPORTANT NOTE: FCC RF Radiation Exposure Statement: This equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled environment. This  equipment should be  installed and operated with  a minimum  distance of 20 centimeters between the radiator and your body. This transmitter must not be co-located or operating in conjunction with any other antenna or transmitter.
FZ200BS Manual VERSION 0.1.0  3FIRMTECH Co., Ltd. 2005  Room  B-606,  Ssangyong  IT  Twin  Tower,  Sangdaewon-dong,  442-5,  Jungwon-gu,  Seongnam-si, Gyeonggi-do, Korea 462-120  Homepage : www.firmtech.co.kr Marketing Inquiry : contact@firmtech.co.kr Technical Support Inquiry : techsupport@firmtech.co.kr Tel : 82-31-719-4812 Fax : 82-31-719-4834
FZ200BS Manual VERSION 0.1.0  4What is zigbee?  1. Features of Bluetooth  1) Objectives of Zigbee : To realize Personal Wireless Communication  for  short  distance  and  slow speed with Low Power consumption and Low Cost, which is based on IEEE 802.15.4 Standard.    2) Frequency in Use : To use ISM(Industrial, Scientific, Medical)  Band  which  does  not  require  any permission to use. - 2.405 ~ 2.480 GHz: 16 channels in all nations (No.11 ~26 channel)  3) Transmission Rate   - 2.405 ~ 2.480 GHz: 250Kbps  4) Working distance - Inside: 30m, Outside: 100m    5) Configuration - Zigbee device is configured of Coordinator, Router and End Device. - Coordinator configures Network   - Router expands Network   - End device participates in Network - With 64bit address, can configure a maximum of 65536 Networks connected    6) Reliability - Supports Network level and Device level using Authentication-Network Key and Link Key.   - Supports encrypted packet transmission using 128bit AES Encryption.   - Guarantees data reliability on the application layer using ACK option in APS Packet - Guarantees data reliability on the physical layer using ACK option in MAC Packet.
FZ200BS Manual VERSION 0.1.0  5 2. Zigbee operation     < Zigbee Mesh network configuration>  1) Coordinator configures the Zigbee Network.   Coordinator communicates with Router and End Device.  2) Router expands Network by connecting Coordinator or other Routers.       3) End Device participates in Zigbee network and communicates with Router or Coordinator.
FZ200BS Manual VERSION 0.1.0  6Products overview  FZ200BS  can  configure  Zigbee  network  with  low  power  consumption and low capacity by using Zigbee stack. Serial data transmission via USB interface is available  FZ200BS can be used in conjunction with the FZ100BS/FZ750BS/FZ750BC.  < Major features of FZ200BS> 1. Zigbee 2006 support  2. Mesh network support  3. USB Interface is configured as easy as installing a USB driver for the serial data input / output available  4. Supports AT command, and control Devices by using the AT command.  5. Can check whether data is successfully transmitted or not by using ACK option.  6. By using Key Option, can obtain new Zigbee Network Routes so  that  data  re-transmission  is possible even if finding the communication route is failed for the first time.  7. Use 2.400 ~ 2.4835 GHz(ISM Band) 15 channels (No.11 ~25 channel)   11 (0x0B): 2405MHZ, 12 (0x0C): 2410MHZ, 13 (0x0D): 2415MHZ, 14 (0x0E): 2420MHZ, 15 (0x0F): 2425MHZ, 16 (0x10): 2430MHZ, 17 (0x11): 2435MHZ, 18 (0x12): 2440MHZ, 19 (0x13): 2445MHZ, 20 (0x14): 2450MHZ, 21 (0x15): 2455MHZ, 22 (0x16): 2460MHZ, 23 (0x17): 2465MHZ, 24 (0x18): 2470MHZ, 25 (0x19): 2475MHZ, 26 (0x20): 2480MHZ  ※ We request the new users of FZ200BS to read the information on this description carefully before they start to use the products.  ※  Please  consult  Firmtech.co.,  Ltd  if  you  want  to  configure  Zigbee  Network  using  more  than  30 devices of FZ200BS
FZ200BS Manual VERSION 0.1.0  7  FZ200BS Overview  (1) To configure the Zigbee network, set each device (FZ200BS) to  Coordinator,  Router  and  End Device.    The initial factory set value of FZ200BS is set to Router.    (2) Do not use Broadcast accompanied by a lot of traffic in the Zigbee network unless it is vital to be used.  It is not recommended to make a lot of traffic in the Zigbee network because it causes lots of trouble when transmitting data and bothers to set the new route toward target devices.   (3) Do not set short time for data transmission in the Zigbee Network. The more nodes the Zigbee Network has, the longer time for transmission time should be set.   Example.1) Zigbee Network Contribution using 10 FZ200BSs, Set a time space to 2seconds for data transmission between FZ200BSs. (set 2sec minimally per 10 FZ200BSs)   Example.2) Zigbee Network Contribution using 20 FZ200BSs, Set a time space to 4seconds for data transmission between FZ200BSs. (set 2sec minimally per 10 FZ200BSs*2=4sec)  It is not recommended to make a lot of traffic in the Zigbee Network.  It is not recommended to make a lot of traffic in the Zigbee network because it causes lots of trouble when transmitting data and bothers to set the new route toward target devices.
FZ200BS Manual VERSION 0.1.0  8  (4) Coordinator and Router can configure child nodes up to 8               (5) End Devices cannot configure Child nodes  Setting FZ200BS to End Devices should be prior to the Zigbee Network Configuration. If you want to change  the  device  type  of  FZ200BS  from  Router  to  End  Device  in  the  Zigbee  Network,  you  had better re-configure the whole Zigbee Network in advance.        FZ200BS  can  configure  Child  nodes  after  they  are  set  to  Routers and participated in the Zigbee Network. Also, other devices can  participate  in the Zigbee Network by setting the FZ200BS set to Routers to their parent nodes, as well. If you change the FZ200BS set to parent nodes to End Devices, the current End Devices cannot configure child nodes. In this situation, it is possibly can happen that other devices set the Routers to their parent nodes before the Routers are changed to End devices.      FZ200BS supports mesh network, so you can expect the stable Zigbee Network. However, in order to  make  sure  of  proper  Zigbee  Network  configuration,  FZ200BS  of child nodes had better save FZ200BSs set to Router (or coordinator) as their parent nodes.  Thus, you had better set the type of each Device (especially End Device) before the Zigbee Network Configuration.
FZ200BS Manual VERSION 0.1.0  9  (6) FZ200BS can configure the Zigbee Network up to 4 Depth.   (7) FZ200BSC configures the Zigbee Network with one Coordinator.  (8) FZ200BS can transmit data by multipath because it supports mesh network.    Contribute the Zigbee Network which has multipath.    (9) If you input Serial data into FZ200BS, It transmits the Serial data to its target device.  (10) FZ200BS has STATUS LED for showing the status of the Device.       (OK Status LED, ERROR Status LED, Condition Status LED)  (11) When you transmit data by using FZ200BS, you need to check the result value for the transmission
FZ200BS Manual VERSION 0.1.0  10through the OK/ERROR LED.    (12) FZ200BS has an IEEE ADDRESS and a NETWORK ADDRESS.       64 Bit IEEE ADDRESS is a physical address of FZ200BS.       Every device has its own IEEE ADDRESS and the IEEE ADDRESS is not changeable.       FZ200BS set target devices by using IEEE ADDRESS. In conclusion, “target device set-up”  is  an inquiry using IEEE ADDRESS for NETWORK ADDRESS of its target devices          FZ200BS has a 16 Bit of NETWORK ADDRESS for the Zigbee Network communication.    NETWORK ADDRESS is given when FZ200BS participates in the Zigbee Network.    NETWORK ADDRESS can be changed depending on the Zigbee Network Configuration. NETWORK ADDRESS cannot be shown unless FZ200BS participates in the Zigbee Network.       FZ200BS performs data transmission by using NETWORK ADDRESS.  (13) If you configure the Zigbee Network and perform data transmission, the result value is shown as [volume of received data > volume of transmitted data]. FZ200BS  on  a  MAC  layer  automatically  re-transmits  data  depending  on  the  Zigbee  Network Configuration.   In  case  of  using  ACK  option,  FZ200BS  on  an  application  layer  automatically  re-transmits  data depending  on  the  Zigbee  Network  Configuration.  Thus,  Received  data  could  be  more  than  2 depending on the Zigbee network configuration even if only one data is transmitted.
FZ200BS Manual VERSION 0.1.0  11   ※  < Routing table update of FZ200BS >  Routing table is assigned to each FZ200BS after the Zigbee Network Configuration.  Below is the Zigbee network status when data is transmitted from Router2 to Router1 to Coordinator. Data  is  input  into  Router2,  the  Router2  transmits  the  data  to  Router1,  and  then  the Router1  transmits  the  data  to  Coordinator.  Consequently,  the  data  inputted  into Router2  is  transmitted  to  Coordinator  by  routing  table  belonging  to  Router2  and Router1    If Router 1 is in abnormal status in the Zigbee Network, Router2 cannot transmit data, and shows its error status through ERROR port.                                                      When  ACK  Option  is  disabled  (NACK  communication) of FZ200BS, Device is automatically reset and Router2 creates a new routing table if the  Router2 happens to show its error status 5times successively through the  error  port because  of  the  abnormal  Router1.  Multipath  set-up  is  required  ahead  of  the time to update the routing table.    When  the  ACK  Option  of  FZ200BS  is  enabled  (ACK  communication),  users should control the routing table directly to update it. If the data  transmission  is  successively  failed, users need to reset its target device’s address (same as the existing one) and the Device.
FZ200BS Manual VERSION 0.1.0  12■  List of contents  IMPORTANT NOTE: .......................................................................................................................................................2 FCC RF RADIATION EXPOSURE STATEMENT:......................................................................................................2 1. PRODUCT COMPONENTS ......................................................................................................................................13 2. PRODUCT APPEARANCE........................................................................................................................................14 3. USB INTERFACE.......................................................................................................................................................14 4. DIP SWITCH & INTERFACE SOCKET ...................................................................................................................15 5. LED INDICATION / RESET SWITCH......................................................................................................................16 6. PRODUCT PERFORMANCE....................................................................................................................................17 7. CURRENT CONSUMPTION .....................................................................................................................................17 8. SET VALUE OF PRODUCT......................................................................................................................................17 9. USES GUIDE..............................................................................................................................................................18 9-1. SERIAL COMMUNICATION (HYPER TERMINAL) PROGRAM EXECUTE......................................................................19 9-2. SET-UP FZ200BS DEVICE TYPE ........................................................................................................................21 9-2-1. FZ200BS End Device Set-up..............................................................................................................22 9-2-2. FZ200BS Router Set-up.......................................................................................................................23 9-2-3. FZ200BS Coordinator set-up..............................................................................................................24 9-3. THE ZIGBEE NETWORK CONFIGURATION..............................................................................................................25 9-3-1. The Zigbee Network configuration.....................................................................................................25 9-3-2. Zigbee Network Extension ...................................................................................................................25 9-3-3. Zigbee Network Participation .............................................................................................................. 26 9-4. TARGET DEVICE SET-UP.......................................................................................................................................26 9-4-1. Searching for an IEEE ADDRESS of Coordinator ...........................................................................27 9-4-2. Target device set-up ............................................................................................................................27 9-5. SERIAL DATA TRANSMISSION................................................................................................................................28 10. FZ200BS MANAGEMENT TIP ...............................................................................................................................30 10-1. FZ200BS DEVICE TYPE SET-UP ......................................................................................................................30 10-2. ZIGBEE NETWORK CONFIGURATION ...................................................................................................................30 10-3. [SET-UP] TARGET DEVICE & TRAFFIC ...............................................................................................................31 10-4. START MESSAGE...........................................................................................................................................32 10-5. RESET OPTION...............................................................................................................................................34
FZ200BS Manual VERSION 0.1.0  131. Product components  Model Name  Pictures  Q’tyFZ200BS  1EAWE – 2405TO  1EACD  1EA  ※  If you find any of above components is defective, or not included in the package, please contact the seller you purchased.
FZ200BS Manual VERSION 0.1.0  142. Product Appearance   < Figure 2 Details and Dimension of FZ200BS >  3. USB Interface  Signal Name  Description STATUS (DCD)  Status Indication TX  Transfer Data(Data Output) RX  Received Data(Data Input) GND  Ground ERROR (DTR)  Status Indication OK (RTS)  Status Indication
FZ200BS Manual VERSION 0.1.0  154. Dip Switch & Interface Socket   번호  FEATURES  ON  OFF  BASIC SET1  Do not use  -  -  - 2  Do not use  -  -  - 3  Firmware Download Select Firmware Download Mode  Operation Mode  OFF 4  Do not use  -  -  - <Table 4-1 Features of Dip Switch >  NO.  Port  Description 1  VCC(3.3V)  3.3V Output Port 2  ADC  Analog Data Input Port 3  GPIO_0  Digital Data Input / Output Port 4  GPIO_1  Digital Data Input / Output Port 5  GPIO_2  Digital Data Input / Output Port 6  GPIO_3  Digital Data Input / Output Port 7  GPIO_4  Digital Data Input / Output Port 8  GPIO_5  Digital Data Input / Output Port 9  GPIO_6  Digital Data Input / Output Port 10  GPIO_7  Digital Data Input / Output Port 11  GND  Ground 12  KEY  Digital Data Input Port < Table 4-2 Features of Interface Socket >
FZ200BS Manual VERSION 0.1.0  165. LED Indication / Reset Switch   LED  State  Description Power LED  Power Input  Red Power LED is lit. Create a network or networks involved in the case, Status LED flashes about one second intervals. Network Creation or Participation  Did not create the network or the network did not participate in the case, Status LED blinks rapidly. If the target is set, the Status LED is lit Target Setting  If you have not set a target of approximately 1 second intervals Status LED blinks. Status LED Check the Operation Mode AT Command Mode is turned off if the Status LED Check data transmission If data transmission is completed, the OK LED blinks once. OK LED  Check the Operation Mode AT Command Mode if the OK LED is lit. Check data transmission If you did not complete the data transmission has ERROR LED flashes once STATUS LED ERROR LED Check the Operation Mode AT Command Mode if the ERROR LED is lit.
FZ200BS Manual VERSION 0.1.0  176. Product Performance  List  Specification Zigbee Spec.  Zigbee 2006 Specification Support Communication Distance  120 M Frequency Range  2405~2480MHz Sensitivity  -98 dBm Transmit Power  6 dBm Input Power  5V Current Consumption  00 mA (Max) Operating Temperature  -20 ℃ - +50 ℃ Max Operating Temperature  -30 ℃ - +80 ℃ Communication Speed  9,600 bps ~ 230,400 bps Antenna  Dipole Antenna (4 dBi) Interface  USB    7. Current consumption  Current Consumption Device type  Low Power Consumption mode Data transmissionCoordinator  -  40mA Router  -  40mA Wake-up  -  40mA Low power consumption mode1  2mA  - Low power consumption mode2  2mA  - End Device Low power consumption mode3  2mA  -        8. Set value of Product
FZ200BS Manual VERSION 0.1.0  18List  Initial set value Device Name  FZx00 Vx.x.x Device Type  ROUTER Device Channel  0B Device Transmit Power  00 UART (baud rate-data bit-parity bit-stop bit)  115200 (8, N, 1 fixed) KEY Option  0(Disable) ADC Option  0(Disable) Count Option  0(Disable) GPIO Option  0(Disable) Internal Time  10 ACK Option  0(Disable) Retry Option  9 Power Mode  1 Reset Option  0(Disable) Target Device Address  0000000000000000 Link Quality Option  0(Disable) Start Message Option  1(Enable) Debug Message Option  0(Disable) Battery Low Option  0(Disable) Quick Low Power Entry  0(Disable)   To  change  the  set  values  of  FZ200BS,  use  PC  Software  (Window  HyperTerminal,  Firmtech configuration program) after connecting FZ200BS to PC with AT Command.   Note:  Please, refer to the contents in “9. Uses Guide” or “FZx00_Appendix_2_GUI”  for  further information on Set-up Modification.       9. USES GUIDE  The  following  is  a  procedure  for  FZ200BS  Set-up  using  Serial  communication  (HyperTerminal)
FZ200BS Manual VERSION 0.1.0  19Program. The signal speed of FZ200BS is basically 115200bps.  9-1. Serial Communication (Hyper Terminal) Program Execute  FZ200BS first power ON. Using a USB virtual COM Port FZ200BS By using the device's power is not ON unless you can not run the HyperTerminal.  Select [Start][All  Programs][Accessories][Communication][Hyper  Terminal]  in  order,  and then a window for Connection Set-up comes up. Put a name in the name blank, and click the OK button.   When a window for Connection target comes up, select COM ports connected to FZ200BS, and click the OK button.
FZ200BS Manual VERSION 0.1.0  20   Select each blank as below “Bit/sec: 115200, data Bit: 8, Parity: None, Stop Bit: 1, Flow Control: None”, and click the OK button. Hyper Terminal is executed.    Hyper Terminal simply does not show any letters inputted. If  you  check  on  “Echo  typed  characters  locally”  to get to know what letters are inputted, the Recommends between FZ200BS and Hyper Terminal are mixed up. Do not check this.
FZ200BS Manual VERSION 0.1.0  21       9-2. Set-up FZ200BS Device Type  Zigbee Device is classified as Coordinator, Router, and End Device by objective of its operation.  There should be Coordinator in the Zigbee Network. A Coordinator should exist in a Zigbee Network. Coordinator manages the Network in the Zigbee Network. Router extends the Network in the Zigbee Network. End Device participates in the Zigbee Network using low power consumption.  Router and End Device are automatically participated in the Network once Coordinator configures the Zigbee Network.  Note : Please, refer to the following when you try to configure the Zigbee Network.  1. Do not turn the power of the Device set to Coordinator ON before all devices’ types are set.  2. If you already set the rest type of each Device and operate them with the Coordinator that the power is turned on, execute Factory Reset for the devices set to Coordinator and Router. Before the Factory reset, the power of the Coordinator and the Router should be turned OFF. After the Factory  reset  is  done,  set  each  Device  to  Coordinator  and  Router, and turn on the power of all devices. The Zigbee Network shall be properly configured.
FZ200BS Manual VERSION 0.1.0  22 3. Do not change the Device Type of FZ200BS once the Zigbee Network is configured.  ※  It  is  better  to  set  Coordinator  and  Router  again(Factory  Reset)  if  the  Device  Type  of  FZ200BS  is changed after the Zigbee Network is already configured.    ※  See if the Zigbee Network is configured before resetting FZ200BS to initial set value. The FZ200BS reset automatically participates in the Zigbee Network if the Zigbee Network still exists there.        9-2-1. FZ200BS End Device Set-up  (1) The Initial set value of FZ200BS is ROUTER. (2) FZ200BS device and the PC is connected and powered ON. After  running  the  HyperTerminal  program,  FZ200BS  When  you reset the serial port "ROUTER START ERROR" is output. “ROUTER  START  ERROR”  means  that  The  Zigbee  Network Participation  is  failed.  “ROUTER  START  OK”  is  output  if  the Zigbee Network is configured.   (3) Input “+++” in Hyper Terminal. (4)  If  “OK” is outputted from FZ200BS, AT-Command can be used from then. If  “OK”  is  not  output  even  after  inputting  “+++”,  press  “Enter” key and input “+++” again, or reboot the device and input “+++”.     (5) After inputting “AT+SETEND” into Hyper Terminal, press Enter Key.
FZ200BS Manual VERSION 0.1.0  23  (6)  If  “OK”  is  output  from  FZ200BS,  reboot  FZ200BS  by inputting “ATZ”.  (7)  “END  START  ERROR”  is output at the moment when FZ200BS is rebooted. “END START OK” is output if the Zigbee Network is successfully configured.    (8) Now, End Device of FZ200BS set-up is completed.    Turn the Power of the End Device OFF, and set other devices.   9-2-2. FZ200BS Router Set-up  (1) The initial set value of Device is ROUTER. ※  The initial set value of FZ200BS is ROUTER. The following is a procedure of purposely setting Device to Router by using AT-Command. However, Device originally operates as Router without intentional setting.  (2) FZ200BS device and the PC is connected and powered ON. After  running  the  HyperTerminal  program,  FZ200BS  When  you reset the serial port "ROUTER START ERROR" is output. “ROUTER  START  ERROR”  means  that  the  Zigbee  Network participation is failed.   “ROUTER  START  OK” is  output  if  the  Zigbee  is  successfully            configured Network.  (3) Input “+++” into Hyper Terminal.  (4) If “OK” is output from FZ200BS, AT-Command can be used from then.   If  “OK”  is  not  output  even  after  inputting  “+++”,  press  “Enter” key and input “+++” again, or reboot the device and input “+++”. (5) Input “AT+SETROUTER” through Serial port of PC and press “Enter” key.
FZ200BS Manual VERSION 0.1.0  24    (6)  If  “OK”  is  output  from  FZ200BS  by  inputting  “ATZ”,  reboot FZ200BS.  (7)  “ROUTER  START  ERROR”  is output at the moment when FZ200BS is rebooted. “ROUTER  START  OK”  is  output  if  the  Zigbee  Network  is successfully configured.  (8) Now, Router of FZ200BS Set-up is completed. Turn the Power of the End Device OFF, and set other devices.  9-2-3. FZ200BS Coordinator set-up  (1) The initial set value of FZ200BS is ROUTER. (2) FZ200BS device and the PC is connected and powered ON. After running the HyperTerminal program, FZ200BS When you reset the serial port "ROUTER START ERROR" is output. “ROUTER  START  ERROR”  means  that  the  Zigbee  Network participation is failed.   “ROUTER  START  OK”  is  output  if  the  Zigbee  Network  is successfully configured.  (3) Input “+++” into Hyper Terminal. (4) If “OK” is output from FZ200BS, AT-Command can be used from then.   If  “OK”  is  not  output  even  after  inputting  “+++”,  press  “Enter” key and input “+++” again, or reboot the device and input “+++”.  (5)  Input  “AT+SETCOORD”  through  Serial  port  of  PC  and  press “Enter” key .  (6)  If  “OK”  is  output  from FZ200BS  by  inputting
FZ200BS Manual VERSION 0.1.0  25“ATZ”, reboot FZ200BS.  (7) “COORD START OK” is output at the moment when FZ200BS is rebooted.   (8)  Now,  Coordinator  of  FZ200BS  Set-up  is  completed,  and  the  Zigbee  Network  is  successfully configured. Turn the Power of the Coordinator Device OFF, and set other devices.     9-3. The Zigbee Network Configuration using FZ200BS  Try to configure the Zigbee Network after setting the Type for each Device.  9-3-1. The Zigbee Network configuration Coordinator leads the Zigbee Network Configuration. Coordinator manages the Zigbee Network.   (1) Coordinator to set up the device's power is ON. After running HyperTerminal, FZ200BS will reset. (2) “COORD START OK” and “TARGET NON” are output. “TARGET  NON”  means  that  FZ200BS  has  yet  to  set  its  target device. (3) Zigbee Network is configured by Coordinator. (4) From then, Zigbee Network Participation and Extension is possible by Router and End Device. (5) Coordinator can transmit Data.  9-3-2. Zigbee Network Extension  Router performs the Zigbee Network Extension. Communication  distance  and  route  can  be  extended  because  of  the  Zigbee  Network  Extension  by Router. The number of End Device which participates in the Zigbee Network can be increased because of the Zigbee Network Extension by Router. Router also transmits data in the Zigbee Network, as well.  (1) Router to set up the device's power is ON. After running
FZ200BS Manual VERSION 0.1.0  26HyperTerminal, FZ200BS will reset. (2) “ROUTER START OK” and “TARGET NON” are output. “TARGET NON” means that FZ200BS has yet to set its target device. If “ROUTER START ERROR” is output, which means that no Zigbee Network  is  around,  reset  the Device or check if the Coordinator’s status is okay. (3) Router participates in the Zigbee Network and extends the Zigbee Network. (4) Router can transmit Data.     9-3-3. Zigbee Network Participation  End Device participates in the Zigbee Network. End Device performs data transmission in the Zigbee Network. End Device supports Low power consumption mode.  (1) END DEVICE to set up the device's power is ON. After running HyperTerminal, FZ200BS will reset. (2) “END START OK” and “TARGET NON” are output. “TARGET NON” means that FZ200BS has yet to set its target device. If  “END  START  ERROR”  is  output,  which  means  that  no  Zigbee Network is around, reset the Device or check if the Coordinator’s status is okay.    (3) End Device participates in the Zigbee Network, and is ready to transmit Data.         9-4. Target device set-up  To transmit Data, setting a target device, which is supposed to receive the Data, is required in terms of the Zigbee Network using FZ200BS.
FZ200BS Manual VERSION 0.1.0  27 With no target device, data transmission cannot be done even if data is inputted.    To set a target device, you need to know an IEEE ADDRESS of the Device.  9-4-1. Searching for an IEEE ADDRESS of Coordinator  (1) Input “+++” through Serial port of PC while a Device operates. With  Inputting “+++”,  the  mode  of  FZ200BS(Coordinator) switches from operation mode to AT-command mode. Data transmission becomes possible when FZ200BS is in an operation mode. Users can control FZ200BS when the device is in an AT-command mode.  (2)  “OK”  is  output  from  FZ200BS,  input  “AT+GETLOCAL” through Serial port of PC and press Enter Key.   (3) “COORD,001551000000000B,0000” is output from the Device.     COORD : It is the Device Type of FZ200BS. 001551000000000B : It is an IEEE ADDRESS of FZ200BS. 0000 : It is a NETWORK ADDRESS.  (4) The IEEE ADDRESS “001551000000000B” is required for the target device set-up.         9-4-2. Target device set-up  Set a target device with the IEEE ADDRESS that is mentioned on the previous page.  (1) Devices in the active state, FZ200BS (router) will reset
FZ200BS Manual VERSION 0.1.0  28(2) FZ200BS outputs a message “TARGET NON”, which means that its target device is not set.    (3)  Input  “+++”  through  Serial  port  of  PC  while  FZ200BS operates. “OK” is output. From then, its target device set-up is possible with AT Command.     (4)  After  “OK”  is  output  from  FZ200BS  “AT+SETTARGET 001551000000000B” through Serial of PC and press “Enter” Key.  AT+SETTARGET  : It is a command to save the target device’s address. 001551000000000B : It is the target device’s IEEE ADDRESS  (5) “OK” is output from FZ200BS which means that the command for saving target device is cognized. If “ERROR” is output, the command inputted is wrong. (6) Re-start FZ200BS by inputting a command “ATZ” or turn the power of FZ200BS off and on, again.    (7) FZ200BS is re-started and outputs a message “TARGET OK”. (The target device must be power ON.)  Now, the target device set-up using its address is completed.  If  “TARGET  ERROR”  is  output,  FZ200BS  which  has  an  IEEE ADDRESS “001551000000000B” does not exist in the Zigbee Network or the address saved is wrong.   9-5. Serial Data Transmission  Data transmission is done in the Zigbee Network. Data is transmitted to the target device “001551000000000B” that is set on the previous page. IEEE ADDRESS of the Device(Router) which is supposed to transmit the data is 0015510000000005.
FZ200BS Manual VERSION 0.1.0  29(1) Coordinator to set up the device's power is ON. After running HyperTerminal, FZ200BS will reset. The Zigbee Network is configured by Coordinator.     (2) Router to set up the device's power is ON. After running HyperTerminal, FZ200BS will reset. The Device participates in the Zigbee Network. Its target device is automatically set. A message “TARGET OK” is output.   If, “TARGET NON” or “TARGET ERROR” is output, its target device is not set.   Do the “9-4-2.Target device set-up”, again.    (3) Input “1234567890” into Hyper terminal(Router) and press “Enter(0x0D)” key. FZ200BS transmits data (1234567890) inputted, Carriage Return(0x0D), and Line Feed(0x0A) at the same time. (Do not input 0x0A. 0x0A is automatically added by FZ200BS.)  (4) Serial Data“1234567890” is output.(Coordinator)        ※  Input Serial data of Serial port of FZ200BS. ※  After inputting the serial data, press “Enter” key. ※  53 bit including “Enter” key is a maximum length of Serial data can be transmitted by FZ200BS. ※  The Serial data sent from a Device is output through Serial port of its target device.  ※  To transmit the other forms of data after Serial data transmission, you should wait until you get the Serial Data’s result value. In other words, the other data transmission becomes possible after OK LED or
FZ200BS Manual VERSION 0.1.0  30ERROR LED shows its status.                  10. FZ200BS Management TIP  Refer to the following to configure Zigbee Network properly in terms of data transmission and Controls.  10-1. FZ200BS Device Type Set-up  (1) End Device Set-up Set FZ200BS to End Device before Coordinator and Router is set. (AT+SETEND) Turn the power of the FZ200BS OFF.  (2) Router Set-up Set FZ200BS to Router before Coordinator is set. (AT+SETROUTER) Turn the power of the FZ200BS OFF. (3) Coordinator Set-up Set FZ200BS to Coordinator. (AT+SETCOORD) Turn the power of FZ200BS OFF.   10-2. Zigbee Network Configuration
FZ200BS Manual VERSION 0.1.0  31(1) Turn the power of FZ200BS set to Coordinator ON.  (2) Turn the power of Router and End Device which are supposed to make 1 Depth ON.       - You can create Devices in 1 Depth up to 8.  (3) Turn the power of Router and End Device which are supposed to make 2 Depth ON.       - You can create Devices in 2 Depth up to the number of Router in 1 Depth * 8.       - Devices are automatically created in 1 Depth if any seats are available in 1 Depth.  (4) Turn the power of Router and End Device which are supposed to make 3 Depth ON.       - You can create Devices in 3 Depth up to the number of Router in 2 Depth * 8.       - Devices are automatically created in 1/2 Depth if any seats are available in 1/2 Depth.  (5) Turn the power of Router and End Device which are supposed to make 4 Depth ON.     - You can create Devices in 4 Depth up to the number of Router in 3 Depth * 8.     - Devices are automatically created in 1/2/3 Depth if any seats are available in 1/2/3 Depth.  10-3. [Set-up] target device & traffic  Set target device of each Device after the Zigbee Network is configured.  Save an IEEE ADDRESS of target device by using a command “AT+SETTARGET”  Reset the Device so that its target device set-up can be processed.  < It is not recommended that there is a lot of traffic in the Zigbee Network. >  Refer to the meanings of Traffic in terms of Zigbee Network. The  Traffic  is  caused  by  “Zigbee  Device  which  performs  data  transmission  in  the  Zigbee  Network”, “Zigbee  Device  which  performs  data  transmission  to  get  its  target  device”,  “Zigbee  Device  which transmits  data  to  its  target  device” “ACK data for checking if Zigbee Device transmits data its target device properly”, and “Transmitted data for checking if the Zigbee Network works properly.”   There is no traffic in case of Coordinator and Router unless they are turned ON again. Coordinator and Router are always turned ON because they intermediate Devices.  In case of End Device, a lot of traffic is caused because the power of End Device is turned ON and OFF repeatedly.
FZ200BS Manual VERSION 0.1.0  32If there are a lot of Nodes in the Zigbee Network, set the space of time longer for data transmission between the Nodes,     Especially, in case of End Device, great caution is required. (A space of data transmission per 10 Devices: minimum 2seconds) The Shorter the space of data transmission is, the more traffic in the Zigbee Network is caused.  Do not change target device too often. When you set or change a target device, data for transmission is more created to get its route. The more data there is in the Zigbee network, the more traffic is caused.    In case thatEnd Device receives ACK data after data transmission, (For control using MICOM and data re-transmission) set ACK data transmission receipt to be enabled by using a command AT+SETACK1.   In this situation, more traffic in the Zigbee Network is caused in comparison.    If ACK data recipe is not required after data transmission using  End  device  (For  data  transmission only), set ACK data receipt to be disabled by using a command AT+SETACK0. In this situation, less traffic in the Zigbee Network is caused in comparison.   Do not set target device to FFFFFFFFFFFFFFFF(Broadcast) when performing data transmission.   If data is transmitted by Broadcast, all Routers in the middle transmit the data to all nodes again.   The  more  Devices  using  Broadcast  data  exist  and  the  more  Routers in the middle exist, the more traffic is caused in the Zigbee Network.   Do not use Broadcast data transmission unless it is essential.  When FZ200BS performs a command to get information on Nodes participated in the Zigbee Network, a lot of traffic in the Zigbee Network is caused.   Because Router cannot save information on all nodes in the Zigebee Network, the inquired data is mostly transmitted by broadcast. Broadcast data increase traffic in the Zigbee Network. In case of you need, use AT command to inquire information on nodes in the Zigbee Network.  A lot of traffic in the Zigbee Network bothers data transmission and target device set-up 10-4. START MESSAGE  (1) START MESSAGE   It means that FZ200BS starts to operate. START MESSAGE is output as Serial data through Serial port.  If you don’t want a Device to output the START MESSAGE, input AT command (AT+SETSTAMSG0).
FZ200BS Manual VERSION 0.1.0  33 (2) Sorts of START MESSAGE COORD START OK      : A Device starts as Coordinator and the Zigbee Network is configured properly.             Thus, data transmission is possible.     COORD START ERROR           : A Device starts as Coordinator, and the Zigbee Network Configuration is failed.       In this situation, a normal Zigbee Network cannot be configured.             After initializing the Device to factory set value (AT&F) and set the Device to Coordinator again,       Change the Channel used.     ROUTER START OK           : A Device starts as Router and the Zigbee Network is configured properly.           Thus, Zigbee Network Extension and data transmission is possible.     ROUTER START ERROR           : A Device starts as Router, and the Zigbee Network Configuration is failed.   See if there is Coordinator around.             See if there is Router participated in the Zigbee Network configured by Coordinator.   See if there is channel which is the same as the one Coordinator use.              END START OK           : A Device starts as End Device and the Zigbee Network is configured properly.   Thus, data transmission is possible.     END START ERROR   : A Device starts as Router, and the Zigbee Network Configuration is failed.   See if there is Coordinator around.
FZ200BS Manual VERSION 0.1.0  34            See if there is Router participated in the Zigbee Network configured by Coordinator.             See if there is Coordinator which has 8 child nodes.             See if there is Router which participates in the Zigbee Network and has 8 child nodes.     TARGET NON           : There is no IEEE ADDRESS of target device saved.             In this case, data transmission is not possible.       Set a target device to process data transmission.     TARGET OK           : Target Set-up is properly done by using an IEEE ADDRESS of target device.             Data transmission is possible.     TARGET ERROR           : Target Set-up using IEEE ADDRESS of target device is failed.             See if there is the target device in the Zigbee Network.             If there is the target device participated in the Zigbee network, check if the IEEE ADDRESS of the target device is correctly saved.     OK      : The message “OK” is output from FZ200BS when a Device switches its mode from operation mode to AT command mode. - Use  a  command  +++ to make the Device switches its mode from operation mode to AT command mode.       The massage “OK” is also output when a Device switches its mode from AT command mode to operation mode. - Use a command “ATO”  to  make  the  Device  switches  its  mode  AT  command  mode  to operation mode.    10-5. RESET OPTION  (1) RESET OPTION FZ200BS operates properly in the Zigbee Network.  Once  the  power  of  FZ200BS  is  turned  ON,  the  device  automatically  participates  in  the  Zigbee Network. After the Zigbee Network Participation, the Device outputs “ROUTER START OK” or “END
FZ200BS Manual VERSION 0.1.0  35START OK”. Target device Se-up is possible afterwards.  FZ200BS outputs “ROUTER  START ERROR” or “END START ERROR” if there is no Zigbee Network around or the Device cannot participate in the Zigbee Network.    Target device set-up is prior to data transmission.   Turn the power of FZ200BS ON, and then the Device is participated  in  the  Zigbee  Network.  If FZ200BS has its target device’s Address, FZ200BS searches if its target device is participated in the Zigbee Network.  If  the  target  device  of  FZ200BS  is  participated  in  the  Zigbee  Network and the target device is properly set, “TARGET OK” is output. Data transmission becomes possible from then. If the target device  of  FZ200BS  is not participated in the Zigbee Network and  the  target  device  is failed, “TARGET ERROR” is output.   When RESET OPTION is set to be enabled with a command AT+SETRESET1  ,  FZ200BS  fails  to participate in the Zigbee Network and its target device is not properly set, FZ200BS is reset.  When RESET OPTION is set to be disabled with a command AT+SETRESET0  ,  FZ200BS  fails  to participate in the Zigbee Network and its target device is not properly set, FZ200BS is put on standby for a handle by users.         ※  References  Appendix_1: FZx00_AT Command  Appendix_2: FZx00_GUI  Appendix_3: FZx00_End Device & ADC/KEY/GPIO
FZ200BS Manual VERSION 0.1.0  36

Navigation menu