Digi-Pas DWL5800XY handleiding
Handleiding
Je bekijkt pagina 26 van 73

Digi-Pas
®
© 2023 Digipas Technologies Inc. All Rights Reserved.
www.digipas.com
Page 20
DWL-5x000XY DATA SHEET
5.2.1.2. DWL5000XYLibrary.SerialComm.Mode_Direct
Description: This function congures the mode selection or features
directly to sensor.
Prototype: public static void Mode (int mode, int data1, int data2,
int data3, int data4, int data5)
Arguments: Mode The mode selection.
data1~data5 Parameters to pass to the selected mode.
Return Value: None
Remarks: This function congures following parameters:
BaudRate : 115200
Parity : None
DataBits : 8
StopBits : One
FlowControl: None
Code Example:
Sensor Connection
Status
: DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x55, 0, 0, 0, 0,
0);
Single Axis Mode : DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x01, 0, 0, 0, 0,
0);
Dual Axis Mode : DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x02, 0, 0, 0, 0,
0);
Vibro Mode : DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x03, 0, 0, 0, 0,
0);
Set Alternate Zero
(Single Axis)
: DWL5000XYLibrary.SerialComm.Mode_Direct(0x01 ,0x07, 0, 0x6C, 0,
0, 0, 0);
Reset Alternate
Zero (Single Axis)
: DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x07, 0, 0x46, 0,
0, 0, 0);
Set Alternate Zero
(Dual Axis)
: DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x0A, 0, 0x6C, 0,
0, 0, 0);
Reset Alternate
Zero (Dual Axis)
: DWL5000XYLibrary.SerialComm.Mode_Direct(0x01, 0x0A, 0, 0x46, 0,
0, 0, 0);
5.2.1.3. DWL5000XYLibrary.SerialComm.Stand
Description: This function reads the device is in Single Axis mode or
Dual Axis mode.
Prototype: public static int Stand(int sensor_number)
Arguments: sensor_number The specic sensor module.
Return Value: 1 - Device is in Single Axis Mode
2 - Device is in Dual Axis Mode
Code Example: DWL5000XYLibrary.SerialComm.Stand(1);
Bekijk gratis de handleiding van Digi-Pas DWL5800XY, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | Digi-Pas |
| Model | DWL5800XY |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 10950 MB |



