136
edits
| Line 89: | Line 89: | ||
= '''Example of TD-500 sensor polling in Terminal program''' = | = '''Example of TD-500 sensor polling in Terminal program''' = | ||
1 | 1 response - response to a request via LLS protocol | ||
2 | 2 response - response to a request via ModBUS RTU protocol | ||
TD-500 polling in the Terminal program | |||
$01$03$00$00$00$04$44$09 Command to poll a sensor via Modbus RTU protocol | |||
* 01 | * 01 Sensor network address | ||
* 03 | * 03 Requested command to read registers | ||
* 00 00 | * 00 00 Register starting from which data is requested | ||
* 00 04 | * 00 04 Number of requested registers | ||
* 44 09 | * 44 09 CRC-16 MODBUS checksum | ||
If you specify a different network address, you need to recalculate the checksum. But there is no point in changing the network address, since the sensor will respond to any network address. | |||
== '''Checksum calculation''' == | == '''Checksum calculation''' == | ||