
This RS485 Sensor converter works in a different way. In order to send data to it user will need to include the
payload header, node id and sensor type.
For example the entire payload was 7F 00 FF FF 85 85 85.
Packet Structure:
7F - Payload header
00 - Node ID
FF FF -- Sensor Type
85,85,85 -- RS485 Payload
This device will send data to RS485 port only when the incoming data contains the correct header, node id and
sensor type.
Read Network ID – Emulator
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 13 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 19 00 00 00 E4
Response:
7E 00 1C 90 00 13 A2 00 41 8C 58 B6 FF FE C2 7C 00 00 00 00 00 00 7F FF 00 00 00 00 00 00 00 26 -- 28
bytes
Write Network ID – Emulator
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 15 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 05 00 00 00 7C DE 9E
Response:
7E 00 1C 90 00 13 A2 00 41 8C 58 B6 FF FE C2 7C 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 A5
Set Node ID – Emulator
The Node ID offers a single byte shortcut for identifying devices in a local area. You can program the Node ID
by sending the following command:
Set Node ID:
7E 00 17 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 02 00 00 00 FF 00 00 00 FC
Содержание RS-485
Страница 2: ......