Home

F8914 User Manual - Four

image

Contents

1. Operating 40 85 C 104 185 F Temperature 13 13 RX Mode 16 3 16 6mA 12 VDC 16 13 Deep Sleep 2 2 2 3 MA 12 VDC Storage 40 125 C 104 257 F Operating 95 Non condensing http www fourfaith com Page 10 of 42 EPA Four Faith User Manual Chapter 2 Installation Introduction 2 1 General The F8914 must be installed correctly to make it work properly There is need only one coordinator in a network the other nodes should be set as routers or end devices Install the coordinator first then install the routers or end devices from near to distant Warning Forbid to install the F8914 when powered 2 2 Encasement List Power adapter RS232 data cable Manual CD Maintenancecard 1 Table 2 1 Encasement List tf 1 2 3 Installation and Cable Connection Dimension unit mm 22 gt a 4 28 0 3 oy 35 25 28 58 5 Figure 2 1 Installation Chart http www fourfaith com Page 11 of 42 Four Faith User Manual Installation of antenna screw the SMA male pin of the antenna to the female SMA outlet of F8914 tightly Warning The antenna must be screwed tightly or the signal quality of antenna will be influenced Antenna install note 1 Install the antenna far away from the large area metal and ground 2 Keep the antennas visual 3 Minimize obstructions between the antennas 4 Reduce the extension cords of the antenna The performance of different ant
2. Parameter description number string 0 no sleep 1 timer sleep 2 deep sleep Default 0 4 4 2 26 Set the End Device sleep time AT STC Terminal equipment Sleep Setting Sleep 0 65535 J sec 1000 Sleep Mode Timer Sleep wake up 0 B5535 ms 1200 Form Command Return Set AT STC lt number strings gt ERROR AT STC STC number strings OK Parameter description number string Range 0 65535 seconds when AT SLE 1 set the sleep time Default 0 Note When sleep time is zero the module doesn t go to sleep http www fourfaith com Page 32 of 42 Four Faith User Manual 4 4 2 27 Set the End Device wake time AT WTC Terminal equipment Sleep Setting 2 O B5535 sec 1000 Sleep Mode Timer Sleep ake Wake up 0 65535 ms 1200 Wake up 0 65535 ms 1200 B5535 ms 1200 AT WTC lt number strings gt Koa AT WTC _ number strings Parameter description number string Range 0 65535 millisecond when AT SLE 1 set the wake time Default 0 4 4 2 28 Set the Data Interval AT ITV Data Interval 6 1980 Defanlt 20 ms Set AT lTV lt number strings gt Ko AT ITV EN rae number strings Parameter description number string Range 6 1980 millisecond Default 20 Note Data Interval is used to judge if the serial has recived the data If data interval greater than the setting the program will process the serial data The lower baudrate the longer data interval 4 4 2 29Query the bootload vers
3. number strings Range 0 65527 Set unique node trans address 65535 broadcast address Default 0 4 4 2 9 Set the node baudrate AT IPR AT PAR AT STO Paud Rate 300 B00 1200 2400 4500 9600 19200 35400 S7600 115200 Form Command Return Set AT IPR lt number string gt ERROR AT IPR IPR number string OK Parameter description number strings Range 0 300 1 600 2 1200 3 2400 4 4800 5 9600 6 19200 7 38400 8 57600 9 115200 Default 9 Parity Hone Even Odd Set AT PAR lt number string gt ERROR AT PAR PAR number string OK Parameter description http www fourfaith com Page 23 of 42 Four Faith User Manual number strings Range 0 none 1 even 2 odd Default 0 Stop Bit One Stop Bit Two Stop Bit Set AT STO lt number string gt ERROR AT STO STO number string OK Parameter description number strings Range 0 ONE stop bit 1 TWO stop bit Default 0 4 4 2 10 Set the AT command echo AI ECH Echo AT Command string Echo Set AT ECH lt number string gt ERROR AT ECH ECH number string Parameter description number strings Range 0 non echo 1 echo Default 0 4 4 2 11 Set node to get acknowledge AT tACK Set AT ACK lt number string gt ERROR AT ACK ACK number string OK Attention whether or not to get the acknowledge data Parameter description number strings Range 0 no 1 yes Default 0 http www fourfaith co
4. IQI Settings tork Mode DO Default Low level ID Settings Work Mode DO Defanlt High level TUS Settings tork Mode ADC ID4 Settings Work Mode ADC IOS Settings fork Mode ADC http www fourfaith com Page 29 of 42 Four Faith User Manual 101 Set AT DMn lt number string gt ERROR AT DMn DMn number string OK Parameter description number string Range 0 Disabled 1 ADC Analog to Digital Converter 2 DI digital input 3 DOlow digital output low 4 DOhigh digital output high Default 0 For example AT DMO 1 set the 101 Analog to Digital Converter 4 4 2 24 2 Set IO pin data acquisition time interval AT DTn n 0 4 LU settings I Settings fork Mode 00 Default Low level ID Settings Work Mode 00 Default High level TUS Settings Work Mode ALC Interval 0 65535 sec 20 ID4 Settings Work Mode ADC Interval 0655351500 10 IOS Settings Work Mode ADC Interval O A55S5 sec 30 Set AT DTn lt number strings gt ERROR AT DTn DTn number strings OK Parameter description number string Range 0 65535 seconds set the report time interval O not report Default 0 Attention 1 Take effect in IO pin ADC and DI mode http www fourfaith com Page 30 of 42 Four Faith User Manual 2 When configure EndDevice and Sleep mode it doesn t work 3 The collected data will send to the trans address node For example in AT command mode NVn lt
5. 4 3 6 OTA Query MAC address SREQ Offset Example Description SOF tt FE OXF Length 1 3 The length of data Send 24 5D Fixed to 24 5D S 1 1 address C aa AA ee S command CT ES T e sequence SRSP Fields Sub field___ Offset Example Description SOF 0 EOF Length 101 The length ofdata Data State 1 OO success FCS 6 1 38 Frame check sequence AREQ Fields Subfield Offset Example Description SOF KAA SA Length 1 0C i Thelengthofdata Data State 1 OO success Others error 10 OE Destination node address MAC 8B D9 D1 Low byte come first address 01 00 4B 12 00 Node type 1 00 coordinator 01 router 02 end device http www fourfaith com Page 39 of 42 Four Faith User Manual 4 4 3 7 OTA Query node address SREQ Fields Subfield Offset Example Description SOF AA FEOF Length 109 The length ofdata a ee E T Data Query 03 Fixed to 03 command MAC address 8B D9 D101 Low byte come first aE erent SRSP Fields Subfield Offset Example Description SOF 4 EA AE O Length 1 0 CC Thelengthofdata Data State 1 OO success FS 1 39 Frame check sequence AREO Fields Subfield Offset Example Description SOF 4 FE OXFE AA Length 1 JOC CC Thelengthofdata Data State 1 00 success AA r Destination MAC 8B D9 D1 Low byte come first 01 00 4B 12 00 address 01 router 02 end device Frame check sequence N
6. API mde send FE 01 21 ZA 00 OA through serial port CHECK the AT command mode send AT lt CR gt lt LF gt through serial port it will return OK All AT command line should begin with AT or at and end with lt CR gt lt LF gt In general the AT command includes three forms as shown in table 3 1 Table 3 1 AT command tome Eam A T e Set the custom Instance __ lt parameters Query Query the current AT XXX parameters value Execuietha command ATX 4 4 2 1 Set the PAN ID AT PID PAH ID Random Assign 0 655311 Set AT PID lt number strings gt ERROR http www fourfaith com Page 20 of 42 Four Faith User Manual AT PID PID number strings OK Parameter description number strings Range 0 65531 Set unique PAN ID 65535 System will assign a stochastic PAN ID Default 65535 4 4 2 2 Query current PAN ID AT PCD AT PCD PCD number strings OK Attention This command is different from AT PID When the PAN ID is assigned by system and the node joined in the network we can use this command to query the current PAN ID 4 4 2 3 Set the physical channel AT CHA Physical Channel 11 1 13 14 15 16 17 16 19 20 el oe 23 a4 25 26 Set AT CHA lt number strings gt ERROR AT CHA CHA number string OK Parameter description number string Range 11 26 Default 11 4 4 2 4 Query the node MAC address AT MID MAC Address 16 bytes of H
7. AT command mode we send AT NID N N 0 65527 if NID 65535 it will randomly assigned a node address Note that the coordinator s node address is fixed on 0 http www fourfaith com Page 17 of 42 Four Faith User Manual Chapter 4 Configuration 4 1 Configuration Connection Before configuration It s necessary to connect the device with the configure PC by the shipped RS232 or RS232 485 conversion cable As showing in the figure 4 1 RS232 RS232 485 Power PC Figure 3 1 F8914 connect with PC 4 2 Configuration Introduction There are two ways to configure the F8914 Configuration software tool All the settings are configured through the shipped software tool Its necessary to have one PC to run this tool Extended AT command All the settings are configured through AT command so any device with serial port can configure it Before configuration with AT command you should make F8914 enter configure state The following describes how to configure F8914 with AT command At the same time it gives out the corresponding the configure software tool of each configuration item Note When F8914 powers up it has three second configuration time During this time the serials baudrate is 115200 no parity 1 stop bit Send the 3 character command sequence twice through serial port Then it goes into AT command configuration http www fourfaith com Page 18 of 42 Four Faith User Manual 4 3 Run the configure T
8. Communication Setting column shows the current serial port settings To configure ZigBee modules please choose the correct serial port parameters then open the serial port If the button text is Close it shows the serial port now has been opened If the text is Open you should open the port first When you had configure the correct serial port please press the Enter Config bottom and follow the prompt the node will enter configuration state 4 4 Modes of Operation F8914 supports three modes of Operation Transparent Mode AT Command Mode and API Application Programming Interfaced Mode http www fourfaith com Page 19 of 42 EPA Four Faith User Manual 4 4 1 Transparent mode When operationg in transparent mode the modules act as a serial line replacement All UART data received through the DIN pin is queued up for RF transmission When data is received the data is sent out through the DOUT pin Re power module enter the transparent mode by default To enter transparent mode Inthe AT command mode send AT ESC lt CR gt lt LF gt through serial port Inthe API mode send FE 01 21 2A 00 OA through serial port 4 4 2 AT command mode AT command mode is a multiple function operation This mode can configure the modules parameters send data and recive data To enter AT command mode Inthe transparent mode send the 3 character command sequence twice through serial port Inthe
9. sleep time AT STOC wwwwmwwmmamannwwnzamuna 32 4 4 2 27 Set the End Device wake time ATHWTOC wwmmananawwnznwwna 33 4 4 2 28 Set the Data Interval AT ITV cc cecccccecceceeeeeseeeeeseeeeesseeeesaees 33 4 4 2 29Query the bootload version AT BIL cccccceccceceeeceteeeeeseeeeeeaees 33 4 4 2 30 Set device work mode AT MOD ccccccseececeeeeeeeeeesaeeeeseees 34 4 4 2 31 Other execute command ccccceecccceeececeeeeeeeeeeesaeeeesseeeessueeesaees 34 WA el MOIE ee ne 34 4 4 3 1 data send command cccccecccceeeeceeeeceeeeseeeeseeeeseeeeseeeeseeeseessaees 36 4 4 3 2 data recive command ssessicaacncwaniacntwactnanepeasacnanssimastpaneneaaacnanctianstnace 36 4 4 3 3 Set the node current operating MOde w mamwnmamwnnwwnzamwna 36 4 4 3 4 OTA IO pin data acquisition ww wmmwamamwmamwnmamuwamwnwamena 37 4 4 3 5 OTA Set remote node IO pin value w mmwamamenamwnzamwna 38 4 4 3 6 OTA Query MAC addres cccccceecccceeececeeeeceeeeesaeeeesseeeetseeeenanes 39 4 4 3 7 OTA Query node addreSsS wwmmamwnnwwnnmamwnawwanawunzanunanunzawuza 40 4 4 3 8 OTA Query all node address and MAC address cccceeeeee eee 40 4 5 End device sleep mode configuration description w wwmmamwnnwa 41 be KA E EEE A ST 41 Ao B Oc eurra E A E NN en eee 42
10. state gt lt node address gt lt pin gt lt value gt 3 ADC value converte voltage or electric current value formula voltage ADC value 3 3 20 16 2047 12 1 V electric current ADC value 3 3 1000 2047 150 mA 4 4 2 24 3 Query IO pin value AT DVn n 0 4 AT DVn DVn number string OK Description Get local IO pin value ADC or GPIO 4 4 2 24 4 Query the net node IO pin value AT NVn n 0 4 AT NVn lt node SRSP OK address gt AREQ NVn lt state gt lt node address gt lt pin gt lt value gt SRSP ERROR Parameter description Node Address the required node address 4 4 2 24 5 Set remote node IO pin value AT NSn n 0 4 AT NSn lt node SRSP OK address gt lt configure AREQ value gt NVn lt state gt lt node address gt lt pin gt lt state gt SRSP ERROR Parameter description State the first is the command execute state the second is the command set state Node Address the required node address http www fourfaith com Page 31 of 42 Four Faith User Manual Configure value 0 low level 1 high level Attention Wireless set the node IO pin value only take effect on digital IO output mode 4 4 2 25 Set the End Device sleep mode AT SLE Terminal equipment Sleep Setting Sleep Mode Ho PET Version Inf Timer Sleep EENET Deep Sleep j Enter Lontig Set AT SLE lt Number String gt ERROR AT SLE SLE Number String OK
11. 64 5E Fixed to 64 5E Data State 00 success Others error Fes 1 3B Frame check sequence Fields Subfield Offset Example Description SOF YA JFE OxFE SRSP aa Length 1 06 The length of data 44 5E Fixed to 44 5E http www fourfaith com Page 37 of 42 Four Faith User Manual IO pin address IO pin addres Pin value n 00 00 Attention it shows little endian such as 12 34 equale to 0x3412 Fes Ao 00 Frame check sequence 4 4 3 5 OTA Set remote node IO pin value Attention IO pin is set digital output mode SREQ Fields Subfield Offset Example Description so 4 FE OKFE sLength 1 06 Thelengthof data o S e e a E Data Destination 10 OE Destination node address Write AA 01 Fixed to 07 IO pin address La IO pin address 00 02 Pin value 01 00 Attention it shows little endian such as 01 00 eguale to 0x0001 FS 1 SE Frame check sequence Fields Subfield Offset Example Description SOF 0 FEOF Length 41 gt Ss Thelengthofdata Data State 1 OO success Fes 1 05 Frame check sequence AREQ Fields Subfield Offset Example Description SOF 4 FEOF E AA Length 1 05 Ss Thelengthofdata 44 60 Fixed to 44 60 Data Send state 1 OO success Others error 10 OE Destination node http www fourfaith com Page 38 of 42 Four Faith User Manual ee IO pin address IO pin address 00 02 Others error a sequence 4
12. EX number DSEFECOIO0451200 AT MID MID hexadecimal strings OK http www fourfaith com Page 21 of 42 Four Faith User Manual Attention This command is read only It will return 16 hexadecimal strings For example 051B9B01004B1200 4 4 2 5 Set the node type AT TYP Hode Type Coordinator Routing End Device Set AT TYP lt number string gt ERROR AT TYP TYP number string OK Parameter description number string Range 0 Coordiantor 1 Routerr 2 End Device Default 1 4 4 2 6 Set node address AT NID Set AT NID lt number strings gt ERROR AT NID NID number strings OK Parameter description number string Range 0 65527 Set unique node address 65535 System will assign a stochastic node address Default 65535 Attention When coordiantor form a network its node address is fixed to 0 the router and end device s node address must be non zero 4 5 2 7 Query node current address AT NCD AT NCD NCD number strings OK http www fourfaith com Page 22 of 42 Four Faith User Manual Attention This command is different from AT NID When the node address is assigned by system and the node joined in the network we can use this command to query the current node address 4 4 2 8 Set the transparent address AT TID Trans Address Broadcast Assign D 65527 O Set AT TID lt number strings gt ERROR AT TID TID number strings OK Parameter description
13. EndDevice successfully joined in the network 102 will output low level to indicate online If EndDevice unsuccessfully joined in the network or went into sleep 102 will output high level to indicate off line Configuration conditions 1 Hardware 101 must connect to high level 3V 3 3V 2 Software Devcie should be configured as end device and Timer Sleep The Interval must be greater than 0 Hode Type Coordinator Routing End Device Terminal equipment Sleep Setting Sleep O B5535 ser 1000 Sleep Mode Timer Sleep fake up D 65535 ms 1200 4 5 2 Deep sleep Function description Deep sleep is waked up by extern interrupt When 101 is low level device not goes to sleep When 101 is high level 3V 3 3V device goes to deep sleep After EndDevice waking up if EndDevice successfully joined in the network 102 will output low level to indicate online If EndDevice unsuccessfully joined in the network or went into sleep 102 will output high level to indicate off line Configuration conditions 1 Hardware Operate on 101 s level 2 Software Devcie should be configured as end device and Deep Sleep Hode Type Coordinator Routing End Device Terminal equipment Sleep Setting Note that 1 When device is not work on sleep mode 101 102 are used as digital input or output 2 When device is work on sleep mode lO1 is reused as extern interrupt lO2 is reused to indicate on line or off line http www fourfaith com Page 42
14. Four Faith F8914 User Manual F8914 Documentation No Product Version Product Name F8914 F8914 User Manual The user manual is suitable for the following model Model Product Type F8914 N ZigBee Termianl F8914 E ZigBee Terminal with PA Xiamen Four Faith Communication Technology Co Ltd P Add J1 J3 3rd Floor No 44 GuanRi Road SoftWare SS ls C Park XiaMen China Zip Code 361008 Tel 86 592 6300326 6300325 6300324 Four Faith Fax 86 592 5912735 http www fourfaith com Four Faith User Manual Files Revised Record 2012 10 31 V1 1 Power consumption interface Harven modification etc 2013 01 18 V1 11 Add ZigBee simply description and Tady Chen Sleep mode description 2013 03 05 V1 12 Modify the sleep method Add work Tady Chen mode AT command Xiamen Four Faith Communication Technology Co Ltd Page 2 of 42 Add J1 J3 3 Floor No 44 GuanRiRoad SoftWare Park XiaMen 361008 China http www fourfaith com Tel 86 592 6300326 6300325 6300324 Fax 86 592 5912735 Four Faith User Manual Copyright Notice All contents in the files are protected by copyright law and all copyrights are reserved by Xiamen Four Faith Communication Technology Co Ltd Without written permission all commercial use of the files from Four Faith are forbidden such as copy distribute reproduce the files etc but non commercial purpose downloaded or printed by individual all files shall be not revised and the c
15. Page 16 of 42 Fou r Faith User Manual 4 The nodes in the network can use node address transmit or receive data NOTE In a Zigbee network just only one coordinator 3 2 2 Physical Channel ZigBee is based on IEEE 802 15 4 that has defined the MAC layer and physical layer IEEE 802 15 4 also defined 3 work band 2 5GHz global 868MHz Europe and 915MHz USA they respectively has highest 250kbit s 40kbit s 20kbit s transmission rate On the three band has 27 work channels in total 2 4GHz has 16 channels 915MHz has 10 channels 868MHz has only one channel F8914 works on 2 4GHz band In AT command mode we send AT CHAEN N 11 26 to configure the channel We recommend 15 20 25 26 channel 3 2 3 Pan ID ZigBee network also calls personal area network every personal area network has unique Pan ID This Pan ID is used on every device in a same ZigBee network F8914 can preconfigure a Pan ID and randomly select a Pan ID In AT command mode we send AT PID N N 0 65531 if PID 65535 it will randomly select a Pan ID 3 2 4 Node address ZigBee device has two address types 64 bit MAC address and 16 bit node address 64 bit MAC address is unique in the world and used in the product life 16 bit node address usually assigned when the device joined in the network It s unique in a same Pan ID network We use node address to send and receive data F8914 can preconfigure a node address and randomly assigned a node address In
16. SOF Start of Frame This is a one byte field with value equal to OxFE that defines the start of each general serial packet Length 1 byte length of the actual data Command 2 byte command Id Frame data the data ranging from 0 250 bytes FCS Frame Check Sequence This is a one byte field that is used to ensure packet integrity This field is computed as an XOR of all the bytes in the message starting with LEN field and through the last byte of data The following is a sample code FCS calculation unsigned char calcFCS unsigned char pMsg unsigned char len unsigned char result 0 while len result pMsg return result Attention The data content should be send with little endian the lowest byte come first 1 SREQ A synchronous request that requires an immediate response For example a function call with a return value would use an SREQ command 2 AREQ An asynchronous request For example a callback event or a function call with no return value would use an AREQ command 3 SRSP A synchronous response This type of command is only sent in response to a SREQ command For an SRSP command the subsystem and ID are set to the same values as the corresponding SREQ The length of an SRSP is generally nonzero so an SRSP with length 0 can be used to indicate an error http www fourfaith com Page 35 of 42 Four Faith User Manual 4 4 3 1 data send command SREQ Offset Example Descripti
17. Xiamen Four Faith Communication Technology Co Ltd Add J1 J3 3 Floor No 44 GuanRiRoad SoftWare Park XiaMen 361008 China Page 6 of 42 http www fourfaith com Tel 86 592 6300326 6300325 6300324 Fax 86 592 5912735 Four Faith User Manual Chapter 1 Brief Introduction of Product 1 1 General F8914 is a kind of data terminal device that provides data transfer function by ZigBee network It adopts high powered industrial 32 bits CPU and embedded real time operating system It supports RS232 RS485 or RS422 and ZigBee port that can conveniently and transparently connect one device to a cellular network allowing you to connect to your existing serial and ZigBee devices with only basic configuration It has low power consumption states in which the power consumption 2 2mA 12VDC It has compatible digital 1 0 channel ADC function It has been widely used on M2M fields such as intelligent transportation smart grid industrial automation telemetry finance POS water supply environment protection post weather and so on y_ ZIGBEE 3 Network denon PROTOCOLE D gt F8si4 SS Fadia Data Center Acquisition modu e Figure 1 1 F8914 Application Topology 1 2 Features and Benefits Design for Industrial Application High powered industrial ZigBee module Support low power consumption mode including multi sleep and trigger modes to reduce the power dissipation farthest Housing iron providing IP30 prote
18. cccceececececeeeeteeeeceeeeseeeeseeeseueesaueeseeeesaueeseneeseeeens 20 4 4 2 1 Set the PAN ID AT PID 0 cece ceccceceeeeeseeeeeseeeeeseaseessageessaes 20 4 4 2 2 Query current PAN ID AT PCD ccccccsseeeeseeeeeeeeeeeeeeseaeeeesaaees 21 4 4 2 3 Set the physical channel AT CHA ccccccseeeeceeeeeseeeeesaeeeeeaees 21 4 4 2 4 Query the node MAC address AT MID cccccccseeeeeeeeeeeeeeeeees 21 4 4 2 5 Set the node type AT FT Y P caissiassciniinnissisniannsinasiansnineivaaicninieiaansienevaiesnneice 22 4 4 2 6 Set node address ATENID wwwwamamamnwwnmwnunawwnzanunamuniwwwza 22 4 5 2 7 Query node current address AT NCD cccccceeeseeeeeeseeeeeeeaeees 22 4 4 2 8 Set the transparent address ATHTID wwwmmmwmamwnmamwna 23 4 4 2 9 Set the node baudrate AT IPR AT PAR ATSTO 23 4 4 2 10 Set the AT command echo ATFECH wwmmamamamwnmanunawwnzawuza 24 4 4 2 11 Set node to get acknowledge AT ACK cccccccsseeeeeeeeeeeeeneees 24 Xiamen Four Faith Communication Technology Co Ltd Page 5 of 42 Add J1 J3 3 Floor No 44 GuanRiRoad SoftWare Park XiaMen 361008 China http www fourfaith com Tel 86 592 6300326 6300325 6300324 Fax 86 592 5912735 a Four Faith User Manual 4 4 2 12 Set debug level AT DBL ccc cecccccccccceececeeeeeseeeeesseeeesseeeeeaaes 25 4 4 2 13 Set the node auto joins in
19. ction Power range DC 5 35V Stability and Reliability Support hardware and software WDT Support auto recovery mechanism including online detect auto redial when offline to make it always online RS232 RS485 RS422 port 15KV ESD protection SIM UIM port 15KV ESD protection Power port reverse voltage and overvoltage protection http www fourfaith com Page 7 of 42 Four Faith User Manual Antenna port lightning protection optional Standard and Convenience Adopt terminal block interface convenient for industrial application Support standard RS232 and RS485 or RS422 port that can connect to serial devices directly TTL logic level RS232 interface can be customized Support intellectual mode enter into communication state automatically when powered Provide management software for remote management Support several work modes Convenient configuration and maintenance interface High performance Support ZigBee wireless short distance data transmission Support repeater and terminal device function Support Point to Point Point to Multipoint Peer to Peer and Mesh network Support 65000 nodes Support center node route node and terminal node Support broadcast and target address transfer Support wide communication range Supply 5 I O channels compatible 2pulse wave output channels 3 analog inputs and 2 pulse input counters AAA A A A A a a G 1 3 Working Principle The principle chart of th
20. e F8914 is as following Indicator MCU RF Lights RS232 RS485 RS422 Module 1 4 Specifications ZigBee Specification Cem CSS tnt http www fourfaith com Page 8 of 42 Four Faith User Manual ZigBee Module Industrial ZigBee module Standard and Band IEEE 802 15 4 ISM 2 4 GHz Indoor Urban Range 30m 90m With PA Outdoor RF Line of Sight Range 500m 2000m With PA 2 82mw 4 5dBm 100 mw 20dBm With PA Bandwidth 250Kbps o 97dBm Receiver Sensitivity 103dBm With PA Network Topologies Point to Point Peer to Peer and Mesh Max packge size 300 Bytes Transmit Power Interface Type am Content O O Serial 1 RS232 port and 1 RS485 orRS422 port 15KV ESD protection Data bits 8 Stop bits 1 2 Parity none odd even Baud rate 300 600 1200 2400 4800 9600 19200 38400 57600 115200 bps Power ACT Online Standard SMA female interface 50 ohm lighting protection optional Power Terminal block interface reverse voltage and overvoltage protection Antenna Terminal Block Interface Power Input tem a Standard Power DC 12V 0 5A DC 5 35V Power Consumption Working States Power Consumption http www fourfaith com Page 9 of 42 Four Faith User Manual __ aaa am T l Idle Mode 15 9 16 1MA 12 VDC Coordinato r With PA Physical Characteristics o ltem Content Iron providing IP30 protection 91x58 5x22 mm 2059 Environmental Limits
21. ecuted it will recive Asynchronous response NWS lt state gt lt node address gt lt MAC address gt lt node type gt For example NWS 0 0 1122334455667788 0 NWS 0 2 1122334455667799 1 NWS 0 8 1122334455667732 2 http www fourfaith com Page 26 of 42 Four Faith User Manual Attention In order to avoid blocking every node recived the command will delay for a period of time and send the message itself to the sender This time range from 0 to 66 seconds Table 3 2 State information Normal Not in the net Don t exist the node address Reserve o Opposite don t response 4 Rene 4 4 2 18 Query the node address AT QNA Set AT QNA lt MAC SRSP OK address gt AREQ NWS lt state gt lt node address gt lt MAC address gt lt node type gt Parameter description MAC Address the required 16 hexadecimal strings 4 4 2 19 Query the node MAC address ATtQMA Set AT QNA lt node SRSP OK address gt AREQ NWS lt state gt lt node address gt lt MAC address gt lt node type gt SRSP ERROR Parameter description Node Address the required node address 4 4 2 20 Query local node address net state AT SNS Huery Dev Net State AT SNS SNS as shown table 3 3 OK http www fourfaith com Page 27 of 42 Four Faith User Manual Table 3 3 DEV NETWORK STATE Initialized not connected to anything 04 ReJoining a PAN only for end devices 05 Joined but not yet authenticated b
22. enna installation types as the figure 2 2 Antenna Parallel visual Different horizontal catercornered Figure 2 2 Installation antenna mode http www fourfaith com Page 12 of 42 PF Four Faith User Manual User Interface Signal Definition Pin Signal Name Default Function Extensible Function N A N A N A N A N A PWR Powerinputanode NA Rx RSZ2RX NA x Rsz2tx SNA A lO1 GPIO Reserved compatible RTS and um 102 GPIO Reserved compatible CTS and RS232 TX TTL logic level ADC analog input GPIO pulse output pulse function voltage counting Reserve compatible acquisition 0 5 V RS232 DCD ADC analog input GPIO pulse output pulse function current counting Reserve compatible collection 0 20 RS232 RI mA ADC analog input GPIO pulse output pulse function current counting collection 0 20 mA O O oO QO N NO Q Installation of cable F8914 adopts industrial terminal block interface The recommended cable is 28 16AWG The detail description of standard layout adapter and communication cables as the following Adapter Rating Output 12VDC 0 5A Cable Color Power Output Polarity http www fourfaith com Page 13 of 42 Four Faith User Manual RS232 Cable Cable Color Corresponding DB9 M Pin Number RS485 Cable Cable Color Signal definition po Red o o RS485 A RS485 B Power adapter and communication cable connection chart as follow
23. ing F8914 Terminal User Device F8914 Terminal Block Interface DB9M Block Interface User Device Anode Cathode Anode Cathode Oo ANI NHWD nA BW N e ha l 2 3 4 5 6 7 8 9 10 11 ay ay l 2 3 4 5 6 7 8 9 p NO p NO Communication Interface RS232 Communication Interface RS485 http www fourfaith com Page 14 of 42 EPA Four Faith User Manual F8914 Terminal User Device Block Interface Interface Anode Cathode 1 2 a 4 g z Fi o J Communication Interface I0 ADC 2 4 Power The power range of the IP MODEM is DC 5 35V Warning When we use other power we should make sure that the power can supply power above 4W We recommend user to use the standard DC 12V 0 5A power adaptor 2 5 Indicator Lights Introduction The F8914 provides three indicator lights Power ACT Online Indicator State Introduction Light Power F8914 is powered on OFF F8914 is powered off ACT BLINK Serial Data is communicating http www fourfaith com Page 15 of 42 Four Faith User Manual Chapter 3 Zigbee Description 3 1 Device Type Description ZigBee device has three types coordinator router and end device They all can transmit and receive data 3 1 2 Coordinator This is the device that starts a ZigBee network It is the first device on the network The coordinator node scans the RF environment for existing networks chooses a channel a
24. ion AT BTL Execute AT BTL Four Faith Zigbee BootLoad Ver V1 01 http www fourfaith com Page 33 of 42 Pa Four Faith User Manual 4 4 2 30 Set device work mode AT MOD Set AT MOD lt Number String gt ERROR AT MOD MOD Number String OK Parameter description number string O Transparent Mode 1 AT command Mode 2 API mode Default 0 Attention The command set device start up work mode when configure and save it need restart 4 4 2 31 Other execute command AT SAV Save parameters aye AT ESC Escape AT command Escape mode Then enter transparent mode mm o e la oi Factory AT SRS O Restart Restart Note every configure item is set it should send save command OK OK OK OK K 4 4 3 API mode API operation requires that communication with the module be done through a structured interface data is communicated in frames in a defined order The API specifies how commands command responses and module status messages are sent and received from the http www fourfaith com Page 34 of 42 Four Faith User Manual module using a UART Data Frame To enter API mode Inthe transparent mode send the 3 character command sequence twice through serial port Inthe AT command mode send AT API lt CR gt lt LF gt through serial port The UART data frame structure is defined as follows Length Command Frame data Frame check sequence
25. m Page 24 of 42 Four Faith User Manual 4 4 2 12 Set debug level AT DBL Debug Level p 1 er oe lt number string gt Koa AT DBL number string Parameter description number strings Range 0 close all debug messages 1 info the important debug messages 2 info all debug messages Default 0 4 4 2 13 Set the node auto joins in the network AT AST Auta Join Hetwork after reset J Auto Join fm femme atm AT AST lt number OK string gt ERROR AT AST AST number string OK Parameter description number strings Range 0 not auto join 1 auto join Default 1 4 4 2 14 Start the network AT STA Execute AT STA ERROR Attention When AT AST 0 this command can start the network http www fourfaith com Page 25 of 42 Four Faith User Manual 4 4 2 15 Set the RF data output the serial port AT PRF AT PRF lt number string gt AT PRF K ERROR a Parameter description number strings Range 0 not output 1 output Default 1 Attention This command parameter don t save in flsah 4 4 2 16 Query the softwarte version AT VER Version Execute AT VER Four Faith Zigbee Standard Ver V1 10 Time Jul 24 2012 11 21 04 4 4 2 17 Query the nodes network state AT NWS Center Node HetState Hode HetState Execute AT NWS Riwa lt state gt lt node address gt lt MAC address gt lt node type gt Command description When this command ex
26. mwnamwwnawwnzunuwa kunia nunakuniw waana 11 AP ON UWA ee ee SUA MUA UWA UWA SUMU E NWU MWI MWU E eee 15 2 5 Indicator Lights Introduction iia 15 Chapter 3 Zigbee Description ccccccsseccceseeeceeeeeceuseecseeeessugeessuseessuaeessugeessaaeessageessaas 16 3 1 Device Type DeSCTIIDTION ccccccccesceceseeceseeceseeceaeeceueeseueeseeeseeeseseessaeeseeeessaees 16 3 2 0 0 a 118 Meer meee eee nee ee Mere meee Mere eee ee ere ne eee A ee eee eee eee eee 16 ro A al ROO ee ee ee 16 ie Fee ENG OV IO Oeria dn ecevecadecenedcdedncacededenscacecedeuncecadedemscacenedeuncacadedenscacecedammess 16 3 2 ZigBee Network DeSCTIPTION ccccsscccseeceseeceseeceeeeceueeseaeeseseeeeseeseaeeseaeessaees 16 3 2 1 Form a ZigBee Network Procedure cccccceececeeceeeeeeeeeeeseeeesaeesaeesaes 16 322 PAYSA Car Gl secs 17 SL OD ND oee e E E E E E E S 17 22 A Node adde II 17 Chapter 4 Configuration ccccccccccssscecesececeeeeceeeeeseseessueeessegeessageessaaeessegeessagsessageessaes 18 4 1 Configuration CONGO Ia 18 4 2 Configuration Introduction cccccccseeeeeeseeeeeecaeeeeeeeeeuceeseeeeeeessaeeeesaaeeeesaaeeeeeeas 18 4 3 Run the configure Tool ZigbeeConfigure eKe ww wwwmamwnmamwnnwwnzamwnawwa 19 4 4 Modes of Operation ccccccccsssecceseeeceeseeceeeeceseecauscessugeessageessageesseeessageessaases 19 44 1 Transparent MOJA wi 20 4 4 2 AT command MOE ce
27. nd a network identifier also called PAN ID and then starts the network Note that the role of the Coordinator is mainly related to starting up and configuring the network Once that is accomplished the Coordinator behaves like a Router node or may even go away The continued operation of the network does not depend on the presence of the Coordinator due to the distributed nature of the ZigBee network 3 1 2 Router A Router performs functions for i allowing other devices to join the network ii multi hop routing iii assisting in communication for its child battery powered end devices In general Routers are expected to be active all the time and thus have to be mains powered 3 1 3 End Device An end device has no specific responsibility for maintaining the network infrastructure so it can sleep and wake up as it chooses Thus it can be a battery powered node 3 2 ZigBee Network Description 3 2 1 Form a ZigBee Network Procedure 1 The coordinator node scans the RF environment for existing networks chooses a channel and a network identifier also called PAN ID and then starts the network 2 Router or end device also scans the RF environment for existing networks chooses a channel and a network identifier also called PAN ID and then join the network 3 The coordinator s node address fixed to Ox0000 router s or end device s node address can be assigned randomly or configured previously http www fourfaith com
28. ode type 00 coordinator Fes 4 4 3 8 OTA Query all node address and MAC address SREO http www fourfaith com Page 40 of 42 Four Faith User Manual Fields Subfield Offset Example Description SOF AA FE ORE Length 401 The length ofdata command a ae ONN Subfield Offset _ Example Description Ka a Ce a Length 41 01 Ss The lengthofdata Data State 1 ban OO success Fes 1 3E Frame check sequence AREO Fields Sub field__ Offset_ Example Description SOF 4 OPE OOE AA Length J14 oC Thelengthofdata a R E 44 5D Data n 00 sana C a 10 OE Destination node address 8B D9 D1 Low byte come first e 01 00 4B 12 Node type 00 coordinator 01 router 02 end device Fes 4 D1 CC Frame check sequence 4 5 End device sleep mode configuration description F8914 support Timer sleep and Deep sleep 4 5 1 Timer sleep Function description Timer sleep can set the sleep interval when it wake up the EndDevice will wake up a centain time then it goes to sleep again If device works on AT mode when it wakes up the http www fourfaith com Page 41 of 42 Four Faith User Manual serial port will output WAK 1 r n when it enters sleep the serial port will output WAK O r n If device works on API mode when it wakes up the serial port will output FE 01 41 2B 01 6A when it enters sleep the serial port will output FE 01 41 2B 00 6B After EndDevice waking up if
29. of 42
30. on So td FE OxFE Length 1 06 Thelengthofdata Send 2 Data Send _ _ 2 00 00 Destination node address La Ka lt 41 41 41 The content to be send Frame check sequence Eia a LU Daseri E s eH Commana sma fa leise Festa se Data State 00 success Others error Fes 1 8A CC Frame check sequence 4 4 3 2 data recive command AREQ Fields Sub field___ Offset Example Description SOF AA FE FE Length 1 A06 The length ofdata address little endian recived Fes 1 03 Frame check sequence 4 4 3 3 Set the node current operating mode SREQ Offset Example Description Fields Subfield_ so AE Length 1 0 The length ofdata http www fourfaith com Page 36 of 42 Four Faith User Manual 21 2A Fixed to 21 2A Data Mode 1 00 transparent mode 01 AT command mode 02 API mode Fes 1 OA Frame check sequence SRSP Fields Subfield Offset Example Description SOF AA ERE Length 1 04 The length ofdata a ae N EET E E Data State 00 success Others error Fes 1 AA CC Frame check sequence 4 4 3 4 OTA IO pin data acquisition SREQ a aaa ua SOF Length The length of data Command Send 5E aL to a 5E Data Destination d 10 OE address command C IO pin address IO pin address 00 02 Frame check sequence Fields Subfield Offset Example Description so Vm FE OPE Length 1 Jot The length of data o AI
31. ool ZigbeeConfigure exe re Four Faith Zigbee Configure Tool V1 8 1 E e a Se fe l Communication Setting Select COM COM Config Mode Default Baud Rate 115200 Databit Parity SH Close COM Figbee Settings Bris English Baud Rate Apply Mode Setting 300 3 600 w 1200 o 2400 Ka 4800 0 9600 19200 36400 57600 Parity Hone 3 Even C Odd Stop Bit Apply Mode Transparent M Terminal equipment Sleep Setting Sleep Mode No Sleep IO Setti One Stop Bit I Two Stop Bit 101 Sattines Debug Level Work Mode Disabled 20 g3 1 IO Settings Echo AT Command string fork Mode Disabled Echo 103 Settings fork Mode Disabled PAN ID ID Random i Assign 0 865531 ID4 Settings fork Mode Disabled Hode Type IOS Settings Tork Mode Disabled MAC Address 16 bytes of HEX number BROSSTOLO04E 1200 Version Information Coordinator Routing CJ End Device Enter Contig Hode Address Enter Configuration State Escape 9 Random Assi gn 0 65527 Success How Loading Settings Load Farameters Trans Address O swe O Broadcast Assign D 65527 O MMMM Restart huto Join Network after reset lAuto Join Y Software Version Physical Channel i1 12 13 O14 G15 Sis Sit Sie Boot Version 319 20 82 092 02 O24 OS Mee Query Dev Het State Tata Interval 6 1980 Default 20 ms Center Node NetState 20 l Clear Log The
32. opyright and other proprietorship notice shall be reserved are welcome Trademark Notice eX p Four Faith U17 me PT 5 are all registered trademarks of Xiamen Four Faith Communication Technology Co Ltd illegal use of the name of Four Faith trademarks and other marks of Four Faith is forbidden unless written permission is authorized in advance Xiamen Four Faith Communication Technology Co Ltd Page 3 of 42 Add J1 J3 3 Floor No 44 GuanRiRoad SoftWare Park XiaMen 361008 China http www fourfaith com Tel 86 592 6300326 6300325 6300324 Fax 86 592 5912735 Four Faith User Manual Xiamen Four Faith Communication Technology Co Ltd Page 4 of 42 Add J1 J3 3 Floor No 44 GuanRiRoad SoftWare Park XiaMen 361008 China http www fourfaith com Tel 86 592 6300326 6300325 6300324 Fax 86 592 5912735 a Four Faith User Manual Contents OCIS IAA 5 Chapter 1 Brief Introduction Of ProdUCt ww wwwmmwwanamwnawwnaawunzw nuna nuniww una kunin waana 7 MM AA NM AA AE AAA rte A A AAA WAA A AA A 7 1 2 Features and Benefits eee eee eee 7 1 3 Working PLinCiPle ccccecceseeececseeeeseeeeceeeeceeeeeceeeeseaeeeseeeessueesseueesseneesseneessaeees 8 WA AAA 8 Chapter 2 Installation INtrodUCHION w wwmmamamawwnmunwwnwwnzw nuna kuniw waa kunia kuna kunanwwa 11 2AN ONE AA 11 Zoe ua E E E E E E E E AA AAAA 11 2 3 Installation and Cable Connection ww wwmma
33. the network ATFAST wwmmamesa 25 4 4 2 14 Start the network AT STA ccccccccccsecceceeeeeceeeeesseeeeseeeeesseeeeeeees 25 4 4 2 15 Set the RF data output the serial port AT PRF ees 26 4 4 2 16 Query the softwarte version AT VER ccccccseeceseeeeesseeeeeeees 26 4 4 2 17 Query the nodes network state ATENWS wwmmamemamamenamwma 26 4 4 2 18 Query the node address ATtQNA cccccccccsssseceeeeeeeeeeeeeeaenees 27 4 4 2 19 Query the node MAC address AT tQMA ccccccceceeeeeeeeteaeeees 27 4 4 2 20 Query local node address net state ATESNS wwwmmwnmameaa 2 4 4 2 21 Send data HEX mode AT TXH cccccccecccceeeeeeeeeeseeeeesseeeesaees 28 4 4 2 22 Send data ASCII mode AT TXA ccccceccccceeeeeeeaeeeeeeaeeeeeeneees 28 4 4 2 23 Node recive AA 29 4 4 2 24 Node IO pins COMMANGA ccccceecccceeeeceeeceeeeeeesaeeeesaeeeesaeeeetanes 29 4 5 2 24 1 Set IO pin mode AT DMn N 0 4 wmmmmamamemamamwnwaw 29 4 4 2 24 2 Set IO pin data acquisition time interval AT DTn n 0 4 30 4 4 2 24 3 Query IO pin value AT DVn N 0 4 wwwmmmmmenanw 31 4 4 2 24 4 Query the net node IO pin value AT NVn Nn 0 4 31 4 4 2 24 5 Set remote node IO pin value AT NSn n 0 4 31 4 4 2 25 Set the End Device sleep mode AT SLE wwwmamemamwnzamena 32 4 4 2 26 Set the End Device
34. y trust center Started as device after authentication Device joined authenticated and is a routerr 08 Started as Zigbee Coordinator o Started as Zigbee Coordinator 10 Device has lost information about its parent 4 4 2 21 Send data HEX mode AT TXH fem fem fm AT TXH lt node address gt lt content gt ERROR Parameter description Node Address two byte hexadecimal the lowest byte comes first Content the hexadecimal data For example AT TXH 0123383838383838 lt CR gt lt LF gt The node address is 0x2301 and the content is 888888 Attention The content length can t be longer than 160 character 4 4 2 22 Send data ASCII mode AT TXA Set AT TXA lt node address gt lt content gt ERROR Parameter description Node Address decimal address Content ASCII data http www fourfaith com Page 28 of 42 Four Faith User Manual For example AT TXA 12245 123456789 12245 is the reciver node address 123456789 is the ASCII content Attention The content length can t be longer than 80 character 4 4 2 23 Node recive data RCV lt source address gt lt data strings gt Parameter description Source Address the sender node address Content ASCII data strings 4 4 2 24 Node IO pins command Attention The return value from IO pins should be read in AT command mode or API MODE 4 5 2 24 1 Set IO pin mode AT DMn n 0 4 Attention n refer to the IO pin 3 zz

Download Pdf Manuals

image

Related Search

Related Contents

Decreto legislativo 81/2008. Agenti fisici  Oregon Scientific BARM688 User's Manual  Oster CKSTROSMK18 Instruction Manual    Réglementation INCO : Décryptage d`un étiquetage  14882 GA Atex it. - EnerSys  1. Lab consumables    User Manual - Innovate Motorsports  Mamiya Universal Instruction Manual  

Copyright © All rights reserved.
Failed to retrieve file