A 3.5.1.2 Measurement Frame; A 3.5.1.3 Example; A 3.5.1.4 Error Codes Ethernet Interface; A 3.5.2 Ethernet Fft Signal Transmission - MICRO-EPSILON interferoMETER Operating Instructions Manual

Table of Contents

Advertisement

Appendix | ASCII Communication with Controller
A 3.5.1.2
Measurement Frame
A data packet typically contains one or more measurement data frames.
A measurement data frame comprises one or more signals. The content of a measurement data frame can be set using
the out_eth command. getoutinfo_eth queries the structure of a measurement frame.
out_eth
Signal designation
Parameter
01ABS
Magnitude signal
01SHUTTER
Exposure time channel 1
01ENCODER1 Encoder 1 channel 1
01ENCODER2 Encoder 2 channel 1
01PEAK01
Distance or thickness value
MEASRATE
Sample rate
TIMESTAMP
Time stamp
COUNTER
Measurement frame counter
STATE
State word
A 3.5.1.3
Example
The example below outputs the exposure time, measured value and the associated time stamp.
- Set the signals with OUT_ETH:
OUT_ETH 01SHUTTER 01PEAK01 TIMESTAMP
- Query the signal sequence in the measurement frame:
GETOUTINFO_ETH 01PEAK01 01SHUTTER TIMESTAMP
- Start the output:
OUTPUT Ethernet
A 3.5.1.4
Error Codes Ethernet Interface
Within the distance values, see
codes. The following error codes are defined:
Error code
Description
0x7FFFFF04
There is no peak present
0x7FFFFF05
Peak is located in front of the measuring range (MR)
0x7FFFFF06
Peak is located behind of the measuring range (MR)
0x7FFFFF07
Measuring value cannot be calculated
0x7FFFFF08
Measuring value outside presentable area
A 3.5.2
Ethernet FFT Signal Transmission
The FFT signal transmission is effected to a measurement value server via Ethernet analog to the measurement data
transmission, see
Chap. A
This measurement value block can vary also over different TCP/IP or UDP/IP packets depending on the size of the FFT
signal. The preamble for the FFT signals is 0x41544144 "DATA".
Request a FFT signal:
Use the command OUT_ETH.
- OUTPUT ETHERNET: Output via Ethernet
IMS 5x00
Chap. A
3.5.1.2, a range from 0x7FFFFF00 to 0x7FFFFFFF is reserved for error values/
3.5.1.2, except, that only one FFT signal is transmitted in a measurement value block.
Data type/
Scaling
range
512 x uint16_t
-
0 ... 4095
uint32_t
value / 10
10 ... 100000
uint32_t
-
0 ... 2^32-1
uint32_t
-
0 ... 2^32-1
uint32_t
10
0 ... 2^32-1
uint32_t
10*1000 /value
1538 ... 100000
uint32_t
value / 1000000
0 ... 2^32-1
uint32_t
0 ...2 ^32-1
uint32_t
-
0 ... 2 ^32-1
Unit
ADC Digits
µs
Ticks
Ticks
pm
kHz
s
-
Page 109

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the interferoMETER and is the answer not in the manual?

Questions and answers

Table of Contents