Академический Документы
Профессиональный Документы
Культура Документы
Features : Low Cost Addressable to 14 modules Versitile interface format Two modules can be linked to react like one module Receives packets in ascii and binairy format
The module can understand two groups of packets. Packets in ascii mode can be easely entered using any terminal program. Packets in Binairy format have a header and checksum and have much more features. The module can distinguesh between the packets by looking at bit 7 of the bytes it receives. The module will interpret the packet as binairy if one of the bytes it received has a high in bit 7.
Examples of strings to use: 1234 1.234 123.4 -123 help burp girl boy
The string gets printed on the module after the ENTER has been sended. The module will interpret a max of 5 characters* looking back from the enter, this way corrections can be made before the enter is pressed. The ascii format mode does not have module addressing so all the modules will react to packets in this format. *Look at appendix A for all the characters the module supports.
Header : 0xA# 1 0 1 0 # # # # De header has a fixed nibble and a addressing nibble. The High Nibble contains hexA so that the module can easely detect this is part of a non ascii packet. The Low Nibble contains the addressing number of one of the modules on the communication bus. Where the address hex0 is reserved as broadcast so all modules will act on this packet. So a maximum of 14 different modules can be addressed. Still it is possible to put multiple modules on a identical address. This is only limited by the electrical characteristics of the communication bus. Command # # # # # # # # This byte contains the different command types for the packets
See table XX for a full list. Xorchk # # # # # # # # Checksum over header,Command and data bytes. The starting value of the XOR is fixed on 0x3C.
: : Module address who will listen to Data in High Data Bytes. : Module address who will listen to Data in Low Data Bytes. : New address both Modules will listen to.
*Data packets send to the address indicated in Data 1 must be in BCD format.