Thursday 3 May 2012

BACnet School Part II

BACnet School Part I


DUPLICATE MAC ADDRESSES/DEVICE INSTANCE NUMBERS

What would happen if you had two BACnet MSTP devices with different MAC address but the same BACnet Device ID (Node ID) on the same network and you send a Broadcast Who-is message.
This would be an illegal configuration (no two devices shall have the same Device ID) but the rules for address binding say the last one wins. If new information arrives saying "I-AM Device 7? the old information is replaced.

To understand this answer you must know a thing or two about a token ring networks.

Basically a token ring networks works by passing a token around the network, whoever has the token may send message out, and when they are done with the token they pass it on to the next person in line.

For Example:
  • Device A has the MAC address of 0x03
  • Device B has the MAC address of 0x04
  • Device C has the MAC address of 0x05
  • Device A has the token
  • Device A responses to any messages it got since the last time it got the token, then sends any custom messages it may have in queue
  • Device A sends the token to device B
  • Device B has the token
  • Device B responses to any messages it got since the last time it got the token, then sends any custom messages it may have in queue
  • Device B sends the token to device C
  • Device C has the token
  • Device C responses to any messages it got since the last time it got the token, then sends any custom messages it may have in queue
  • Device C has the token but there is no one with a higher MAC address then Device C so Device C sends it's token to Device A
  • Repeat

No comments:

Post a Comment