Firmtech FZ100BS ZIGBEE SERIAL ADAPTER User Manual

Firmtech co., Ltd ZIGBEE SERIAL ADAPTER Users Manual

Users Manual

                                                         Zigbee RS232 Serial Adapter  ABOUT FZ100BSZigbee 2006 SupportRS232 Interface4dBi Dipole Antenna ProvidedAT Command provided
FZ100BS 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.
FZ100BS 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
FZ100BS Manual VERSION 0.1.0  4What is zigbee?  1. Features of Zigbee  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.400 ~ 2.4835 GHz: 15 channels (No.11 ~25 channel)  3) Transmission Rate   - 2.400 ~ 2.4835 GHz: 250Kbps  4) Tx Power and working distance - 1mW (0dBm) Inside: 30m, Outside: 100m   - Over 100m with 1mW - Tx Power is subject to change depending on manufacturers.  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.
FZ100BS Manual VERSION 0.1.0 2. Zigbee operation     < Zigbee Mesh network configuration >  ) Coordinator configures the Zigbee Network.   d Device. 2) Router expands Network by connecting Coordinator or other Routers.   3) End Device participates in Zigbee network and communicates with Router or Coordinator. 1Coordinator communicates with Router and En     5
FZ100BS Manual VERSION 0.1.0  6Products overview  FZ100BS  can  configure  Zigbee  network  with  low  power  consumption and low capacity by using Zigbee stack.  < Major features of FZ100BS >  1. Zigbee 2006 support  2. Mesh network support  3. Easy to input Serial data with DSUB-9 Connector.  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  Retry  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.475 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,  ※ We request the new users of FZ100BS 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 FZ100BS
FZ100BS Manual VERSION 0.1.0  7■  List of contents  IMPORTANT NOTE: .......................................................................................................................................................2 FCC RF RADIATION EXPOSURE STATEMENT:......................................................................................................2 1. PRELIMINARY USAGE OF PRODUCT.....................................................................................................................9 1-1. PRODUCT COMPONENTS.........................................................................................................................................9 1-2. FZ100BS OVERVIEW...........................................................................................................................................10 2. PRODUCT PERFORMANCE ....................................................................................................................................15 3. CURRENT CONSUMPTION .....................................................................................................................................15 4. FZ100BS IMAGE & DIMENSION ............................................................................................................................16 5. SERIAL INTERFACE..................................................................................................................................................16 6. SET VALUE OF PRODUCT......................................................................................................................................17 7. ZIGBEE NETWORK CONFIGURATION..................................................................................................................18 7-1. SERIAL COMMUNICATION (HYPER TERMINAL) PROGRAM EXECUTE......................................................................18 7-2. SET-UP FZ100BS DEVICE TYPE ........................................................................................................................20 7-2-1. FZ100BS End Device Set-up..............................................................................................................21 7-2-2. FZ100BS Router Set-up .......................................................................................................................22 7-2-3. FZ100BS Coordinator set-up..............................................................................................................23 7-3. THE ZIGBEE NETWORK CONFIGURATION USING FZ100BS .................................................................................24 7-3-1. The Zigbee Network configuration.....................................................................................................24 7-3-2. Zigbee Network Extension ...................................................................................................................24 7-3-3. Zigbee Network Participation .............................................................................................................. 25 8. FZ100BS DATA TRANSMISSION ...........................................................................................................................26 8-1. TARGET DEVICE SET-UP.......................................................................................................................................26 8-1-1. Searching for an IEEE ADDRESS of FZ100BS................................................................................26 8-1-2. Target device set-up ............................................................................................................................27 8-2. DATA TRANSMISSION.............................................................................................................................................28 9. FZ100BS MANAGEMENT TIP .................................................................................................................................30 9-1. FZ100BS DEVICE TYPE SET-UP ........................................................................................................................30 9-2. ZIGBEE NETWORK CONFIGURATION .....................................................................................................................30 9-3. [SET-UP] TARGET DEVICE & TRAFFIC.................................................................................................................31 9-4. START MESSAGE .............................................................................................................................................32
FZ100BS Manual VERSION 0.1.0  89-5. RESET OPTION .................................................................................................................................................34
FZ100BS Manual VERSION 0.1.0 1. Preliminary usage of product  1-1. Product components   Model Name  Pictures  Q’tyFZ100BS  1EAFBA-UPC    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.                9
FZ100BS Manual VERSION 0.1.0 1-2. FZ100BS Overview  (1) To configure the Zigbee network, set each device (FZ100BS) to  Coordinator,  Router  and  End Device.    The initial factory set value of FZ100BS 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 FZ100BSs     Set a time space to 2seconds for data transmission between FZ100BSs.   (set 2sec minimally per 10 FZ100BSs)    Example.2) Zigbee Network Contribution using 20 FZ100BSs   Set a time space to 4seconds for data transmission between FZ100BSs.   (set 2sec minimally per 10 FZ100BSs*2=4sec) It is not recommended to make a lot of traffic in the Zigbee Network.      10
FZ100BS Manual VERSION 0.1.0 (4) Coordinator and Router can configure child nodes up to 8               (5) End Devices cannot configure Child nodes  Setting FZ100BS to End Devices should be prior to the Zigbee Network Configuration. If you want to change  the  device  type  of  FZ100BS  from  Router  to  End  Device  in  the  Zigbee  Network,  you  had better re-configure the whole Zigbee Network in advance.        FZ100BS  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 FZ100BS set to Routers to their parent nodes, as well. If you change the FZ100BS 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.      FZ100BS supports mesh network, so you can expect the stable Zigbee Network. However, in order to  make  sure  of  proper  Zigbee  Network  configuration,  FZ100BS  of child nodes had better save FZ100BSs 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.      11
FZ100BS Manual VERSION 0.1.0 (6) FZ100BS can configure the Zigbee Network up to 4 Depth.  (7) FZ100BS configures the Zigbee Network with one Coordinator.  (8) FZ100BS can transmit data by multipath because it supports mesh network.    Contribute the Zigbee Network which has multipath.     (9) If you input Serial data into FZ100BS, It transmits the Serial data to its target device.  (10) FZ100BS has 3 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 FZ100BS, you need to check the result value for the transmission through the OK/ERROR Status LED.     12
FZ100BS Manual VERSION 0.1.0  13(12) FZ100BS has an IEEE ADDRESS and a NETWORK ADDRESS.       64 Bit IEEE ADDRESS is a physical address of FZ100BS.       Every device has its own IEEE ADDRESS and the IEEE ADDRESS is not changeable.         FZ100BS 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          FZ100BS has a 16 Bit of NETWORK ADDRESS for the Zigbee Network communication.    NETWORK ADDRESS is given when FZ100BS participates in the Zigbee Network.    NETWORK ADDRESS can be changed depending on the Zigbee Network Configuration. NETWORK ADDRESS cannot be shown unless FZ100BS participates in the Zigbee Network.       FZ100BS 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]   FZ100BS  on  a  MAC  layer  automatically  re-transmits  data  depending  on  the  Zigbee  Network Configuration.     In  case  of  using  ACK  option,  FZ100BS  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.
FZ100BS Manual VERSION 0.1.0 ※  < Routing table update of FZ100BS >  Routing table is assigned to each FZ100BS 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 LED.                                                      When  ACK  Option  is  disabled  (NACK  communication) of FZ100BS, 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 LED because  of  the  abnormal  Router1.  Multipath  set-up  is  required  ahead  of  the time to update the routing table.    When  the  ACK  Option  of  FZ100BS  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.                14
FZ100BS Manual VERSION 0.1.0  152. Product Performance    Part  Specification Zigbee Spec.  Zigbee 2006 Specification Support Communication Distance  120 M Frequency Range  2.4 GHz ISM Band Sensitivity  -98 dBm Transmit Power  9.89 dBm Size  31 (Width) X 68 (Length) X 16 (Height) Input Power  DC 5V Current Consumption  60mA (Max) Operating Temperature  -20 ℃ - +50 ℃ Max Operating Temperature  -40 ℃ - +85 ℃ Data rate  250Kbps Antenna  External Dipole Antenna (4.966dBi) DATA Interface  Female DSUB-9 (RS232) STATUS Interface  STATUS / OK / ERROR     3. 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  -
FZ100BS Manual VERSION 0.1.0 4. FZ100BS Image & Dimension      5. Serial Interface  Pin No  Signal Name  Description  Direction 1  STATUS (DCD)  Status Indication  Output 2  TX  Transfer Data(Data Output)  Output 3  RX  Received Data(Data Input)  Input 4  - (DSR)  -  - 5  GND  Ground  - 6  ERROR (DTR)  Status Indication  Output 7  - (CTS)  -  - 8  OK (RTS)  Status Indication  Output 9  VCC  Power(DC 5V)  Input   16
FZ100BS Manual VERSION 0.1.0  176. Set value of Product  Part  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 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  FZ100BS,  use  PC  Software  (Window  HyperTerminal,  Firmtech configuration program) after connecting FZ100BS to PC working with AT command.  Note:  Please, refer to the contents in “7. Zigbee Network Configuration”  or “FZx00_Appendix_2_GUI(ZIGNET)” for further information on Set-up Modification.
FZ100BS Manual VERSION 0.1.0 7. Zigbee network Configuration  To configure the Zigbee Network, set up a FZ100BS DEVICE. The  following  is  a  procedure  for  FZ100BS  Set-up  using  Serial  communication  (HyperTerminal) Program. The signal speed of FZ100BS is basically 115200bps.  7-1. Serial Communication (Hyper Terminal) Program Execute  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 FZ100BS, and click the OK button.  18
FZ100BS Manual VERSION 0.1.0 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 “Display the letters inputted on the Terminal” to get to know what letters are inputted, the Recommends between FZ100BS and Hyper Terminal are mixed up. Do not check this.    19
FZ100BS Manual VERSION 0.1.0  207-2. Set-up FZ100BS 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.    3. Do not change the Device Type of FZ100BS once the Zigbee Network is configured.  ※  It  is  better  to  set  Coordinator  and  Router  again(Factory  Reset)  if  the  Device  Type  of  FZ100BS  is changed after the Zigbee Network is already configured.    ※  See if the Zigbee Network is configured before resetting FZ100BS to initial set value. The FZ100BS reset automatically participates in the Zigbee Network if the Zigbee Network still exists there.
FZ100BS Manual VERSION 0.1.0 7-2-1. FZ100BS End Device Set-up  (1) The Initial set value of FZ100BS is ROUTER. (2) Connect Device to PC, execute Hyper Terminal, and approve the  power  to  the  Device.  “ROUTER  START  ERROR”  is  output through Serial port. “ROUTER START” and “ERROR” are 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 FZ100BS, 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.      (6)  If  “OK”  is  output  from  FZ100BS,  reboot  FZ100BS  by inputting “ATZ”.  (7) “END  START  ERROR”  is output at the moment when FZ100BS is rebooted. “END START OK” is output if the Zigbee Network is successfully configured.    (8) Now, End Device of FZ100BS set-up is completed.      Turn the Power of the End Device OFF, and set other devices.    21
FZ100BS Manual VERSION 0.1.0 7-2-2. FZ100BS Router Set-up  (1) The initial set value of Device is ROUTER. ※  The initial set value of FZ100BS 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)  Connect  FZ100BS  to  PC,  execute  Hyper  Terminal  Program, and  approve  the  power  to  the  FZ100BS.  “ROUTER  START ERROR” is output through Serial port.   “ROUTER START” and “ERROR” are 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 FZ100BS, 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.       (6)  If  “OK”  is  output  from  FZ100BS  by  inputting  “ATZ”,  reboot FZ100BS.  (7) “ROUTER  START  ERROR”  is output at the moment when FZ100BS is rebooted. “ROUTER  START  OK”  is  output  if  the  Zigbee  Network  is successfully configured. (8) Now, Router of FZ100BS Set-up is completed.  22Turn the Power of the Router Device OFF, and set other devices.
FZ100BS Manual VERSION 0.1.0 7-2-3. FZ100BS Coordinator set-up  (1) The initial set value of FZ100BS is ROUTER.  (2)  Connect  FZ100BS  to  PC,  execute  Hyper  Terminal  Program, and  approve  the  power  to  the  FZ100BS.  “ROUTER  START ERROR” is output through Serial port.   “ROUTER START” and “ERROR” are 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 FZ100BS, 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  FZ100BS  by  inputting  “ATZ”, reboot FZ100BS.  (7) “COORD START OK” is output at the moment when FZ100BS is rebooted.   (8)  Now,  Coordinator  of  FZ100BS  Set-up  is  completed,  and  the  Zigbee  Network  is  successfully configured. Turn the Power of the Coordinator Device OFF, and set other devices.   23
FZ100BS Manual VERSION 0.1.0 7-3. The Zigbee Network Configuration using FZ100BS  Try to configure the Zigbee Network after setting the Type for each Device.  7-3-1. The Zigbee Network configuration Coordinator leads the Zigbee Network Configuration. Coordinator manages the Zigbee Network. (1) Turn the power of the Device set to Coordinator ON. (2) “COORD START OK” is output. “COORD START OK” and “TARGET NON” are output. “TARGET  NON”  means  that  FZ100BS  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.  7-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) Turn the Power of the Device set to Router ON. (2) “ROUTER START OK” is output. “ROUTER START OK” and “TARGET NON” are output. “TARGET  NON”  means  that  FZ100BS  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.     24
FZ100BS Manual VERSION 0.1.0 7-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) Turn the Power of the Device set to End Device ON. (2) “END START OK” is output. “END START OK” and “TARGET NON” are output. “TARGET NON” means that FZ100BS 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.                        25
FZ100BS Manual VERSION 0.1.0 8. FZ100BS data transmission  Data transmission is possible by Devices which set its target devices  after  The  Zigbee  Network Configuration.     8-1. 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 FZ100BS.  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.  8-1-1. Searching for an IEEE ADDRESS of FZ100BS  (1) Input “+++” through Serial port of PC while a Device operates. With  Inputting “+++”, the mode of FZ100BS switches from operation mode to AT-command mode. Data  transmission  becomes  possible when FZ100BS is in an operation mode. Users can control FZ100BS when the device is in an AT-command mode.  (2)  “OK”  is  output  from  FZ100BS,  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 FZ100BS. 001551000000000B : It is an IEEE ADDRESS of FZ100BS. 0000 : It is a NETWORK ADDRESS.  (4) The IEEE ADDRESS “001551000000000B” is required for the target device set-up.  26
FZ100BS Manual VERSION 0.1.0 8-1-2. Target device set-up  Set a target device with the IEEE ADDRESS that is mentioned on the previous page.  (1) Turn the power of FZ100BS ON. (2) FZ100BS outputs a message “TARGET  NON”,  which  means that its target device is not set.     (3) Input “+++” through Serial port of PC while FZ100BS operates. “OK”  is  output.  From  then,  its  target  device  set-up  is  possible with AT Command.  27     (4)  After  “OK”  is  output  from  FZ100BS “AT+SETTARGET001551000000000B”  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 FZ100BS which means that the command for saving target device is cognized. If “ERROR” is output, the command inputted is wrong. (6) Re-start FZ100BS by inputting a command “ATZ” or turn the power of FZ100BS off and on, again.    (7) FZ100BS is re-started and outputs a message “TARGET OK”. Now, the target device set-up using its address is completed.  If  “TARGET  ERROR”  is  output,  FZ100BS  which  has  an  IEEE ADDRESS  “001551000000000B”  does  not  exist  in  the  Zigbee Network or the address saved is wrong.
FZ100BS Manual VERSION 0.1.0 8-2. 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 which is supposed to transmit the data is 0015510000000005.   (1) Turn the power of FZ100BS set to Coordinator ON. The Zigbee Network is configured by Coordinator.     (2)Turn the power of FZ100BS set to Router ON. 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-1-2.Target device set-up”, again.   (3) Input “1234567890” into Hyper terminal and press “Enter(0x0D)” key. FZ100BS transmits data (1234567890) inputted, Carriage Return(0x0D), and Line Feed(0x0A) at the same time. (Do not input 0x0A. 0x0A is automatically added by FZ100BS.)  (4) Serial Data“1234567890” is output.           28
FZ100BS Manual VERSION 0.1.0  29※  Input Serial data of FZ100BS ※  After inputting the serial data, press “Enter” key. ※  53 byte including “Enter” key is a maximum length of Serial data can be transmitted by FZ100BS   ※  The Serial data sent from a Device is output through Serial port of its target device. ※  the other forms of data cannot be transmitted while the Serial data is inputted.  ※  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 ERROR LED shows its status.
FZ100BS Manual VERSION 0.1.0  309. FZ100BS Management TIP  Refer to the following to configure Zigbee Network properly in terms of data transmission and Controls.  9-1. FZ100BS Device Type Set-up  (1) End Device Set-up Set FZ100BS to End Device before Coordinator and Router is set. (AT+SETEND) Turn the power of the FZ100BS OFF.  (2) Router Set-up Set FZ100BS to Router before Coordinator is set. (AT+SETROUTER) Turn the power of the FZ100BS OFF.  (3) Coordinator Set-up Set FZ100BS to Coordinator. (AT+SETCOORD) Turn the power of FZ100BS OFF.   9-2. Zigbee Network Configuration  (1) Turn the power of FZ100BS 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.
FZ100BS Manual VERSION 0.1.0  319-3. [Set-up] target device & Traffic          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.        If  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,  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.
FZ100BS Manual VERSION 0.1.0  32Do 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 FZ100BS 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     9-4. START MESSAGE  (1) START MESSAGE   It means that FZ100BS starts to operate. START MESSAGE is output as Serial data through DSUB-9 port.  If you don’t want a Device to output the START MESSAGE, input AT command (AT+SETSTAMSG0).  (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.
FZ100BS Manual VERSION 0.1.0  33   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.             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.
FZ100BS Manual VERSION 0.1.0  34   OK      : The message “OK” is output from FZ100BS 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.      9-5. RESET OPTION  (1) RESET OPTION FZ100BS operates properly in the Zigbee Network.  Once  the  power  of  FZ100BS  is  turned  ON,  the  device  automatically  participates  in  the  Zigbee Network. After the Zigbee Network Participation, the Device outputs “ROUTER START OK” or “END START OK”. Target device Se-up is possible afterwards.  FZ100BS 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 FZ100BS ON, and then the Device is participated  in  the  Zigbee  Network.  If FZ100BS has its target device’s Address, FZ100BS searches if its target device is participated in the Zigbee Network.  If  the  target  device  of  FZ100BS  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 FZ100BS is not participated  in  the  Zigbee  Network  and  the  target  device  is failed, “TARGET ERROR” is output.
FZ100BS Manual VERSION 0.1.0  35When RESET OPTION is set to be enabled with a command AT+SETRESET1,  FZ100BS  fails  to participate in the Zigbee Network and its target device is not properly set, FZ100BS is reset.  When RESET OPTION is set to be disabled with a command AT+SETRESET0,  FZ100BS  fails  to participate in the Zigbee Network and its target device is not properly set, FZ100BS is put on standby for a handle by users.
FZ100BS Manual VERSION 0.1.0  36※  Reference  Appendix_1: FZx00_AT Command  Appendix_2: FZx00_GUI  Appendix_3: FZx00_used End Device & Other Data

Navigation menu