![Comtech Xicom Technology XTD-750K Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/comtech-xicom-technology/xtd-750k/xtd-750k_operation-and-installation-manual_2648551085.webp)
MNC-0500-026
7 of 32
Revision G
Amplifier Communication and Protocol, Rabbit CPU
Example of “Base 95”
Message (“ID/Version” Query): {A0}
1. Take Sum of Message Bytes
‘{‘+’A’+’0’+’}’
123+65+48+125=361
2. Subtract 32
361-32=329
3. Modulus 95
329% 95=44
Table 1-2 Start Byte, End Byte, & Check Byte
Protocol
Packet
Type
Accept/
Reject
Start Byte
End Byte
Check Byte
Ethernet
Terminator
Byte
Printable Message
(ASCII){
(ASCII)}
“Base 95”
13 (CR)
Response Message
Accepted
or
Rejected
{
}
“Base 95”
13 (CR)
Non-
Printable
Message
STX
ETX
Response Message
Accepted
ACK
ETX
“Exclusive OR”
13(CR)
Message
Rejected
NAK
ETX
“Exclusive OR”
13(CR)
Table 1-3 Check Byte Calculation
“Base 95” 1. Take [Sum (all message bytes)]-32=C
2. Then take [Modulus C(“Base95”)]+32=Result
(Printable ASCII character in range 32 to 126)
“Exclusive OR” XOR (all message bytes)=Result (non-
printable byte)
EAR EXPORT CONTROLLED: The information contained in this Manual refers or relates to a product that is subject
to the U.S. Export Administration Regulations (EAR). Transfer of data herein by any means to a Foreign Person,
whether in the U.S. or abroad, may require an export license from the U.S. Department of Commerce.