Support Forums
Can DT80 decode serial binary data?

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.

Good afternoon Orange,

That looks very much like a MODBUS RTU output to a data request, is this a MODBUS device?

Cheers,
Roger

Good afternoon Orange, That looks very much like a MODBUS RTU output to a data request, is this a MODBUS device? Cheers, Roger

Hi Roger

I checked again, it is not a MODBUS signal. It is RS232 signal with binary data. Not the usual RS232 signal with ASCII data.

Hi Roger I checked again, it is not a MODBUS signal. It is RS232 signal with binary data. Not the usual RS232 signal with ASCII data.

Good morning Orange,

Very strange, the message structure looks very much like MODBUS.

If you contact me directly I'll send you a document on the serial sensor port. At the back there is a section on working with binary data.

Cheers,
Roger

Good morning Orange, Very strange, the message structure looks very much like MODBUS. If you contact me directly I'll send you a document on the serial sensor port. At the back there is a section on working with binary data. Cheers, Roger
33
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft