MICRO-EPSILON C-Box/2A Operating Instructions Manual page 79

Hide thumbs Also See for C-Box/2A:
Table of Contents

Advertisement

Appendix | ASCII Communication with Sensor
With the Ethernet transmission a header and then a sequence of data frames is transmitted with each pack-
age.
The header consists of:
- Preamble (32 bits): MEAS
- Order number (32 bits)
- Serial number (32 bits)
- Flags1 (32 bits), see
- Flags2 (32 bits), see
- Bytes per frame (16 bits) / Number of frames in the package (16 bits)
- Frame counter (32 bits)
The data frames in the package is always complete (No frame can be distributed on several packages). Each
frame consists of his selected measured values (up to 12). Each measured value has again 32 bits.
The valid ranges for sensor and C-Box/2A values are as follows:
- Via RS422/USB:
- Via TCP/IP (Ethernet):
C-Box/2A
Fig. 43
Fig.
44, momentarily without function
ƒ Sensor measured values and additional values depending on sensor, see also instruction manual
optoNCDT 1750 and optoNCDT 2300.
ƒ C-Box measured values from 0 .. 131071, from 262073 ... 262143 (18 bits) error values
ƒ C-Box Counter von 0 .. 262143 (18 bits)
ƒ C-Box Timestamp von 0 .. 262143 (18 bits)
ƒ C-Box Digital von 0 .. 262143 (18 bits)
ƒ Sensor measured values and additional values depending on the sensor, see also instruction manual
optoNCDT 1750 and optoNCDT 2300.
ƒ However, an additional Hi Byte (0x00) is transmitted to comply with 32 bits.
ƒ C-Box measured values from INT_MIN (-2147483648) to INT_MAX (2147483647)-11, INT_MAX-10 to
INT_MAX are error values
ƒ C-Box Counter von INT_MIN bis INT_MAX
ƒ C-Box Timestamp von INT_MIN bis INT_MAX
ƒ C-Box Digital von INT_MIN bis INT_MAX
Page 79

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C-Box/2A and is the answer not in the manual?

Questions and answers

Table of Contents