Page 64
Operation
CSP2008
5.7.2 Measured Values Data Format, Measured Value Frame
All, maximum six, measured values to be output at the same time, are included in a
frame. Before each frame, there is a small header with a measured value counter in order
to be able to detect missing measured values within a packet.
Preamble (16 bits)
Counter (8 bits)
Frame size (8 bits)
Timestamp (32 bits)
1stStatus (16 bits)
1stError value (16 bits)
1stMeasured value (32 bits)
…
6thStatus (16 bits)
6thError value (16 bits)
6thMeasured value (32 bits)
Fig. 52 Measured values data format
Field
Description
Preamble
Preamble for recognition of the header = 0xa5a5
Counter
Numeric value which is incremented with each measu-
ring cycle
Frame size
Quantity of 4 byte words in a frame, incl. header
Timestamp
32 bits, only if timestamp was enabled.
Status
Information about the validity of the measured value or
the origin of the error. Bit 0 and Bit 1.
00 > no errors
01 > Error in the sensor
10 > Calculation error in the controller
Error value
Error code of the sensor or the controller
Measured value
Measured value with resolution of 1 nm as signed
integer. The measured value can be converted to mil-
limetres by multiplying by 0.000001.
Fig. 53 Entries in the measured value frame
In the case of a sensor error (Error_Bits = Bit 0 and Bit 1), the error value remains unde-
fined if the original sensor error is simply passed through.
In the case of an error in the Universal Controller, the error value is broken down as fol-
lows:
Bit 15---------Bit 12
Bit 11----------Bit 0
Error_Source [3..0]
Error_Code [11..0]
The Error_Source shows the source of the
error in the Universal Controller.
The Error_Code is freely coded for each
error source. It describes the errors which
can occur in the data preprocessing
(measured value acquisition / scaling)
and in the internal data routing (measured
value output / scaling).
Error_Source [4 bits]
Error_Code [12 bits]
Binary code Meaning
Hex code
Meaning
0001
Measured value acquisition /
scaling
0x001
Scaling error: Underflow
0010
Measured value output / scal-
ing
0x002
Scaling error: Overflow
1000
Error during calculation
---
---
Fig. 54 Error values in the Universal Controller
Содержание CSP2008
Страница 1: ...CSP2008 Instruction Manual Channel 1 in mm 14 452...
Страница 79: ......