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
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 color | Identification | Note |
RED | V+ | Power RS485 positive electrode |
GREEN | V- | Power RS485negative electrode |
YELLOW | A+ | RS485 A+ |
BLUE | B- | RS485 B- |
Protocol
SM1600BAll operation or reply commands are hexadecimal data. Default communication baud rate:9600,8,n,1。
1 ) Read data (function code 0x03)
Command description | Device address | Function code | Starting address | < Td>data lengthcheck code |
Command format | 01 | 03 | 00 00 | 00 A0 | 45 B2 |
Sending example | 01 03 00 00 00 A0 45 B2 |
Response command format and examples
Response description | Device address | Function code | Data length | data 1 | data 2 | data 3 | data 4 | data 5 | data 6 | data 7 | data 8 | data 9 | data 10 | data 11 | data 12 | data 13 | data 14 | data 15 | data 16 | data 17 | data 18 | data 19 | data 20 | data 21 | data 22 | data 23 | data 24 | data 25 | data 26 | data 27 | data 28 | data 29 | data 30 | data 31 | data 32 | data 33 | data 34 | data 35 | data 36 | data 37 | data 38 | data 39 | data 40 | data 41 | data 42 | data 43 | data 44 | data 45 | data 46 | data 47 | data 48 | data 49 | data 50 | data 51 | data 52 | data 53 | data 54 | data 55 | data 56 | data 57 | data 58 | data 59 | data 60 | data 61 | data 62 | data 63 | data 64 | data 65 | data 66 | data 67 | data 68 | data 69 | data 70 | data 71 | data 72 | data 73 | data 74 | data 75 | data 76 | data 77 | data 78 | data 79 | data 80 | data 81 | data 82 | data 83 | data 84 | data 85 | data 86 | data 87 | data 88 | data 89 | data 90 | data 91 | data 92 | data 93 | data 94 | data 95 | data 96 | data 97 | data 98 | data 99 | data 100 | data 101 | data 102 | data 103 | data 104 | data 105 | data 106 | data 107 | data 108 | data 109 | data 110 | data 111 | data 112 | data 113 | data 114 | data 115 | data 116 | data 117 | data 118 | data 119 | data 120 | data 121 | data 122 | data 123 | data 124 | data 125 | data 126 | data 127 | data 128 | data 129 | data 130 | data 131 | data 132 | data 133 | data 134 | data 135 | data 136 | data 137 | data 138 | data 139 | data 140 | data 141 | data 142 | data 143 | data 144 | data 145 | data 146 | data 147 | data 148 | data 149 | data 150 | data 151 | data 152 | data 153 | data 154 | data 155 | data 156 | data 157 | data 158 | data 159 | data 160 | Check code |
Command format | 01 | 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 |
Reply Command | 01 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 Software | Register address | Register Description | Data Type | Range of values |
40001 | 00 01 | DS18B20温度register | unit | 0-65535 |
40100 | 00 64 | Model Code | Unsigned int | 0-65535 |
40101 | 00 65 | Total number of points | Unsigned int | 1- 5000 |
40102 | 00 66 | Device address | Unsigned int | 1-249 |
40103 | 00 67 | Baud rate | Unsigned int | 0- 6 |
40104 | 00 68 | Communication Mode | Unsigned int | 0-2 |
40105 | 00 69 | Protocol Type | Unsigned int | 0-3 |
40106 | 00 6A | Upload time interval | Unsigned shaping | 0- 36000 |
40107 | 00 6B | DS18B20温度Correction value | unit | 0-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 description | Device address | Function code | Start Address | Data length | Check code |
Command format | FA | 03 | 00 64 | 00 01 | D0 5E |
Sending example | FA 03 00 64 00 01 D0 5E |
Command description | FA,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 description | Device address | Function code | Data length | Type ID | Check code |
Response example | 01 | 03 | 02 | 07 12 | 3A 79 |
Response example | 01 03 02 07 12 3A 79 |
Response description | The 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 description | Device address | Function code | Register address | Current Address | Object address | Check code |
Command format | 01 | 06 | 00 66 | 00 01 | 00 02 | E8 14E |
Sending example | 01 06 00 66 00 02 E8 14E |
Command description | change device address 1 to 2. |
Response Command format and examples
Response description | Device address | Function code | Register address | Object address | Check code |
Response example | 02 | 06 | 00 66 | 00 02 | E8 27 |
Response example | 02 06 00 66 00 02 E8 27 |
Response description | After 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 description | Device address | Function code | Start Address | Data length | Check code |
Command format | 01 | 03 | 00 67 | 00 01 | 35 D5 |
Sending example | 01 03 00 67 00 01 35 D5 |
Command description | Read 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 description | Device address | Function code | Data length | baud rate ID | Check code |
Response example | 01 | 03 | 02 | 00 03 | F8 45 |
Response example | 01 03 02 00 03 F8 45 |
Response description | According to the baud rate coding, 03 is 9600, that is, the current device has a baud rate of 9600. |
2. Modify baud rate
Command description | Device address | Function code | Start Address | object baud rate | Check code |
Command format | 01 | 06 | 00 67 | 00 05 | F8 16 |
Sending example | 01 06 00 67 00 05 F8 16 |
Command description | Change 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 description | Device address | Function code | Register address | Data length | Check code |
Command format | 01 | 03 | 00 6B | 00 01 | F5 D6 |
Sending example | 01 03 00 6B 00 01 F5 D6 |
Command description | 00 6B is the first state quantity Correction value register. |
Response Command format and examples
Response description | Device address | Function code | Register address | Correction parameter | Check code |
Response example | 01 | 03 | 02 | 00 64 | B9 AF< |
Response example | 01 03 02 00 64 B9 AF |
Response description | Current device register. |
2. Modify Correction value
Command description | Device address | Function code | Start Address | Correction value | Check code |
Command format | 01 | 06 | 00 6B | 00 64 | F9 FD |
Sending example | 01 06 00 6B 00 64 F9 FD |
Command description | The current value plus 100 correction operation. |
Response Command format and examples
Response description | Device address | Function code | Register address | Correction parameter | Check code |
Response example | 01 | 06 | 00 6B | 00 64 | F9 FD |
Response example | 01 06 00 6B 00 64 F9 FD |
Response description | The parameters take effect immediately after a successful change. |