MGL Avionics CC V16 User Manual

Page of 13
change the value using the Up and Down commands.
2
This is not currently used. Treat as reserved value.
3
Menu item flips between two states. Use either UP or Down to select the
desired state.
Length of this message field – This field contains the number of bytes in the message 
excluding the STX, DLE,  Message type, length of message and checksum. It works out to 
the number of ASCII characters in the string + 5. It is used by the receiver to count the 
number of bytes until end of message.
Note that the string itself contains as first byte the number of characters in the string (Pascal 
“Shortstring” format).
 
Technical string
This message is sent on condition to convey further information. It is only used during 
technical work using dedicated diagnostics equipment.
02
STX
05
DLE
02
Message type
nn
Number of ASCII characters in string
xx
ASCII characters of string
CKS
Checksum
CAN bus protocol
The CAN bus protocol is a duplication of the information on the RS232 protocol packaged into
suitable CAN message packets. Each packet may contain up to 8 bytes of data.
CAN packets are identified by address in a CAN network. The address scheme used 
conforms to the 11 bit message ID standard CAN protocol as well as to the scheme used with
MGL Avionics CAN bus equipment.
The ID takes the value 0x44n for COM1 and 45n for COM2 where “n” can be a value from 0 
to 15 depending on message type. Setting a V16 to COM1 or COM2 is done via dedicated 
CAN command described in this section.
The MGL addressing scheme uses the upper 7 bits of the ID as device identifier and the lower
4 bits to identify specific functions or message types local to that device.
Messages from the V16
Status message
The status message is split over 3 packets send in order every 100mS or 200mS if the menu 
is active.
For a description on each item please refer to the text in the RS232 protocol related to the 
status message.