Digi 9XCite-PKG Manuál Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 39
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
9XCitePKGR™RS232/485RFModemProductManualv2.1[2007.01.04]
©2007MaxStream,Inc. 34
Table501. BitwiseANDTruth
For example:Hexadecimal: 0x03 & 0x09 = 0x01
The Address Mask can be used as an additional method of facilitating communications between
modems. The Address Mask can be set to one of 65535 possible values using MK (Address Mask)
Command. The default value of the MK Parameter is 0xFFFF.
All transmitted data packets contain the Destination Address of the transmitting modem. When a
transmitted packet is received by a modem, the Destination Address of the transmitter (contained
in the packet) is logically "ANDed" (bitwise) with the Address Mask of the Receiver. If the resulting
value matches the Destination Address of the Receiver, or if it matches the Receiver Address Mask,
the packet is accepted. Otherwise, the packet is discarded.
Note:When performing this comparison, any "0" values in the Receiver Address Mask are treated as
irrelevant and are ignored.
Bit-wise AND Operation ("&")
Operand 1 & Operand 2 = Result
000
010
100
111
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39

Komentáře k této Příručce

Žádné komentáře