4.3. Operation of Sensor Module(s) with Control Box ............12 4.4. Operation of the Single-Axis and Dual-Axis Measured Angle ........13 5. Dynamic-Link Libraries For DWL5X00XY Tilt Sensor Module Notes ........14 5.1. Introduction ........................14 5.1.1. Using the DWL5000XY Library.dll ................14 5.2. Serial Communication ......................14 5.2.1. DWL5000XYLibrary.SerialComm.Serial_Initialization ..........14 5.2.2. DWL5000XYLibrary.SerialComm.Mode ...............15 5.2.3.
Page 3
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 5.2.4. DWL5000XYLibrary.SerialComm.Stand ...............16 5.2.5. DWL5000XYLibrary.SerialComm.Dual_X_Value ..........16 5.2.6. DWL5000XYLibrary.SerialComm.Dual_Y_Value ..........16 5.2.7. DWL5000XYLibrary.SerialComm.Vibro_Value ............16 5.2.8. DWL5000XYLibrary.SerialComm.Single_Alt_Zero_Value ........17 5.2.9. DWL5000XYLibrary.SerialComm.Dual_X_Alt_Zero_Value........17 5.2.10. DWL5000XYLibrary.SerialComm.Dual_Y_Alt_Zero_ValueSingle Axis Mode ..17 6. RS485 Serial Communication Protocol for Single DWL5x00XY Tilt Sensor ......18 6.1. Serial Port Settings ......................18 6.2.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 1.4. Pinout of the Tilt Sensor Module and Sensor Cord Pinout of the circular multipole connector from tilt sensor module is shown in Figure 4 Figure 4. Pinout of the circular multipole connector of the tilt sensor module Pinout of the sensor cord is shown in Figure 5 Figure 5.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 2. Installation 2.1. Securing Tilt Sensor Module with Sensor Cord 1. Ensure the circular multipole connector is aligned to the receptacle on the sen- sor module as illustrated on Figure 6(a). 2. Secure the rotatable ring by turning it clockwise as in Figure 6(b).
3.1. Configuration of Single Tilt Sensor Module with Converter 3.1.1. Materials for the Configuration • 1 × DWL5000XY or DWL5500XY tilt sensor module secured with sensor cord • 1 × RS485 converter (4 wires) • In this example, EasySync Converter (Model number: ES-U-3001-M) is used.
Page 11
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 2. Connect the custom cable with sensor cord and ES-U-3001-M converter as in Fig- ure 8. The connection pinout is illustrated in Figure 10. SIGNAL 1 SIGNAL 2 Y/Tx+ Y/Tx+ Z/Tx- Z/Tx- B/Rx- B/Rx-...
3.2. Configuration of Sensor Module(s) with Control Box 3.2.1. Materials for the Configuration • 1 × DWL5000XY, DWL5500XY or DWL5800XY tilt sensor module secured with sensor cord • 1 × 12-20VDC Power Source • 1 × DigiPas DWL5x00XYcontrol box •...
Page 13
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 5. Connection Modes • USB mode: Connect the USB cable from USB2.0 Standard-B Port on the control box to PC as shown in Figure 12(a). • RS232 mode: a. Select the Serial output Switch on the control box (refer to Figure 11) to RS232.
Page 14
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Pin No. Description RS485 - A (Non-inverting Receiver Input/Tx+) RS485 - B (Inverting Receiver Input/Tx-) RS485 - Z (Inverting Driver Output)/Rx-) RS485 - Y (Noninverting Driver Output / Rx+) RS232 - Receiver Input (Rx) RS232 - Transmitter Output (Tx) Figure 14.
4. Operation 4.1. Installation of the DWL5x00XY PC Sync Software 1. DWL5000XY, DWL5500XY or DWL5800XY PC Sync Software Basic Edition CD comes togeth- er with the tilt sensor module package. Insert the PC Sync Software CD to the PC, auto-run screen appears as in Figure 16.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 4.2. Operation of Single Tilt Sensor Module with Converter 1. Assuming steps stated in 3.1 Configuration of Single Tilt Sensor Module with Converter and 4.1 Installation of the DWL5x00XY PC Sync Software have been done in this stage. Open PC SYNC software and select RS485 from the drop down menu as shown in Figure 18.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 4.3. Operation of Sensor Module(s) with Control Box 1. Assuming steps stated in 3.2 Configuration of Sensor Module(s) with Control Box and 4.1 Installation of the DWL5x00XY PC Sync Software have been done in this stage. Open PC SYNC software and select the desired mode from the drop down menu as shown in Figure 22.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 4.4. Direction of the Single-Axis and Dual-Axis Measured Angle Figure 26. The direction (+ve or – ve) of the Single-Axis measured angle value is indicated as in figure above. Figure 27. The direction (+ve or – ve) of the Dual-Axis measured angle value is indicated as in figure above.
The dynamic-link library (DWL5000XYLibrary.dll) is created for users who wish to develop the application software themselves in order to read out the sensor / vibro value from the DWL5000XY control box. This DWL5000XYLibrary.dll is developed by using Microsoft Visual Studio 2010.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 5.2.2. DWL5000XYLibrary.SerialComm.Mode This function configures the mode selection or features. Description: public static void Mode (int mode, int data1, int data2, int Prototype: data3, int data4, int data5) Mode The mode selection. Arguments: data1~data5 Parameters to pass to the selected mode.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 5.2.4. 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 specific sensor module. 1 - Device is in Single Axis Mode...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 5.2.8. DWL5000XYLibrary.SerialComm.Single_Alt_Zero_Value Description: This function reads the alternate zero (Single Axis) refer- ence value. Prototype: public static double Single_Alt_Zero_Value(int sensor_num- ber) sensor_number The specific sensor module. Arguments: Return Value: Alternate Zero (Single Axis) reference value.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 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 Stop Bits...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 6.4. Commands for Source and Destination Both the source and destination have the same command as listed below: Command Descriptions 0x01 Sensor 1 0x02 Sensor 2 0x03 Sensor 3 0x04 Sensor 4 0x05 All sensor...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 6.5.4.1. Detailed Calibration Steps : 1. Please refer to Appendix 1 for proper instrument setup for calibration. Send the follow- ing command from computer to respective sensor to make sure the sensor is ready for calibration mode: <<...
Page 30
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Byte [n] Command Descriptions Byte [0] 0x06 From Computer Byte [1] 0x01 To Sensor 1 Byte [2] 0x0B Calibration Mode Byte [3] 0xB0 Start Application Not Applicable Byte [4]~[11] 0x00 5. Wait for response from the sensor. The sensor will broadcast the following response with Byte 4 counting from 0x00 to 0x1E.
Page 31
0x93 CRC16 Low 9. For DWL5000XY model, repeat step 6 to step 8 above until Calibration Step 8. Please lo- cate the sensor module in following positions (refer to Figure 30 to Figure 35) respectively. 10. For DWL5500XY & DWL5800XY model, please perform only 4 steps calibration as shown in Figure 28, 29, 34, and 35.
Page 32
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Figure 31. Tilt Sensor Module Position of Calibration Step 4 Figure 32. Tilt Sensor Module Position of Calibration Step 5 Figure 33. Tilt Sensor Module Position of Calibration Step 6 Figure 34. Tilt Sensor Module Position of Calibration Step 7 Figure 35.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 6.5.5. Alternate Zero in Single Axis Mode : To set Alternate Zero in Single Axis Mode: << (To sensor) : 0x06, 0x01, 0x07, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 Byte [n]...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 7. Serial Communication Protocol for Control Box 7.1. Serial Port Settings Following are the serial port settings to enable the serial communication: Baud Rate 115200 Parity None Data Bits Stop Bits 1 Stop Bit...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 7.3. Commands for Source and Destination Both the source and destination have the same command as listed below: Command Descriptions 0x01 Sensor 1 0x02 Sensor 2 0x03 Sensor 3 0x04 Sensor 4 0x05 All sensor...
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 7.4.4. Calibration Mode To set the tilt sensor module into Calibration Mode: << (To control box) : 0x06, 0x0B, 0x05, 0xA0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 << (To control box) : 0x06, 0x0B, 0x05, 0xB0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00...
Page 41
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Following equation shows the conversion of temperature from the received data: Temperature = (((Byte 7 << 8) + Byte 5) – 3000) / 100 It is advised to perform calibration of the tilt sensor module in a controlled tempera- ture setting.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 7.4.4.1. Detailed Calibration Steps : 1. Please refer to Appendix 1 for proper instrument setup for calibration. Send the follow- ing command from computer to respective sensor to make sure the sensor is ready for calibration mode: <<...
Page 43
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Byte [n] Command Descriptions Byte [0] 0x06 From Computer Byte [1] 0x0B Calibration Mode Byte [2] 0x05 To all sensors Byte [3] 0xB0 Start current calibration step Not Applicable Byte [4]~[11] 0x00 5. Wait for response from the sensors. The sensor will broadcast the following response with Byte 4 counting from 0x00 to 0x1E.
Page 44
0x93 CRC16 Low 9. For DWL5000XY model, repeat step 6 to step 8 above until Calibration Step 8. Please lo- cate the sensor module in following positions (refer to Figure 38 to Figure 43) respectively. 10. For DWL5500XY & DWL5800XY model, please perform only 4 steps calibration as shown in Figure , 37, 42, and 43.
Page 45
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com Figure 39. Tilt Sensor Module Position of Calibration Step 4 Figure 40. Tilt Sensor Module Position of Calibration Step 5 Figure 41. Tilt Sensor Module Position of Calibration Step 6 Figure 42. Tilt Sensor Module Position of Calibration Step 7 Figure 43.
Digi-Pas DWL-5x000XY DATA SHEET ® www.digipas.com 7.4.5. Alternate Zero in Single Axis Mode : To set Alternate Zero in Single Axis Mode: << (To control box) : 0x06, 0x07, 0x00, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 Byte [n]...
8. Warranty Digi-Pas® 2-Axis Inclination sensor module is warranted to the original purchaser to be free from defects in workmanship and material. JSB Tech will, at its option, repair or replace any defective part which may malfunction under normal and proper use within a period of 2 (two) years from the date of purchase.
Need help?
Do you have a question about the DWL5000XY and is the answer not in the manual?
Questions and answers