background image

 

15

 

6.1 HEX command Set

 

 

Description 

Format 

Example 

Read device type 

Transmit

FE 01 01 FF 

Return

FB dev_type 

Transmit

FE 01 01 FF 

Return

FB 02 

Read network state 

Transmit

FE 01 02 FF 

Return

FB nwk_state 

Transmit

FE 01 02 FF 

Return

FB 01 

Read network PAN_ID 

Transmit

FE 01 03 FF 

Return

FB pan_id 

Transmit

FE 01 03 FF 

Return

FB 02 F4 

Read network key 

Transmit

FE 01 04 FF 

Return

FB key 

Transmit

FE 01 04 FF 

Return

FB 11 13 15 17 19 1B 1D 1F 10 12 14 16 18 1A 1C 1D 

Read local short address 

Transmit

FE 01 05 FF 

Return

FB ShortAddr 

Transmit

FE 01 05 FF 

Return

FB F2 EF 

Read local Mac address 

Transmit

FE 01 06 FF 

Return

FB Mac_Addr 

Transmit

FE 01 06 FF 

Return

FB 89 6C 50 09 00 4B 12 00 

Read father node short 

address 

Transmit

FE 01 07 FF 

Return

FB Coor_shortAddr 

Transmit

FE 01 07 FF 

Return

FB 00 00 

Read father node Mac 

address 

FE 01 08 FF 

Return

FB Coor _Mac_Addr 

Transmit

FE 01 08 FF 

Return

FB 20 39 EA 0A 00 4B 12 00 

Read network group no. 

Transmit

FE 01 09 FF 

Return

FB group 

Transmit

FE 01 09 FF 

Return

FB 01 

Read communication 

channel 

Transmit

FE 01 0A FF 

Return

FB channel 

Transmit

FE 01 0A FF 

Return

FB 0B 

Read transmission power 

Transmit

FE 01 0B FF 

Return

FB txpower 

Transmit

FE 01 0B FF 

Return

FB 04 

Read serial baudrate 

Transmit

FE 01 0C FF 

Return

FB baud 

Transmit

FE 01 0C FF 

Return

FB 09 

Read sleep state (vaild for 

terminal) 

Transmit

FE 01 0D FF 

Return

FB sleep_time 

Transmit

FE 01 0D FF 

Return

FB 05 

Read data storage time 

(valid for router and 

coordinator) 

Transmit

FE 01 0E FF 

Return

FB 1E 

Transmit

FE 01 0E FF 

Return

FB 1E 

Read all datas 

Transmit

FE 01 FE FF 

Return

FB all_info 

Transmit

FE 01 FE FF 

Return

FB 02 01 02 F4 11 13 15 17 19 1B 1D 1F 10 12 14 16 18 1A 

1C 1D F2 EF 89 6C 50 09 00 4B 12 00 00 00 20 39 EA 0A 00 4B 12 

00 01 0B 04 09 05 

Read arbitrary short 

address of Mac address 

Transmit

FE 09 10 Mac_Addr FF 

Return

FB shortAddr 

Transmit

FE 09 10 AF 99 E9 0A 00 4B 12 00 FF 

Return

FB 08 35 

Read remote /local GPIO 

input/output state 

Command

FE  04  20 addr  gpiox 

FF 

Return

FB 20 addr In/Out 

FE 04 20 F9 DE 04 FF 

Read remote /local GPIO 

input/output level 

Command

FE  04  21 addr  gpiox 

FF 

Return

FB 21 addr In/Out level 

FE 04 21 FF FF 04 FF 

Summary of Contents for Z2530-2G4-20

Page 1: ...twork User Instruction Manual This manual may change with the continuous improvement of the product Please refer to the latest version of the instruction Chengdu Ebyte Electronic Technology Co Ltd res...

Page 2: ...ean industry standards Use temperature compensation circuit the frequency stability is better than 2PPM With operating temperature range 40 85 adapting to a variety of harsh working environment All wi...

Page 3: ...routing function users can conduct multi hopping networking 8 Support encryption protocol The module uses AES 128 bit encryption function can change the network encryption and prevent monitoring User...

Page 4: ...en the power is on 3 TX LED Transmit LED Yellow blinks when sending data 4 RX LED Receive LED Yellow blinks when reveiving data 5 LINK LED Link LED Red lit when no network off when network connected 6...

Page 5: ...5 2 2 Dimension...

Page 6: ...ption 1 VCC Screwing power interface positive 8 28V DC 12V or 24V recommended 2 GND Screwing power interface negative The power supply negative pole is connected to the system ground and the housing 3...

Page 7: ...ordinator Data will be transmitted according to the fixed format protocol of data transmission There are point to point broadcast multicast transmission ways Please refer to HEX data communication des...

Page 8: ...ls please confirm the work mode No Notes 1 Construct network Connect Zigbee ad hoc module via USB to UART converter Open host computer software Zigbee_Setting_V1 1 select Com port and set baud rate as...

Page 9: ...ordinator write in parameter Wait the coordinator to start constructing network and users can check module parameter Set network parameter when PAN ID is FFFF it is automatic PAN ID Read parameter whe...

Page 10: ...10 Select another module set it as the router or end device following the same steps module is set as end device when leave factory default no need to set again in this experiment it is end device...

Page 11: ...mputer Corresponding info is available to be viewed Coordinator End device For users convenience to observe in this experiment it is HEX transmitting mode If the device address is unknown please input...

Page 12: ...12 Input random content in these 3 modes click start Transparent transmission From coordinator to end device From end device to coordinator Network address From coordinator to end device...

Page 13: ...13 From end device to coordinator MAC address From coordinator to end device From end device to coordinator Multicast...

Page 14: ...HEX In this mode user can transmit with serial port assistant to be in temporary AT command mode then can configure with AT command and exit AT command mode by transmitting AT EXIT Note 1 Serial data...

Page 15: ...ransmit FE 01 09 FF Return FB 01 Read communication channel Transmit FE 01 0A FF Return FB channel Transmit FE 01 0A FF Return FB 0B Read transmission power Transmit FE 01 0B FF Return FB txpower Tran...

Page 16: ...F 6 2 HEX Parameter Description Network type dev_type 00 coordinator 01 router 02 terminal default Network state nwk_state 00 no network 01 network Network PAN_ID pan_id 0000 FFFE fixed network PAN_ID...

Page 17: ...19 05 Serial baudrate baud baudrate contrast baud baudrate baud baudrate 00 2400 08 76800 01 4800 09 115200 default 02 9600 0A 128000 03 14400 0B 230400 04 19200 0C 256000 05 38400 0D 460800 06 43000...

Page 18: ...state invalid level 0 low 1 high 2 flipping PWM parameter 1 PWM port pwmx PWM port contrast pwmx duty1 duty2 duty3 duty4 duty5 GPIO P0_2 P0_3 P0_4 P0_5 P0_6 2 pwm cycle period 0 FFFF cycle tim unit 1...

Page 19: ...C address group 1 Byte 41 Network group no channel 1 Byte 42 Communication channel txpower 1 Byte 43 Transmission power baud 1 Byte 44 Serial baudrate sleep_time 1 Byte 45 Sleep mode Example for param...

Page 20: ...be sent command 02 group data parameter description group 0 99 number e g FC 05 02 01 31 32 33 description transmit HEX data to network group no 1 0X31 0X32 0X33 3 Point to point transmission content...

Page 21: ...uire configure operating mode Format Inquire transmit AT MODE return MODE type CR LF configure transmit AT MODE mode return OK CR LF Parameter mode 1 mode 1 transparent transmission mode 2 mode 2 half...

Page 22: ...PANID Function inquire configure network PANID Format inquire transmit AT PANID return PANID panid CR LF configure transmit AT PANID mode return OK CR LF Parameter panid 0000 FFFE fixed PANID FFFF ra...

Page 23: ...e MAC address unique IEEE ID e g AT MAC_ADDR AT COOR_SHORT_ADDR Function inquiry father node network short address Format inquiry transmit AT COOR_SHORT_ADDR return COOR_SHORT_ADDR macaddr CR LF Param...

Page 24: ...AT GROUP return GROUP group CR LF configure transmit AT GROUP group return OK CR LF Parameter group 0 99 Local group no e g AT GROUP group Default GROUP 1 AT CH Function inquiry configure communicatio...

Page 25: ...serial baudrate e g AT UART 9 Default UART 9 AT SLEEP Function inquiry configure sleep mode valid for terminal Format inquiry transmit AT SLEEP return SLEEP sleep CR LF configure transmit AT SLEEP sle...

Page 26: ...g AT SOFT_ID AT RESET Function reset Format configure transmit AT RESET return OK CR LF e g AT RESET AT RESTORE Function restore factory settings Format configure transmit AT RESTORE return OK CR LF...

Page 27: ...5 AT GPIO_LEVEL Function read remote local GPIO input output mode Format configure transmit AT GPIO_LEVEL addr gpiox level return OK CR LF Parameter addr 0000 FFF8 remote short address device FFFF loc...

Page 28: ...duty5 0 65535 unit 1 62 5ns the positive pulse duration of the corresponding channel PWM is closed when it is 0 or greater than the cycle e g AT PWM 1AC0 1000 1 500 500 0 500 AT RPWM Function read re...

Page 29: ...user by default it is 30 seconds ranging from 0 to 120 seconds 4 Only the end device has the sleep function sleeping within 250S the user can set by themselves the default 0 with sleep mode off Note T...

Page 30: ...12 PWM function and sleep mode can not be used at the same time in network please turn off the sleep mode before turn on PWM function 13 After sleep mode it can be waked up via the serial port UART N...

Page 31: ...istribution network automation hydrological and hydrological forecasting water pipe network monitoring urban street lamps Monitoring air defense alarm control railway signal monitoring centralized con...

Page 32: ...erature humidity low temperature strong electromagnetic fields or dust larger environment 6 Please do not continuously keep transceiver to transmit in full capacity or the transmitter might be damaged...

Page 33: ...In addition for special requirements we agree to offer certain amount of documents according to order quantity not every data transceiver are supplied with one manual please understa CDEBYTE after sal...

Reviews: