18. May 2021
© Copyright 2020, PROCEQ SA
24
TID:
xy
(mirrored TID of the command string)
Value1:
958
dGU for the angle 20° (corresponds to 95.8 GU)
Offset1:
94
(raw value of the A/D-converter)
Value2
984
dGU for the angle 60° (corresponds to 98.4 GU)
Offset2:
91
(raw value of the A/D-converter)
Value3:
993
dGU for the angle 85° (corresponds to 99.3 GU)
Offset3:
78
(raw value of the A/D-converter)
Count:
1
(this parameter is always
1
!)
isTemp:
0
(measured temperature in °C,
0
if no measurement)
6.5 Error handling
Although the biggest part of the logic is located within the „GlossTools” software, the measuring
head also includes some logic. E.g. it should be checked if a measuring angle really exists
before a command shall be processed.
If not, a certain return string (error) including error code will be sent back to the host.
The error command includes besides the parameter
SerialNo
also an
Error-Code
(in which
function the error has occurred), the
Error Details
(what is the cause of the error) and the
TID
(Transaction ID)
of the failed command:
Error(SerialNo, TID, ErrorCode, ErrorDetails)