12.15.5
Selecting the Scaling Range for the Analog Output
ANALOGSCALERANGE <limit 1> <limit 2>
Sets the upper and lower scaling values for the analog output. The unit is mm.
<limit 1> = (-2147.0 ... 2147.0) [mm], must not be the same as <limit 2>.
●
<limit 2> = (-2147.0 ... 2147.0) [mm], must not be the same as <limit 1>.
●
12.16
Measurement Data Format
12.16.1
Transmission of Measurement Data to a Measured Value Server via Ethernet
When measured value data are transmitted to a measured value server, the sensor/controller sends each measured val
ue to the measured value server or to the connected client after the connection (TCP or UDP) has been successfully es
tablished. No specific request is required for this.
All distances and additional information intended for transmission that were captured at a certain time are consolidated
into a measured value frame. Several measured value frames are consolidated into a measured value block. This block is
provided with a header and fits inside a TCP/IP or UDP/IP packet. It is absolutely essential for the header to be located at
the beginning of a UDP or TCP packet. In the event of changes to the transmitted data or the frame rate, a new header is
sent automatically.
All measurement data and the header are transmitted in little-endian format.
The same header structure is used for transferring video and measurement data and includes the following:
Preamble (32 bits)
●
Article number (32°bits)
●
Serial number (32°bits)
●
Length of video data (32 bits)
●
Length of measurement data (32 bits)
●
Number of frames (32 bits)
●
Counter (32 bits)
●
Header entry
Preamble
Article number
Serial number
Length of video data
Length of measurement data
Number of frames
Counter
Fig. 12.1: Details of a header
Each data packet contains at least one measurement data frame and usually contains several.
Each measurement data frame includes one or more signals. The content of a measurement data frame can be set using
the OUT_ETH command. The structure of a measured value frame can be queried via GETOUTINFO_ETH.
Each pixel of the video signal is represented by a 16-bit word. The value range used is 0 ... 4095.
The measured values are represented as a 32-bit signed integer with a resolution of 10 nm.
optoCONTROL 2700
Description
uint32_t - 0x41544144 "DATA"
[bytes]
[bytes]
Number of frames covered by this header. In the case of video output, the field for
the number of measurement data frames is set to one in the packet.
Number of frames covered by this header. In the case of video output, the field for
the number of measurement data frames is set to one in the packet.
ASCII Communication
Seite 99
Need help?
Do you have a question about the optoCONTROL 2700 and is the answer not in the manual?