We got a wave sensor and it only outputs serial binary data. Can dt80 read serial binary data and decode it into decimal CV?
Messages from the WaveRadar REX consist of fixed length strings of binary values which are sent over a half-duplex link. Output messages will utilize the data link for approximately 20 ms every 250 ms and are repeated every 250 ms (4Hz).
Any message sent to the radar will be interpreted as a query and the continuous output of data on the bus will cease. The communications processor will wait for a command
message. If no message is received within 60 seconds the data output string will recommence.
If within this period a further query is sent to the radar, the 60 second period will then recommence from that query. A sample HEX message string of 17 bytes from the WaveRadar REX is shown below.
F6 04 0C 00 01 02 47 80 70 00 00 01 92 29 8F 17 B6
Where:
- Byte F6 is the RTG address (default)
- Byte 04 is the command code (default)
- Byte 0C is a byte counter. Number of data bytes in message excluding address, command and check sum bytes.
- Byte 00 01 02 47 comprise a measured range value in 1/10mm steps (MS byte to LS byte). Where 00 01 02 47 Hex = 66119mm or 6.6119m
- Byte 80 and 70 is the sensor status Ss1 and Ss2 (see description below)
- Byte 00 and 00 are reserved - No value.
- Byte 01 and 92 are signal strength value (for test use)
- Byte 29 and 8F is (for test use)
- Byte 17 is the check sum high byte
- Byte B6 is the check sum low byte
- The CRC checksum is a 2 byte sequence used at the end of each command and data message. It is based on the CRC-16 sequence as defined by Modbus protocol.
We got a wave sensor and it only outputs serial binary data. Can dt80 read serial binary data and decode it into decimal CV?
Messages from the WaveRadar REX consist of fixed length strings of binary values which are sent over a half-duplex link. Output messages will utilize the data link for approximately 20 ms every 250 ms and are repeated every 250 ms (4Hz).
Any message sent to the radar will be interpreted as a query and the continuous output of data on the bus will cease. The communications processor will wait for a command
message. If no message is received within 60 seconds the data output string will recommence.
If within this period a further query is sent to the radar, the 60 second period will then recommence from that query. A sample HEX message string of 17 bytes from the WaveRadar REX is shown below.
````
F6 04 0C 00 01 02 47 80 70 00 00 01 92 29 8F 17 B6
````
Where:
- Byte F6 is the RTG address (default)
- Byte 04 is the command code (default)
- Byte 0C is a byte counter. Number of data bytes in message excluding address, command and check sum bytes.
- Byte 00 01 02 47 comprise a measured range value in 1/10mm steps (MS byte to LS byte). Where 00 01 02 47 Hex = 66119mm or 6.6119m
- Byte 80 and 70 is the sensor status Ss1 and Ss2 (see description below)
- Byte 00 and 00 are reserved - No value.
- Byte 01 and 92 are signal strength value (for test use)
- Byte 29 and 8F is (for test use)
- Byte 17 is the check sum high byte
- Byte B6 is the check sum low byte
- The CRC checksum is a 2 byte sequence used at the end of each command and data message. It is based on the CRC-16 sequence as defined by Modbus protocol.