![MICRO-EPSILON C-Box/2A Скачать руководство пользователя страница 61](http://html.mh-extra.com/html/micro-epsilon/c-box-2a/c-box-2a_operating-instructions-manual_1785309061.webp)
Page 61
Appendix | ASCII Communication with Sensor
C-Box/2A
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)
- Flags2 (32 bits)
momentarily without function
- 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:
Sensor measured values and additional values depending on sensor, see also operating instructions
manual
optoNCDT 1750, optoNCDT 1900 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)
- Via TCP/IP (Ethernet):
Sensor measured values and additional values depending on the sensor, see also operating instructions
optoNCDT 1750, optoNCDT 1900 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
Содержание C-Box/2A
Страница 95: ......