![MICRO-EPSILON C-Box/2A Скачать руководство пользователя страница 60](http://html.mh-extra.com/html/micro-epsilon/c-box-2a/c-box-2a_operating-instructions-manual_1785309060.webp)
Page 60
Appendix | ASCII Communication with Sensor
C-Box/2A
A 2
ASCII Communication with Sensor
A 2.1
General
The ASCII commands can be sent to the controller via the RS422 interface, USB or Ethernet. All commands,
inputs and error messages are in English. A command always consists of the command name and zero or
more parameters, which are separated by spaces and are completed with CR LF (corresponds \r\n).
The echo is always active, i. e.:
- With a command for setting parameters first the command name and afterwards OK respectively error and
finally the prompt return as answer.
- With a command for reading parameters first the command name and afterwards the parameter value and
finally the prompt return at answer.
- With a command with answer of several lines first the command name and in the next lines the parameters
return as answer.
A 2.2
Data Protocol
All values to be output at the same time are combined for transmission to a frame. A maximum of 12 values/
frames are possible. The measured values are transmitted via TCP/IP with 32 bit and USB with a maximum of
18 data bits
Structure of a measured value frame:
- Sensor 1 Value
- Sensor 1 Intensity
- Sensor 1 Shutter
- Sensor 1 Reflectivity
- Sensor 2 Value
- Sensor 2 Intensity
- Sensor 2 Shutter
- Sensor 2 Reflectivity
- C-Box Value
- C-Box Counter
- C-Box Timestamp
- C-Box Digital
Содержание C-Box/2A
Страница 95: ......