![Aventech AIMMS-20 Скачать руководство пользователя страница 34](http://html.mh-extra.com/html/aventech/aimms-20/aimms-20_operating-manual_3028858034.webp)
Rev:
1.00
Date:
11.22.2013
Page:
34 of 40
AIMMS-20
OPERATING MANUAL
Document-P/N:
AIMMS20-OM
© Aventech Research Inc. 2013. All Rights Reserved.
APPENDIX A: AIMMS-20 SERIAL COMMUNICATION FORMAT
A.1 Introduction
The AIMMS-20 offers bi-directional RS-232 communications using a binary packet
format. The default broadcast packet is called the Standard Meteorology Data Packet,
which is output at a user-defined rate up to 20Hz. An optional Aircraft-State Data
Packet is also available, which includes aircraft position, velocity, attitude and aircraft-
relative flow (TAS) vector, each in three dimensions. This packet is also available at a
user-defined output rate. For systems that include pneumatic purge-flow data feedback,
a Purge Flow Data Packet is transmitted at the same rate as the aircraft-state packet,
with flow-rate data refreshed internally at a rate of approximately 12Hz.
A.2 Hardware Configuration
The RS-232 serial interface utilizes only three lines: receive, transmit, and ground. The
default baud rate is 19200. The system operates with no parity, 8 data bits, 1 stop bit.
A.3 Packet Format
Each packet consists of a four-byte header, a data block from 0 to 255 bytes in length,
and a 16-bit checksum.
Byte
Description
1
Start of header = 1
2
Packet ID: 0 for standard met. packet, 1 for aircraft-state packet
3
Bitwise complement of ID (255, 254 respectively) used to further validate
packet frame-lock
4
Number of bytes in data block (N)
5
First byte of data block
5+N
16-bit unsigned checksum, least significant byte
6+N
16-bit unsigned checksum, most significant byte
Note: The checksum includes the leading SOH character but not the two checksum-
bytes themselves.