Page 115
Appendix |ASCII Communication with Controller
confocalDT 24x1
All values greater than 262072 are error values and are defined as follows:
Error code
Description
262073
Scaling error RS422 interface underflow
262074
Scaling errors RS422 interface overflow
262075
Too much data for selected baud rate
1)
262076
There is no peak present.
262077
Peak is located in front of the measuring range (MR)
262078
Peak is located behind the measuring range (MR)
262079
Measuring value cannot be calculated.
The restrictions for all other data outputs except the measurement value data are defined
in the relevant Chapters, see Chap.
.
1)
This error occurs when more data are to be output as with selected baud rate for the selected
measuring can be transmitted. To remove the error, there are the following possibilities:
-
Increase the baud rate, see Chap.
-
Decrease measuring rate, see Chap.
-
Decrease data; if 2 data words have been selected, then reduce to a data word, see
-
Reduce output data rate, see Chap.
A 5.7.2 Measurement Data Transmission to a Measurement Value Server via Eth-
ernet
During the measurement data transmission to a measurement value server the sensor
transmits each measurement value to the measurement value server or to the connected
client after successful connection (TCP or UDP). Therefore no explicit requirement is
necessary.
All distances and additional informations to be transmitted, which were recorded at a
time, are combined to a measurement value frame. Different measurement value frames
are combined to a measurement value block, which contains a header and fits a TCP/IP
or UDP/IP packet. The header is mandatory at the start of a UDP or TCP packet. In case
of changes of the transferred data or the frame rate a new header is automatically sent.
All measurement data and the header are transmitted in the little Endian format.
Preamble (32 bit)
Order number (32 bit)
Serial number (32 bit)
Flags1 (32 bit)
Flags2 (32 bit)
Frame number (16 bit)
Bytes per Frame (16 bit)
Counter (32 bit)
Header input
Description
Preamble
Identify the header
0x4D454153 – Measurement data
0x56494445 – Video data
Order number
Serial number
Flags1
Provide information about the content of the measurement value
frame
Flags2
Provide information about the content of the measurement value
frame inclusive frame rate
Bytes per Frame
Number of bytes, that contains a measurement value frame
Frame number
Number of frames, that cover this header
Counter
Counter on the number of processed measurement values