XUNCHiP XM8566 Pipeline UV Sensors User Manual
- August 7, 2024
- XUNChip
Table of Contents
XUNCHiP XM8566 Pipeline UV Sensors
Product Information
Specifications
- Brand: XUNCHIP
- Measurement Range: 0~4000uW/cm2
- Measurement Accuracy: Wavelength range 240-370nm
- Maximum Angle: 90 degrees
- Resolution: 1uW/cm2
- Interface: RS485/4-20mA/DC0-10V
- Power: DC6~24V 1A, DC12~24V 1A
- Running Temperature: -30~85°C
- Working Humidity: 5%RH~90%RH
Product Usage Instructions
Product Selection
The product is available in different models depending on the output
method:
- XM8566B: RS485 output
- XM8566M: 4-20mA output
- XM8566V10: DC0-10V output
How to Use?
Application Solution: The product can be easily integrated with PLCDCS and
other systems for monitoring state quantities.
-
Communication Protocol
The product uses RS485 MODBUS-RTU standard protocol format. Default device address is 1, default baud rate is 9600,8,n,1. -
Read Data (Function Code 0x03)
Inquiry frame example: To query 1 data of device 1, send command: 01 03 00 00 00 01 84 0A. -
Common Data Address Table
Register Address | Data Type | Value Range |
---|
Frequently Asked Questions (FAQ)
- Q: How do I wire the product if there are broken wires?
A: Wire the wires as shown in the figure. If the product itself has no leads, the core color is for reference.
XM8566
Pipeline UV sensors User Manual
File Version: V24.1.29
XM8566 using the standard ,easy access to PLC,DCS and other instruments or systems for Shanghai XUNCHIP Industrial Co., Ltd XUNCHIP Brand Division monitoring state quantities. The internal use of high-precision sensing core and related devices to ensure high reliability and excellent long-term stability, can be customized RS232,RS485,CAN,4-20mA,DC0~5V\10V,ZIGBEE,Lora,WIFI,GPRS and other output methods.
Technical Parameters
Technical parameter | Parameter value |
---|---|
Brand | XUNCHIP |
measurement range | 0~4000uW/cm2 |
measurement accuracy | ± 7% FS |
wavelength range | 240-370nm |
Maximum angle | 90 degrees |
Resolution | 1uW/cm2 |
Interface | RS485/4-20mA/DC0-10V |
Power | DC6~24V 1A |
Power | DC12~24V 1A |
Running temperature | -30~85℃ |
Working humidity | 5%RH~90%RH |
Product Selection
Product DesignRS485,4-20mA,DC0-10VMultiple output methods, the products are
divided into the following models depending on the output method.
Product model | output method |
---|---|
XM8566B | RS485 |
XM8566M | 4-20mA |
XM8566V10 | DC0-10V |
Product Size
Communication protocols
-
All operation commands are hexadecimal data, and the default communication baud rate: 9600,8,N, 1 Read the data function code 03
-
Query frame (hexadecimal), send example: query 1# device 1 data, The host computer sends the command: 01 03 00 00 00 01 84 0A.
-
Data description: The data in the command is hexadecimal, taking data 1 as an example, 00 79 is converted to a decimal value 121, the data magnification is 100, then the true value is 121/100=1.21, and so on.
A table of commonly used data addresses
Wiring
In the case of broken wires, wire the wires as shown in the figure. If the
product itself has no leads, the core color is for reference.
How to use?
Ultraviolet sensors can be used to measure wind speed in re ways, ports,
docks, factories, water quality analysis, environm greenhouses, construction
sites, agriculture and other fielc
Application solution
- R$485 wiring mode
- Current wiring method
- Voltage wiring method
Product List
-
Communication Protocol
The product uses RS485 MODBUS-RTU standard protocol format, all operation or reply commands are hexadecimal data. The default device address is 1 when the device leaves the factory, and the module or NON-Recorder default baud rate is 9600,8,n, 1 ,but data recorder default baud rate is 115200 . -
Read data (function code 0x03)
Inquiry frame (hexadecimal), sending example: query 1 data of 1# device, the upper computer sends the command: 01 03 00 00 00 01 84 0A .
XM8566 User Manual
http://www.xunchip.com/
Address | Function Code | Start Address | Data Length | Check Code |
---|---|---|---|---|
01 | 03 | 00 00 | 00 01 | 84 0A |
For the correct query frame, the device will respond with data: 01 03 02 00 79 79 A6 , response format:
Address | Function Code | Length | Data 1 | Check Code |
---|---|---|---|---|
01 | 03 | 02 | 00 79 | 79 A6 |
- Data description: The data in the command is hexadecimal, take data 1 as an example, 00 79 is converted to decimal value as 121, assuming the data magnification is 100, then the real value is 121/100=1.21, Others and so on.
Common data address table
Configuration
Address
| Register Address| Register
Description
| Data Type| Value Range
---|---|---|---|---
40001| 00 00| 紫外线| Read Only| 0~65535
40101| 00 64| Model Code| Read/Write| 0~65535
40102| 00 65| total number of
measuring points
| read/write| 1~20
40103| 00 66| device address| read/write| 1~249
40104| 00 67| baud rate| read/write| 0~6
40105| 00 68| communication
mode
| read/write| 1~4
40106| 00 69| protocol type| read/write| 1~10
3 Read and modify device address
Read or query device address
If you don’t know the current device address and there is only one device on
the bus, you can query the device address through the commandFA 03 00 66 00 01
71 9E .
Device Address | Function Code | Start Address | Data Length | Check Code |
---|---|---|---|---|
FA | 03 | 00 66 | 00 01 | 71 9E |
FA means 250 is the general address, when you don’t know the address, you can
use 250 to get the real device address, 00 66 is the device address register.
For the correct query command, the device will respond, for example, the
response data is: 0 1 03 02 00 01 79 84, and its format parsing is shown in
the following table:
Device Address | Function Code | Start Address | Model Code | Check Code |
---|---|---|---|---|
01 | 03 | 02 | 00 01 | 79 84 |
- In the response data, the first byte 01 represents the real address of the current device.
- Change device address
- For example, if the current device address is 1 and we want to change it to 02, the command is: 01 06
Device Address | Function Code | Register Address | Target Address | Check Code |
---|---|---|---|---|
01 | 06 | 00 66 | 00 02 | E8 14 |
After the change is successful, the device will return the information: 02 06 00 66 00 02 E8 27 , and its format analysis is shown in the following table:
Device Address | Function Code | Register Address | Target Address | Check Code |
---|---|---|---|---|
02 | 06 | 00 66 | 00 02 | E8 27 |
In the response data, after the modification is successful, the first byte is
the new device address.
Generally, after the device address is changed, it will take effect
immediately. At this time, the user needs to change the query command of his
software accordingly. .
Read and modify baud rate
- Read baud rate
The default factory baud rate of the device is 9600. If you need to change it, you can change it
according to the following table and the corresponding communication protocol. For example, to read the baud rate ID of the current device, the command is: 01 03 00 67 00 01 35 D5 , the format is parsed as follows.
Device Address | Function Code | Start Address | Data Length | Check Code |
---|---|---|---|---|
01 | 03 | 00 67 | 00 01 | 35 D5 |
- Read the baud rate code of the current device. Baud rate code: 1 is 2400; 2 is 4800; 3 is 9600; 4 is 19200; 5 is 38400; 6 is 115200.
- For the correct query command, the device will respond, for example, the response data is: 01 03 02 00 03 F8 45, and its format analysis is shown in the following table:
Device Address | Function Code | Data Length | Baud Rate Code | Check Code |
---|---|---|---|---|
01 | 03 | 02 | 00 03 | F8 45 |
According to the baud rate code, 03 is 9600, that is, the baud rate of the
current device is 9600.
Change the baud rate
For example, change the baud rate from 9600 to 38400, that is, change the
code from 3 to 5, the command is: 01 06 00 67 00 05 F8 16
Device Address | Function Code | Register Address | Target Baud Rate | Check Code |
---|---|---|---|---|
01 | 06 | 00 67 | 00 05 | F8 16 |
Change the baud rate from 9600 to 38400, that is, change the code from 3 to 5. The new baud rate will take effect immediately, and the device will lose response at this time, and the baud rate of the device needs to be checked accordingly Modified.
Read and modify correction value
- Read correction value
When there is an error between the data and the reference standard, we can reduce the display error by adjusting the correction value. The correction difference can be modified in a rang e of plus or minus 1000, that is, the value range is 0-1000 or 64535 -65535. For example, when the displayed value is too small by 100, we can correct it by adding 100. The command is: 01 03 00 6B 00 01 F5 D6 . In the command, 100 is hexadecimal 0x64 ;If you need to reduce it, you can set a negative value, such as -100, the corresponding hexadecimal value is FF 9C, the calculation method is 100-65535=65435, and then converted to hexadecimal, it is 0x FF 9C. Device The correction value starts from 00 6B. We take the first parameter as an example to illustrate. When there are multiple parameters, the correction value is read and modified in the same way.
Device Address | Function Code | Start Address | Data Length | Check Code |
---|---|---|---|---|
01 | 03 | 00 6B | 00 01 | F5 D6 |
For the correct query command, the device will respond, for example, the response data is: 01 03 02 00 64 B9 AF, and its format parsing is shown in the following table:
Device Address | Function Code | Data Length | Correction Value | Check Code |
---|---|---|---|---|
01 | 03 | 02 | 00 64 | B9 AF |
In the response data, the first byte 01 represents the real address of the current device, and 00 6B is the first state correction value register. If the device has multiple parameters, other parameters operate in Shanghai XUNCHIP Industrial Co., Ltd XUNCHIP Brand Division the same way as this The same, generally temperature and humidity have this parameter, and lighting generally does not have this parameter.
Change the correction value
For example, if the current state is too small, we want to add 1 to its real
value, and add 100 to the current value. The correction operation command is:
01 06 00 6B 00 64 F9 FD .
Device Address | Function Code | Register Address | Target Address | Check Code |
---|---|---|---|---|
01 | 06 | 00 6B | 00 64 |
- After the operation is successful, the device will return the information: 01 06 00 6B 00 64 F9 FD , after the successful change, the parameters will take effect immediately.
- For example, the range is 0~200W/M2, the analog output is 4~20mA current signal, Illuminance and current The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) +
- A1, where A2 is Illuminance range upper limit, A1 is the lower limit of the range, B2 is current output range upper limit, B1 is the lower limit, X is the currently read Illuminance value, and C is the calculated current value. The list of commonly used values is as follows:
current(mA) | IlluminanceValue (W/M2) | Calculation Process |
---|---|---|
4 | 0.0 | (200-0)*(4-4)÷(20-4)+0 |
5 | 12.5 | (200-0)*(5-4)÷(20-4)+0 |
6 | 25.0 | (200-0)*(6-4)÷(20-4)+0 |
7 | 37.5 | (200-0)*(7-4)÷(20-4)+0 |
8 | 50.0 | (200-0)*(8-4)÷(20-4)+0 |
9 | 62.5 | (200-0)*(9-4)÷(20-4)+0 |
10 | 75.0 | (200-0)*(10-4)÷(20-4)+0 |
11 | 87.5 | (200-0)*(11-4)÷(20-4)+0 |
12 | 100.0 | (200-0)*(12-4)÷(20-4)+0 |
13 | 112.5 | (200-0)*(13-4)÷(20-4)+0 |
14 | 125.0 | (200-0)*(14-4)÷(20-4)+0 |
15 | 137.5 | (200-0)*(15-4)÷(20-4)+0 |
16 | 150.0 | (200-0)*(16-4)÷(20-4)+0 |
17 | 162.5 | (200-0)*(17-4)÷(20-4)+0 |
18 | 175.0 | (200-0)*(18-4)÷(20-4)+0 |
19 | 187.5 | (200-0)*(19-4)÷(20-4)+0 |
20 | 200.0 | (200-0)*(20-4)÷(20-4)+0 |
- As shown in the above formula, when measuring 8mA, current current is 54W/M2。
- For example, the range is 0~200W/M2, the analog output is 0~10V DC0-10Vvoltage signal, Illuminance and DC0-10Vvoltage The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is Illuminance range upper limit, A1 is the lower limit of the range, B2 is DC0-10Vvoltage output range upper limit, B1 is the lower limit, X is the currently read Illuminance value, and C is the calculated DC0-10Vvoltage value. The list of commonly used values is as follows:
DC0-10Vvoltage(V) | IlluminanceValue (W/M2) | Calculation Process |
---|---|---|
0 | 0.0 | (200-0)*(0-0)÷(10-0)+0 |
1 | 20.0 | (200-0)*(1-0)÷(10-0)+0 |
2 | 40.0 | (200-0)*(2-0)÷(10-0)+0 |
--- | --- | --- |
3 | 60.0 | (200-0)*(3-0)÷(10-0)+0 |
4 | 80.0 | (200-0)*(4-0)÷(10-0)+0 |
5 | 100.0 | (200-0)*(5-0)÷(10-0)+0 |
6 | 120.0 | (200-0)*(6-0)÷(10-0)+0 |
7 | 140.0 | (200-0)*(7-0)÷(10-0)+0 |
8 | 160.0 | (200-0)*(8-0)÷(10-0)+0 |
9 | 180.0 | (200-0)*(9-0)÷(10-0)+0 |
10 | 200.0 | (200-0)*(10-0)÷(10-0)+0 |
As shown in the above formula, when measuring 5V, current DC0-10Vvoltage is 100W/M2。
Disclaimer
This document provides all information about the product, does not grant
any license to intellectual property, does not express or imply, and prohibits
any other means of granting any intellectual property rights, such as the
statement of sales terms and conditions of this product, other issues. No
liability is assumed. Furthermore, our company makes no warranties, express or
implied, regarding the sale and use of this product, including the suitability
for the specific use of the product, the marketability or the infringement
liability for any patent, copyright or other intellectual property rights,
etc. Product specifications and product descriptions may be modified at any
time without notice.
Contact Us
- Brand: XUNCHIP
- Address: Room 208, Building 8, No. 215, Nandong Road, Baoshan District, Shanghai, Xinxin Brand Business Department
- Chinese site: http://www.xunchip.com
- International site: http://www.xunchip.com
- SKYPE: soobuu
- E-mail: sale@sonbest.com
- Tel: 86-021-51083595 / 66862055 / 66862075 / 66861077
Shanghai XUNCHIP Industrial Co., Ltd XUNCHIP Brand Division
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>