![Digi-Pas DWL5000XY Скачать руководство пользователя страница 23](http://html.mh-extra.com/html/digi-pas/dwl5000xy/dwl5000xy_installation-and-operation-manuallines_2496732023.webp)
Digi-Pas
®
© 2018 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 18
DWL-5x000XY DATA SHEET
6. RS485 Serial Communication Protocol for Single DWL5x00XY Tilt
Sensor
6.1. Serial Port Settings
Following are the serial port settings to enable the serial communication:
Baud Rate
115200
Parity
None
Data Bits
8
Stop Bits
1 Stop Bit
Handshake
None
6.2.
Buffer Frame Format
Buffer Format
: Hexadecimal
Buffer Length
: 12 bytes
The data to be transmitted out to tilt sensor module is as follow:
Source (1 byte)
: Sender command
Destination (1 byte)
: Receiver command
Mode (1 byte)
: Mode Selection command
Data (9 bytes)
: Data to be sent out
The data to be received from the tilt sensor module is as follow:
Source (4 bits)
: Sender command
Destination (4 bits) : Receiver command
Stand (4 bits)
: Position in either Single or Dual Axis
Mode (4 bits)
: Mode Selection command
Data (8 bytes)
:
Received data
6.3. Initialization Command
Source
Destination
Mode
Data
1 Byte
1 Byte
1 Byte
1 Byte
Source/Destina-
tion
Stand/Mode
Data
CRC16
1 Byte
1 Byte
8 Bytes
2 Bytes
Please send the following buffer to initialize the sensor through serial converter:
<< (To sensor): 0x06, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00