![Mipex MIPEX-02 1 Series Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/mipex/mipex-02-1-series/mipex-02-1-series_user-manual_1804820024.webp)
OPTOSENSE LLC
Design Department
USER
MANUAL
SMALL-SIZE EXPLOSIVE GAS MEASURING SENSOR MIPEX-02-
Х-X-X.1 X
File name: ESAT.413347.006 UM v.2.0.docx
Revision 2.0 27 August 2015
Page. 24 of 38
THE SOLE PROPERTY OF OPTOSENSE LLC.
ANY REPRODUCTION
WITHOUT THE WRITTEN PERMISSION OF OPTOSENSE LLC IS PROHIBITED.
Appendix C. UART communication protocol.
Firmware
release 25.6
C.1.
General information
Sensor
communication protocol provides data exchange based on “Request-Response”
principle.
Sensor has fix 9600 baud rate
Electrical parameters of UART-transceiver are pointed in 5.2.3.
Data format: 8-bit message, 1 stop bit, no parity.
Frame format (if other is not specified):
-
the symbols of commands are in ASCII,
-
carriage return (CR) symbol must be after each command,
-
all symbols in the commands must be sent in one word. Delay between symbols are not
more than 40 ms.
The words of the response are separated with a tabulation symbol (09h) or space symbol
(20h) (specified below for every command). For some commands request is not intended to
answer according to following protocol. Sensor returns confirmation or rejection of command.
Request on correct command with correct data returns command name with
OK
separated by
(09h) or (20h). Request on correct command with wrong data returns command name with
FAULT
separated by (09h) or (20h). There is no reaction on wrong command.
C.2.
Work modes
There are two modes of sensor
’s work –
OEM
and
USER
.
OEM
mode is intended to display
information and make calibrations and setup.
USER
mode is intended to display information only.
Calibration in
USER
mode is unavailable.
Send command
UART?
to check current sensor mode (see Table 10).
C.3.
Protocol commands
C.3.1. Operating commands
Data request commands are the basic sensor functionality and contained various
combinations of parameters, such as concentration, temperature, sensor condition and status. The
shortest command of the protocol is
@
. It includes the gas concentration only. The most detailed
request is
F
, which contains a data, calculated during the sensor operating.
Detailed information about the operating commands is shown in Table 6.
Always check the command syntax before sending. The commands, other than
specified in user manual are not allowed. Otherwise it might bring to malfunction of
the sensor.
In earlier firmware versions some commands/modes are not available.