RS485 bus 160 point DS18B20 temperature acquisition module

Product Overview


    SM1600B Using Standards & RS485 Interfaces,based on industrial MODBUS-RTU protocol, easy access to PLCs, DCS and other instruments or systems for monitoring .it can monitoring 160 State amount.
     Internally used higher precision sensing cores and related devices to ensure high reliability and excellent long-term stability. The series selects RS232, RS485, CAN, 4-20mA, DC0-5V\10V, ZIGBEE, LORO, WIFI, GPRS and other output methods (special communication protocol can be customized).
     can be applied to a variety of locations for simultaneous monitoring of multiple points, especially for agricultural greenhouses, tunnels, weather, urban lighting, etc.

Product Pictures


SM1600B

Wiring instructions


    Please wire according to the following logo or lead color. Do not use live wiring, otherwise it will damage the equipment. Carefully check the wiring and turn it on again.
Core colorIdentificationNote
REDV+Power RS485 positive electrode
GREENV-Power RS485negative electrode
YELLOWA+RS485 A+
BLUEB-RS485 B-

SM1600B接线示意图

Protocol


    SM1600BAll operation or reply commands are hexadecimal data. Default communication baud rate:9600,8,n,1。
1 ) Read data (function code 0x03)
< Td>data length
Command descriptionDevice addressFunction codeStarting addresscheck code
Command format0103 00 00 00 A0 45 B2
Sending example01 03 00 00 00 A0 45 B2
Response command format and examples
Response descriptionDevice addressFunction codeData lengthdata 1data 2data 3data 4data 5data 6data 7data 8data 9data 10data 11data 12data 13data 14data 15data 16data 17data 18data 19data 20data 21data 22data 23data 24data 25data 26data 27data 28data 29data 30data 31data 32data 33data 34data 35data 36data 37data 38data 39data 40data 41data 42data 43data 44data 45data 46data 47data 48data 49data 50data 51data 52data 53data 54data 55data 56data 57data 58data 59data 60data 61data 62data 63data 64data 65data 66data 67data 68data 69data 70data 71data 72data 73data 74data 75data 76data 77data 78data 79data 80data 81data 82data 83data 84data 85data 86data 87data 88data 89data 90data 91data 92data 93data 94data 95data 96data 97data 98data 99data 100data 101data 102data 103data 104data 105data 106data 107data 108data 109data 110data 111data 112data 113data 114data 115data 116data 117data 118data 119data 120data 121data 122data 123data 124data 125data 126data 127data 128data 129data 130data 131data 132data 133data 134data 135data 136data 137data 138data 139data 140data 141data 142data 143data 144data 145data 146data 147data 148data 149data 150data 151data 152data 153data 154data 155data 156data 157data 158data 159data 160Check code
Command format0103 0000 7900 7A00 7B00 7C00 7D00 7E00 7F00 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900 8A00 8B00 8C00 8D00 8E00 8F00 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900 9A00 9B00 9C00 9D00 9E00 9F00 A000 A100 A200 A300 A400 A500 A600 A700 A800 A900 AA00 AB00 AC00 AD00 AE00 AF00 B000 B100 B200 B300 B400 B500 B600 B700 B800 B900 BA00 BB00 BC00 BD00 BE00 BF00 C000 C100 C200 C300 C400 C500 C600 C700 C800 C900 CA00 CB00 CC00 CD00 CE00 CF00 D000 D100 D200 D300 D400 D500 D600 D700 D800 D900 DA00 DB00 DC00 DD00 DE00 DF00 E000 E100 E200 E300 E400 E500 E600 E700 E800 E900 EA00 EB00 EC00 ED00 EE00 EF00 F000 F100 F200 F300 F400 F500 F600 F700 F800 F900 FA00 FB00 FC00 FD00 FE00 FF00 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00 36 CD
Reply Command01 03 00 00 79 00 7A 00 7B 00 7C 00 7D 00 7E 00 7F 00 80 00 81 00 82 00 83 00 84 00 85 00 86 00 87 00 88 00 89 00 8A 00 8B 00 8C 00 8D 00 8E 00 8F 00 90 00 91 00 92 00 93 00 94 00 95 00 96 00 97 00 98 00 99 00 9A 00 9B 00 9C 00 9D 00 9E 00 9F 00 A0 00 A1 00 A2 00 A3 00 A4 00 A5 00 A6 00 A7 00 A8 00 A9 00 AA 00 AB 00 AC 00 AD 00 AE 00 AF 00 B0 00 B1 00 B2 00 B3 00 B4 00 B5 00 B6 00 B7 00 B8 00 B9 00 BA 00 BB 00 BC 00 BD 00 BE 00 BF 00 C0 00 C1 00 C2 00 C3 00 C4 00 C5 00 C6 00 C7 00 C8 00 C9 00 CA 00 CB 00 CC 00 CD 00 CE 00 CF 00 D0 00 D1 00 D2 00 D3 00 D4 00 D5 00 D6 00 D7 00 D8 00 D9 00 DA 00 DB 00 DC 00 DD 00 DE 00 DF 00 E0 00 E1 00 E2 00 E3 00 E4 00 E5 00 E6 00 E7 00 E8 00 E9 00 EA 00 EB 00 EC 00 ED 00 EE 00 EF 00 F0 00 F1 00 F2 00 F3 00 F4 00 F5 00 F6 00 F7 00 F8 00 F9 00 FA 00 FB 00 FC 00 FD 00 FE 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36 CD
Data Format The data in the command is hexadecimal. Take data 1 as an example. 00 79 is converted to a decimal value of 121. If the data magnification is 100, the actual value is 121/100=1.21. Others and so on
2 ) Data address table
Address in Configuration SoftwareRegister addressRegister DescriptionData Type Range of values
4000100 01DS18B20温度registerunit0-65535
4010000 64Model CodeUnsigned int0-65535
4010100 65Total number of pointsUnsigned int1- 5000
4010200 66Device addressUnsigned int1-249
4010300 67Baud rateUnsigned int0- 6
4010400 68Communication ModeUnsigned int0-2
4010500 69Protocol TypeUnsigned int0-3
4010600 6AUpload time intervalUnsigned shaping0- 36000
4010700 6BDS18B20温度Correction valueunit0-65535
3 ) Read and modify device address
1. Read device address
if do not know device address and only have 1 device on rs485 bus,You can use this command to query the current Device address.
Command descriptionDevice addressFunction codeStart AddressData lengthCheck code
Command formatFA03 00 64 00 01 D0 5E
Sending exampleFA 03 00 64 00 01 D0 5E
Command descriptionFA,250 For the general address, when you do not know the address, you can use the 250 address to get the real Device address, 00 64 is the device model register, here can also be 00 66 (Device address register)。
Response Command format and examples
Response descriptionDevice addressFunction codeData lengthType IDCheck code
Response example0103 02 07 12 3A 79
Response example01 03 02 07 12 3A 79
Response descriptionThe first byte 01 indicates that the real address of the current device is 01, and the conversion from 07 12 to decimal is 1810, that is, the current device model is 1810.
2. Change device address
Command descriptionDevice addressFunction codeRegister addressCurrent AddressObject addressCheck code
Command format0106 00 66 00 01 00 02E8 14E
Sending example01 06 00 66 00 02 E8 14E
Command descriptionchange device address 1 to 2.
Response Command format and examples
Response descriptionDevice addressFunction codeRegister addressObject addressCheck code
Response example0206 00 66 00 02 E8 27
Response example02 06 00 66 00 02 E8 27
Response descriptionAfter the modification is successful, the first byte is the new Device address, which takes effect immediately.
4 ) Read and modify baud rate
1. 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.
Command descriptionDevice addressFunction codeStart AddressData lengthCheck code
Command format0103 00 67 00 01 35 D5
Sending example01 03 00 67 00 01 35 D5
Command descriptionRead the baud rate code of the current device. Baud rate coding: 1 is 2400; 2 is 4800; 3 is 9600; 4 is 19200; 5 is 38400;
Response Command format and examples
Response descriptionDevice addressFunction codeData lengthbaud rate IDCheck code
Response example0103 02 00 03F8 45
Response example01 03 02 00 03 F8 45
Response descriptionAccording to the baud rate coding, 03 is 9600, that is, the current device has a baud rate of 9600.
2. Modify baud rate
Command descriptionDevice addressFunction codeStart Addressobject baud rateCheck code
Command format0106 00 67 00 05F8 16
Sending example01 06 00 67 00 05 F8 16
Command descriptionChange the baud rate from 9600 to 38400, which will change the code from 3 to 5. The new baud rate will take effect immediately, at which point the device will lose its response or the response will be incorrect.
4 ) Read and modify Correction value
1. Read Correction value
When the data is inaccurate with the reference standard, we can reduce the display error by adjusting the Correction value . The correction difference can be modified to be plus or minus 1000, that is, the value range is 0-1000 or 64535-65535. For example, when the display value is too small, 100We correct by adding 100. In the command, 100 is hexadecimal 0x64; if it needs to be reduced, you can set a negative value, such as -100, corresponding to the hexadecimal value of FF 9C, which is calculated as 100-65535=65435, then turn to ten The hexadecimal is 0x FF 9C.
Correction value is start from 00 6B,Let us take the first parameter as an example. When multiple parameters are used, the Correct value is read and modified in the same way.
Command descriptionDevice addressFunction codeRegister addressData lengthCheck code
Command format0103 00 6B 00 01 F5 D6
Sending example 01 03 00 6B 00 01 F5 D6
Command description00 6B is the first state quantity Correction value register.
Response Command format and examples
Response descriptionDevice addressFunction codeRegister addressCorrection parameterCheck code
Response example0103 0200 64B9 AF<
Response example 01 03 02 00 64 B9 AF
Response descriptionCurrent device register.
2. Modify Correction value
Command descriptionDevice addressFunction codeStart AddressCorrection valueCheck code
Command format0106 00 6B 00 64 F9 FD
Sending example01 06 00 6B 00 64 F9 FD
Command description The current value plus 100 correction operation.
Response Command format and examples
Response descriptionDevice addressFunction codeRegister addressCorrection parameterCheck code
Response example0106 00 6B 00 64F9 FD
Response example01 06 00 6B 00 64 F9 FD
Response descriptionThe parameters take effect immediately after a successful change.
Setup Software
Development File
Online shop

ALIEXPRESS Go to Purchase

Contact Online

Email: sale@sonbest.com

BRAND: KLHA

TYPE: SM1600B

WeChat: 13918126020

SKYPE: SOOBUU

Phone: +86-021-66862075

QQ1: 71182854 QQ2:613035997