
AutoEncoder Version Communications Protocol
The AutoEncoder Version of this device handles data in a slightly different way when compared to the Standard
Version of this device. The AutoEncoder version of this device automatically generates the API frame for
wireless communications, making communications with Digi modules much easier to manage. Similarly,
incoming wireless data is decoded and converted to a raw payload on the RS-485 port. All the user needs to
worry about are a few commands, and raw payload data. The AutoEncoder version will wrap up and unwrap all
wireless data and convert to RS-485 data. There is a speed penalty for this conversion, so it is slower than the
Standard Version at the expense of ease of use. Below you will see an example of data structures:
Wireless to RS-485 Conversion:
Example Incoming Wireless Data -- 7E 00 19 90 00 13 A2 00 41 91 1B 83 FF FE C2 7F 00 04 03 FF 80 00 01
00 0F A1 F7 40 9E
Example of Outgoing Data On RS485 Port -- 7F 00 04 03 FF 80 00 01 00 0F A1 F7 40
RS-485 to Wireless Conversion:
Example Incoming Data on RS485 port -- 69 20 74 68 69 6E 6B 20 69 20 61 6D 20 77 6F 72 6B 69 6E 67 20 66
69 6E 65
Example of Outgoing Wireless Data -- 7E 00 25 90 00 13 A2 00 41 8C 58 B6 FF FE C2 69 20 74 68 69 6E 6B
20 69 20 61 6D 20 77 6F 72 6B 69 6E 67 20 66 69 6E 65 1F
Read Network ID – AutoEncoder
The Read Network ID command queries the Digi XBee module to determine the wireless network the device is
associated with. The Network ID can be thought of as a Group, each Network ID defines a different group in the
wireless network. Devices with different Network IDs cannot communicate with each other. Only devices with
the same Network ID are allowed to communicate.
Read Network ID:
7E 00 10 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 0E EF
Response:
7E 00 11 90 00 13 A2 00 41 8C 58 B6 FF FE C2 7C 7F FF 00 00 26
Write Network ID – AutoEncoder
The Write Network ID command updates the Digi XBee module to associate the device with a different wireless
network. The Network ID can be thought of as a Group, each Network ID defines a different group in the
wireless network. Devices with different Network IDs cannot communicate with each other. Only devices with
the same Network ID are allowed to communicate. When using this command, be sure all other devices are
using the same Network ID.
Write Network ID:
7E 00 12 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 04 7F FF 7B
Response:
7E 00 11 90 00 13 A2 00 41 8C 58 B6 FF FE C2 7C FF 00 00 00 A5
Содержание RS-485
Страница 2: ......