Default Data Output Mode (command 17h)
This command determines the order of data output after the sensor is powered on or the processor is reset. After the power is on or the processor is reset, the program will send data periodically via the interface at the time interval prescribed by the 13h command.
Command format:
Offset, bytes | Field size, bytes | Value | Description |
---|---|---|---|
0 | 1 | 31h | Prefix |
+1 | 1 | 00h..FFh | Network address of the recipient |
+2 | 1 | 17h | Operation code |
+3 | 1 | 00h | No data output |
+3 | 1 | 01h | The data are output in binary form |
+3 | 1 | 02h | The data are output in character-coded form |
+4 | 1 | 00h..FFh | Checksum |
Response format:
Offset, bytes | Field size, bytes | Value | Description |
---|---|---|---|
0 | 1 | 31h | Prefix |
+1 | 1 | 00h..FFh | Network address of the recipient |
+2 | 1 | 17h | Operation code |
+3 | 1 | 00h | The command has been executed successfully |
+3 | 1 | 01h | The command cannot be executed |
+4 | 1 | 00h…FFh | Checksum |