온도 및 습도 트랜스미터 RS485 MODBUS 센서, 산업용 등급 고정밀 RS485 / 4-20MA / 0-5V / 0-10V
V. Communication protocol
The sensor uses the MODBUS-RTU protocol, the default address is 1, the baud rate is 9600bps, 1 start bit, 8 data bits, 1 stop bit, no parity.
Communication address range: 1-255, baud rate range: 1200, 2400, 4800, 9600, 19200 BPS. Communication address and baud rate can be set by our software.
Host reads temperature and humidity data:
Address code | Function code | Register start address | Register length | CRC check |
0x01 | 0x03 | 0x00 0x00 | 0x00 0x02 | 0xC4 0x0B |
Temperature and humidity return data:
Address code | Function code | Number of valid bytes | Temperature value | Humidity value | CRC check |
0x01 | 0x03 | 0x04 | 0x01 0x56 | 0x03 0x0E | 0x9A 0xEB |
Temperature calculation: 0X0156 (hexadecimal) = 342 = 34.2 ° C. When the temperature is lower than 0 ° C, the data is expressed in two's complement, 0XFF64 (hexadecimal) = -156 = -15.6 ° C.
Humidity calculation: 0X030E (hexadecimal) = 782 = 78.2%.
RS485 factory parameter default:
Address | Baud rate | Parity check | Data bit | Start bit | Stop bit |
1 | 9600 | None | 8 bit | 1 bit | 1 bit |
03H Read the temperature and humiditydata comparison table:
Registeraddress | PLCor configuration address | Content description | Read and write attributes and commands | Data scope and description |
0 | 40001 | Temperature | 03H read | Unit℃, actual value = original value/10 |
1 | 40002 | Humidity | 03H read | Unit%RH, actual value=original value/10 |
06H Set the communication address andbaud rate parameters. Comparison table:
Registeraddress | PLCor configuration address | Content description | Read and write attributes and command | Data scope and description |
0000 | 40001 | Communicationaddress | Byte | Communicationaddress 1~255 |
Communicationrate | Byte | Modulecommunication baud rate 03H~07H,mean 1200~19200BPS |
Condition : New
Origin : Mainland China
Type : Logic ICs
Brand Name : TONIFISHI
Supply Voltage : DC12 or DC24V