RS485 3In1 Light Intensity Sensor Modbus Protocol Temperature and Humidity Transmitter Sensor
DC power supply: 10-30VDC
Cable color | instruction | |
Power | Brown | 10~30V DC power + |
Black | Power - | |
communication | yellow | 485-A |
blue | 485-b |
Code | 8 bit binary system |
Data bits | 8bits |
parity check bit | NO |
stop bit | NO |
Error checking | CRC |
baud rate | 2400bit/s4800bit/s9600 bit/s 4800bits by default |
2. Using Modbus-RTU communication protocol, the format is as follows:
The initial structure is more than 4 bytes of time
Address code = 1 bytes
Function = 1 bytes
Data area = N bytes
Error check = 16 bit CRC code
The end of the structure is greater than or equal to 4 bytes of time
Address code: the address of the transmitter, which is unique in the communication network (factory default 0x01).
Function code: the instruction function instruction from the host. The transmitter only uses the function code 0x03 (read register data).
Data area: data area is specific communication data, pay attention to 16bits data before the high byte!
CRC Code: two byte check code
Host query frame structure:
Address code | Function code | Register start address | Register length | check code low | Check code high |
1 bytes | 1 bytes | 2 bytes | 2 bytes | 1 bytes | 1 bytes |
Slave transponder frame structure
Address code | Function code | effective byte | No 1 Data area | NO2 Data area | No N Data area | Check code |
1 bytes | 1 bytes | 1 bytes | 2 bytes | 2 bytes | 2 bytes | 2 bytes |
3.Register address
Register address | PLC or configuration address | content | operation |
0000 H | 40001 | humidity | read-only |
0001 H | 40002 | temperature | read-only |
0002 H | 40003 | Illuminance 0~200000Lux use unit 1Lux | read-only |
0003 H | 40004 | ||
0006 H | 40007 | Illuminance 0~65535 unit 1 Lux ,0~200000 unit 100Lux | read-only |
4.Examples and explanations of communication protocols
4.1Read the temperature and humidity values of the device address 0x01
Query frame
Address code | Function code | Start address | Data length | check code low | Check code high |
0x01 | 0x03 | 0x00 0x00 | 0x00 0x02 | 0xC4 | 0x0B |
Response frames (for example, read the temperature of -10.1 degrees C and humidity of 65.8%RH)
Address code | Function code | effective byte | humidity | temperature | check code low | Check code high |
0x01 | 0x03 | 0x04 | 0x02 0x92 | 0xFF 0x9B | 0x5A | 0x3D |
.Temperature: when the temperature is below 0 degrees, it is uploaded in the form of complement
FF9B H (Hexadecimal) = -101 = -10.1 = > temperature c
Humidity:
292 H (Hexadecimal) =658=> humidity = 65.8%RH
4.2 Read the illumination value of the device address 0x01
(0~65535 reads in 1Lux or 0~200000 reads in a hundred Lux units)
Query frame
Address code | Function code | Start address | Data length | check code low | Check code high |
0x01 | 0x03 | 0x00 0x06 | 0x00 0x01 | 0x64 | 0x0B |
Response frames (for example, read illumination is 200000 Lux)
Address code | Function code | Returns the number of valid bytes | Data area | check code low | Check code high |
0x01 | 0x03 | 0x02 | 0x05 0x30 | 0xBB | 0x00 |
Illumination calculation description:
1) the product is 0~65535 range transmitter, the unit is 1Lux
0530 H (sixteen hex) = 1328=> illuminance =1328 Lux
2) the product is 0~200000 range transmitter, the unit is 100 Lux
0530 H (sixteen hex) = 1328=> illuminance =132800 Lux
4.3 Read the illumination value of the device address 0x01 (0~200000 is read as 1Lux)
Query frame
Address code | Function code | Start address | Data length | check code low | Check code high |
0x01 | 0x03 | 0x00 0x02 | 0x00 0x02 | 0x65 | 0xCB |
Response frames (for example, read illumination is 200000 Lux)
Address code | Function code | Significant bytes | High light intensity | low light intensity | check code low | Check code high |
0x01 | 0x03 | 0x04 | 0x00 0x03 | 0x0D 0x40 | 0x0F | 0x53 |
Illumination calculation description:
This protocol is only used under the 0~200000Lux range transmitter, 1Lux
30D40, H (sixteen hex) = 200000=>, illuminance =200000, Lux
4.4 Read the temperature, humidity, and illumination values of the address 0x01 of the device
(0~65535 reads in 1Lux or 0~200000 reads in a hundred Lux units)
Query frame
Address code | Function code | Start address | Data length | check code low | Check code high |
0x01 | 0x03 | 0x00 0x00 | 0x00 0x07 | 0x04 | 0x08 |
Response frames
Address code | Function code | Bytes | humidty | temperature | ** | Illuminance | Check code |
0x01 | 0x03 | 0x0E | 0x02 0x92 | 0x80 0x65 | 00 Fill | 0x05 0x30 | 0xC4 0x33 |
4.5 Read the temperature, humidity, and illumination values of the address 0x01 of the device
(0~200000 reads in 100 Lux units)
Address code | Function code | Start address | Data length | check code low | Check code high |
0x01 | 0x03 | 0x00 0x00 | 0x00 0x04 | 0x44 | 0x09 |
Response frames
Address code | Function code | Bytes | humidty | temperature | Illuminance high | Illuminance low | Check code |
0x01 | 0x03 | 0x03 0x08 | 0x02 0x92 | 0x80 0x65 | 0x00 0x03 | 0x0D 0x40 | 0x01 0x6F |
5. The device cannot connect to PLC or computer
Possible causes:
1) the computer has multiple COM ports, and the choice is incorrect.
2) device address error, or the existence of repeated address devices (factory default all 1).
3) baud rate, check mode, data bits, stop bit error.
4) The 485 bus is disconnected, or the A and B lines are reversed.
5) If the number of devices is too large or the wiring is too long, the power should be supplied nearby, add 485 booster, and increase the resistance of 120 terminal.
6) The USB to 485 driver is not installed or damaged.
7) Equipment damage.
Package includes:
Details Pictures:
(1) FREE Shipping 10 - 15 business days, (2) Standard Shipping 7 - 12 business days.
Shipping and Delivery Estimates
We ship in-stock orders as soon as possible. This is often within two business days, but there are situations where it may take longer. All estimates are based on business days.
Note:
(1) The shipping time mentioned above refers to the estimated time of business days that the shipment will take after an order has been shipped.
(2) Business days do not include Saturday/Sunday and any public holidays.
(3) These estimates are based on normal circumstances and are not a guarantee of delivery times.
(4) We are not responsible for the failures or delays in delivery resulting from any force majeure event, such as natural disaster, bad weather, war, customs issues, and any other event beyond our direct control.
for more information please visit our Shipping Policy Page.
Women's Sizing & Fit Guide
Please be aware that most of our clothing is Juniors' sizing, which runs smaller than regular US / European Women sizing. Refer to the measurements chart for each individual product to determine the best size for you. Product specific size chart and information can be found in product description or in product picture gallery.
Our team does it's best to include accurate size details and measurement of each item in the product descriptions. If you have questions regarding sizing or any other information on a specific item, please email us at support@mrslm.com for specific details.
Find the best size
When comparing your measurements to those listed on the site, make sure to check if the fabric is stretchy or not. If it is, it can stretch an inch or more.
- Bust: Wrap the measuring tape loosely around the fullest part of your bust to ensure a comfortable fit.
- Waist: Measure the narrowest part of your natural waist, holding the measuring tape loose enough to fit comfortably.
- Hips: Drape the measuring tape around the widest part of your hips, resting the tape comfortably against your body.
- Length: For tops and dresses, measure from the top of your shoulder to the hem. For strapless dresses, measure from the highest part of the neckline to the hem. For pants and skirts, measure from the top of the waist to the hem.
- Sleeve: With your arm outstretched, measure from the base of your neck to the end of the sleeve hem to determine where the sleeve length will fall on you.
Size Chart
Dresses Size Chart
DRESSES SIZE IN INCHES |
||||
SIZE | US / CAN | BUST | WAIST | HIPS |
XS | 0 | 31"-32" | 24"-25" | 34"-35" |
S | 2-4 | 33"-34" | 26"-27" | 36"-37" |
M | 6-8 | 35"-36" | 28"-29" | 38"-39" |
L | 10-12 | 37"-39" | 30"-32" | 40"-42" |
XL | 14 | 40"-42" | 33"-35" | 43"-45" |
DRESSES SIZE IN CM |
||||
SIZE | US / CAN | BUST | WAIST | HIPS |
XS | 0 | 78.7-81.2 | 60.9-63.5 | 86.3-88.9 |
S | 2-4 | 83.8-86.3 | 66-68.5 | 91.4-93.9 |
M | 6-8 | 88.9-91.4 | 71.1-73.6 | 96.5-99 |
L | 10-12 | 93.9-99 | 76.2-81.2 | 101.6-106.6 |
XL | 14 | 101.6-106.6 | 81.2-88.9 | 109.2-114.3 |
Tops Size Chart
TOPS SIZE IN INCHES |
|||
SIZE | US / CAN | BUST | WAIST |
XS | 0 | 31"-32" | 24"-25" |
S | 2-4 | 33"-34" | 26"-27" |
M | 6-8 | 35"-36" | 28"-29" |
L | 10-12 | 37"-39" | 30"-32" |
XL | 14 | 40"-42" | 33"-35" |
TOPS SIZE IN CM |
|||
SIZE | US / CAN | BUST | WAIST |
XS | 0 | 78.7-81.2 | 60.9-63.5 |
S | 2-4 | 83.8-86.3 | 66-68.5 |
M | 6-8 | 88.9-91.4 | 71.1-73.6 |
L | 10-12 | 93.9-99 | 76.2-81.2 |
XL | 14 | 101.6-106.6 | 83.8-88.9 |
Bottoms Size Chart
BOTTOMS SIZE IN INCHES |
|||
SIZE | US / CAN | WAIST | HIPS |
XS | 0 | 24"-25" | 34"-35" |
S | 2-4 | 26"-27" | 36"-37" |
M | 6-8 | 28"-29" | 38"-39" |
L | 10-12 | 30"-32" | 40"-42" |
XL | 14 | 33"-35" | 43"-45" |
BOTTOMS SIZE IN CM |
|||
SIZE | US / CAN | WAIST | HIPS |
XS | 0 | 60.9-63.5 | 86.3-88.9 |
S | 2-4 | 66-68.5 | 91.4-93.9 |
M | 6-8 | 71.1-73.6 | 96.4-93.9 |
L | 10-12 | 76.2-81.2 | 101.6-106.6 |
XL | 14 | 83.8-88.9 | 109.2-114.3 |
Denim Size Chart
DENIM SIZE IN INCHES |
||||
WAIST SIZE | JUNIOR SIZING | WAIST | LOW WAIST | HIPS |
24 | 0 | 24"-25" | 26"-27" | 32"-33" |
25 | 1 | 25"-26" | 28"-29" | 33"-34" |
26 | 3 | 26"-27" | 30"-31" | 34"-35" |
27 | 5 | 27"-28" | 31"-32" | 35"-36" |
28 | 7 | 28"-29" | 32"-33" | 36"-37" |
29 | 9 | 29"-30" | 33"-34" | 37"-38" |
30 | 11 | 30"-31" | 34"-35" | 38"-39" |
31 | 13 | 31"-3" | 35"-36" | 39"-40" |
32 | 15 | 32"-33" | 36"-37" | 40"-41" |
DENIM SIZE IN CM |
||||
WAIST SIZE | JUNIOR SIZING | WAIST | LOW WAIST | HIPS |
24 | 0 | 60.9-63.5 | 66-68.5 | 81.2-83.8 |
25 | 1 | 63.5-66 | 71.1-73.6 | 83.8-86.3 |
26 | 3 | 66-68.5 | 76.2-78.7 | 86.3-88.9 |
27 | 5 | 68.5-71.1 | 78.7-81.2 | 88.9-91.4 |
28 | 7 | 71.1-73.6 | 81.2-83.8 | 91.4-93.9 |
29 | 9 | 73.6-76.2 | 83.8-86.3 | 93.9-96.5 |
30 | 11 | 76.2-78.7 | 86.3-88.9 | 96.5-99 |
31 | 13 | 78.7-81.2 | 88.9-91.4 | 99-101.6 |
32 | 15 | 81.2-83.8 | 91.4-93.9 | 101.6-104.1 |
Swimwear Size Chart
SWIMWEAR SIZE IN INCHES |
||||
SIZE | US / CAN | BUST | WAIST | HIPS |
XS | 0 | 31"-32" | 24"-25" | 33"-34" |
S | 2 | 33"-34" | 26"-27" | 35"-37" |
M | 4 | 35"-36" | 28"-29" | 37"-38" |
L | 6 | 37"-39" | 30"-32" | 39"-41" |
XL | 8 | 40"-42" | 33"-35" | 42"-44" |
SWIMWEAR SIZE IN CM |
||||
SIZE | US / CAN | BUST | WAIST | HIPS |
XS | 0 | 78.7-81.2 | 60.9-63.5 | 83.8-86.3 |
S | 2 | 83.8-86.3 | 66-68.5 | 88.9-93.9 |
M | 4 | 88.9-91.4 | 71.1-73.6 | 93.9-96.5 |
L | 6 | 93.9-99 | 76.2-81.2 | 99-104.1 |
XL | 8 | 101.6-106.6 | 81.2-88.9 | 106.6-111.7 |
Shoes Size Chart
US | EURO | UK | AUS | JAPAN | CHINA |
5 | 35-36 | 3 | 3.5 | 21.5 | 35 |
5.5 | 36 | 3.5 | 4 | 22 | 35.5 |
6 | 36-37 | 4 | 4.5 | 22.5 | 36 |
6.5 | 37 | 4.5 | 5 | 23 | 36.5 |
7 | 37-38 | 5 | 5.5 | 23.5 | 37 |
7.5 | 38 | 5.5 | 6 | 24 | 37.5 |
8 | 38-39 | 6 | 6.5 | 24.5 | 38 |
8.5 | 39 | 6.5 | 7 | 25 | 38.5 |
9 | 39-40 | 7 | 7.5 | 25.5 | 39 |
9.5 | 40 | 7.5 | 8 | 26 | 39.5 |
10 | 40-41 | 8 | 8.5 | 26.5 | 40 |
11 | 41-42 | 9 | 9.5 | 27.5 | 41 |
Attention: This guide provides general sizing information only, and fit can vary depending on style and brand. For more specific sizing information on the product, please refer to product description.
NOTE:
- All models are wearing size small in tops and dresses, and size 1, 3, or 5 in jeans depending on their body type.
- Most kalles jeans & dresses have some stretch, please refer to product description for fabric details.
- Most kalles bottoms have an inseam of 31-34” depending on the cut and style. Sizing may vary depending on cut and style.