NCD RS-485 Скачать руководство пользователя страница 9

 

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

Страница 1: ...is guide The communication protocols are slightly different for each version We will start the guide by covering the hardware and then move on to protocol for all 3 versions Please note this guide wil...

Страница 2: ......

Страница 3: ...communications with a Raspberry Pi 2 or 3 Arduino to Modular Communications Adapter allows RS 485 communications with Arduino Uno Particle Photon to Modular Communications Adapter allows RS 485 commun...

Страница 4: ...tes will be Returned Indicating the Baud Rate 9 600 00 25 80 19 200 00 4B 00 38 400 00 96 00 57 600 00 E1 00 115 200 01 C2 00 Change the RS 485 Baud Rate Send the Following Bytes via RS 485 9600 Baud...

Страница 5: ...p computers that have the resources to properly generate and decode Digi API communication frames If you are unfamiliar with Digi API communication frames please reference the following document from...

Страница 6: ...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...

Страница 7: ...o target communications with a specific device or broadcast data to all devices that share the same Network ID Use the following command to Set the Destination Address of all wireless data Set Destina...

Страница 8: ...es to follow NCD standards for device communications The Emulator version essentially takes incoming RS 485 data and attaches additional information to make existing equipment act like a modern NCD Io...

Страница 9: ...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 upd...

Страница 10: ...8C 58 B6 FF FE C2 7C 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 A5 Read Destination Address Emulator The Destination Address can be used to target communications with a specific device or broadcast...

Страница 11: ...t Baud Rate 7E 00 13 10 00 00 00 00 00 00 00 FF FF FF FE 00 00 F7 01 00 25 80 57 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 Command Errors...

Отзывы: