Page 41
Appendix | Measurement Data Format
colorCONTROL MFA-7/-14/-21/-28
A 5
Measurement Data Format
Each value is transmitted in 3 data bytes (color or additional value) with 18 useful bits each.
Conversion is required to output measured values in the various color spaces via RS422. Other values, such as time-
stamp, dominant wavelength, trigger and status data, are transmitted as 18-bit data words. Conversion is not required in
this case.
Measured value 1:
Preamble
Data bits
L-byte
0
0
D5
D4
D3
D2
D1
D0
M-byte
0
1
D11
D10
D9
D8
D7
D6
H-byte
1
0
D17
D16
D15
D14
D13
D12
Measured value 2 ... 168:
Preamble
Data bits
L-byte
0
0
D5
D4
D3
D2
D1
D0
M-byte
0
1
D11
D10
D9
D8
D7
D6
H-byte
1
1
D17
D16
D15
D14
D13
D12
Value range for color measurement:
Color values
0
Error
98232
229304
262072
0
2 MB
The measured values (integers from 0 ... 262143) converted from three bytes are then scaled:
Scaled color temperature [K] = raw color temperature
Scaled wavelength [nm] = raw wavelength
Scaled timestamp [s] = raw timestamp / 1000
Scaled color = (raw color value – offset) / factor
All values larger than 262072 are error values and are defined as follows:
Error code
Description
262073
Scaling error RS422 interface underflow
262074
Scaling error RS422 interface overflow
262075
Data volume too large for selected baud rate
1
262076
No peak is present.
262077
Peak is before measuring range (MR)
262078
Peak is after measuring range (MR)
262079
Measured value cannot be calculated
1) This error occurs when more data is to be output than can be transmitted with the selected baud rate at the selected measuring
frequency. This can be remedied by:
This can be remedied by:
- changing the baud rate
- reducing the measuring frequency
The sequence for a complete data frame (all 168 signals active) is:
Ch01_Color1 Ch01_Color2 Ch01_Color3 Ch01_Temperature Ch01_Wavelength Ch01_Timestamp
Ch02_Color1 Ch02_Color2 Ch02_Color3 Ch02_Temperature Ch02_Wavelength Ch02_Timestamp
…
Ch28_Color1 Ch28_Color2 Ch28_Color3 Ch28_Temperature Ch28_Wavelength Ch28_Timestamp