Request-response pair specification - PR-33 - PR-33-AC

PR-33-AC User Guide

Document code
Document type
User guide

The following table describes the query messages, i.e. request-response pairs, used for data collection using the Ethernet connection.

Those response keys that are always sent are preceded by an asterisk (*).
Table 1. Request-response pair specification
Specification Description Request ID Request data Response key
NULL message Included in query messages for debugging purposes as it can be used to check whether the server is listening. The message gives a high-level 'ping' functionality. 0x00000000 (none)
  • IP: IP address
  • MAC: Ethernet MAC address
Protocol version Responded to with a value representing the server (refractometer) protocol version. 0x00000001 (none) *Version: integer, the server protocol version (currently 3)
Refractometer information Gives the basic information of the refractometer. 0x00000003 0x00000000: always zero
  • *SensorSerial: string, refractometer serial number
  • *SProcSerial: string, processor card serial number
  • *SensorVersion: string, version number of the refractometer software
Measurement results

Gives the measured and calculated measurement values from the refractometer.

0x00000004 0x00000000: always zero
  • Status: string, refractometer status message
  • PTraw: integer, PT1000 value
  • LED: float, LED value
  • RHsens: float, internal humidity
  • nD: float, calculated nD value
  • CONC: float, final concentration value
  • Tsens: float, internal temperature
  • T: float, process temperature
  • CCD: float, image shadow edge
  • CALC: float, calculated concentration value
  • QF: float, quality factor
  • BGlight: integer, background light